browserstack-node-sdk 1.63.2 → 1.63.4

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
- const a95_0x1170d5=a95_0x2aaf;function a95_0x1b0a(){const _0x1d28eb=['KHOkD','getTestFrameworks','started_at','KfCPZ','AJFSE','KEY_TEST_RERUN_NAME','eqLDJ','info','KEY_HOOK_FAILURE_REASON','../customTagManager','oExGi','oXCRr','LVsQa','2298veBbbi','passed','vQCyN','DEFAULT_HOOK_RESULT','34460811LUfcRN','GLyfe','tZllV','testUId','KEY_TEST_LOCATION','step','RCgaW','hFECZ','getRef','\x20target=','wqvEM','RttsO','getAllData','hook',',\x20testFrameworkState=','KEY_TEST_ATTACHMENTS','slice','text','1689386bIjoCZ','QhrMu','expectedStatus','length','fixme','dMUvT','addMultipleEntries','trackHookEvent','ubTGF','\x20hookState=','startedAt','MvlNX','failure_type','INIT_TEST','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','10bcGcyd','trackStepEvent','THvPU','logs','trackStepEvent:\x20testId=','KEY_TEST_FAILURE_TYPE','KEY_TEST_STARTED_AT','eVlcc','KEY_TEST_FRAMEWORK_VERSION','KEY_TEST_RESULT','filePath','TEST','fWhZp','filter','wuoHh','setTestDetails','QyZSp','inspect','FHpnP','results','getTestUUID','skip','getTime','IZHfW','createTestFrameworkEventPayload\x20testId:\x20','YryWt','sFXvJ','platformIndex','some','getTestDetails','trackEvent','steps','KEY_TEST_NAME','6745cORIdp','description','POST','knbEo','../../../helpers/test-observability/utils','../../../../src/helpers/helper','Error\x20in\x20createTestFrameworkEventPayload:\x20','getTestFrameworksVersions','KYiHr','resolveInstance','DEFAULT_TEST_RESULT','CALeQ','Error\x20processing\x20direct\x20trace\x20file\x20','../state/hookState.js','\x20steps\x20for\x20testId=','KEY_TEST_ENDED_AT','qTvbo','GgXoh','FFMPY','KEY_EVENT_ENDED_AT','matchHookRegex','TEST_SCREENSHOT','GamgE','browserstackPlatformIndex','4fTHPFM','16168WZBiyp','KEY_TEST_UUID','uJyLy','\x20testState:\x20','\x20\x20and\x20args\x20=\x20','getCurrentTestState','testFrameworkState','Oszra','has','QlXMy','GHlOW','keyword','VJVSE','Hook\x20List\x20in\x20Post\x20','KEY_CUSTOM_TAGS','\x20and\x20args\x20=\x20','testFrameworkVersion','title','No\x20reason\x20provided','./testFramework','trackPlaywrightInstance','../cliUtils.js','get','ATezR','oJChI','set','util','eventJson','getContext','testFrameworkName','Error\x20processing\x20trace\x20file\x20','SjWAt','ooBzA','reAmB','getTrackedInstance','createTestFrameworkEventPayload','../../../helpers/helper.js','../../../helpers/classLogger.js','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','message','slow','error','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_SCOPE','TEST_ATTACHMENT','UwNEj','base64','parseCommaSeparatedValues','logCreatedEvent','\x20testHookState=','path','uuid','stack','KEY_TEST_FAILURE_REASON','pkOtl','../instances/testFrameworkInstance.js','jajqZ','parent_id','PRE','PwkcW','debug','\x20payload=','split','xGCWM','../../utils/constants','../state/testFrameworkState.js','XZLKq','../grpcClient','FezpT','KEY_TEST_FILE_PATH','failed','TlHeN','\x20response=','getCurrentHookState','KEY_TEST_META','basename','AMsYb','parsePlaywrightTest','trim','startTime','sPSgi','2975493XpopPX','timedOut','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','statSync','toISOString','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','Error\x20in\x20sendLogCreatedEvent:\x20','KEY_TEST_RESULT_AT','sendLogCreatedEvent','createContext','retry','forEach','\x20from\x20TestDetails:\x20','KEY_TEST_FRAMEWORK_NAME','ceil','format','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','result','duration','TEST_STEP','1143297BCHLoe','KEY_LOGS','KEY_HOOK_RESULT','BAETq','sendLogCreatedEvent\x20for\x20testId:\x20','../../playwright/reporter/pwUtils','toString','push','NONE','test','KEY_HOOK_LOGS','\x20batch\x20','KEY_HOOK_LAST_STARTED','stringify','hookState','vzKCg','getInstance','1101945UPuXMC','WTnKR','tkMoj','getProcessId','KEY_TEST_ID','KEY_HOOKS_FINISHED','endedAt','Bgqxy','ZZDyB','KEY_HOOK_ID','KEY_TEST_SCOPES','status','errors','SXBzp','sendLogCreatedEvent:\x20testId=','MmJrH','cXDMI','vOYSi','3745GBqSKz','lkTRb','attachments','\x20&\x20hook\x20=\x20','size','bgaLj','getId','instance','\x20step=\x22','KEY_HOOKS_STARTED','KEY_HOOK_FAILURE_TYPE','twmOH','parallelIndex','JpSsm','\x20instanceId=','LbcOg','KEY_TEST_TAGS','trackEvent:\x20found\x20instance,\x20testFrameworkState=','concat','file_name','XvvXA','./constants/testFrameworkConstants.js','parsePlaywrightTestResult','FDohk'];a95_0x1b0a=function(){return _0x1d28eb;};return a95_0x1b0a();}(function(_0x36aef4,_0x193159){const _0x19048f=a95_0x2aaf,_0x5cfd81=_0x36aef4();while(!![]){try{const _0x27dfb9=parseInt(_0x19048f(0x1de))/0x1+-parseInt(_0x19048f(0x11f))/0x2+-parseInt(_0x19048f(0x1b9))/0x3*(parseInt(_0x19048f(0x167))/0x4)+parseInt(_0x19048f(0x14f))/0x5*(-parseInt(_0x19048f(0x109))/0x6)+parseInt(_0x19048f(0x1f0))/0x7*(-parseInt(_0x19048f(0x168))/0x8)+parseInt(_0x19048f(0x1cd))/0x9*(parseInt(_0x19048f(0x12e))/0xa)+parseInt(_0x19048f(0x10d))/0xb;if(_0x27dfb9===_0x193159)break;else _0x5cfd81['push'](_0x5cfd81['shift']());}catch(_0x42c662){_0x5cfd81['push'](_0x5cfd81['shift']());}}}(a95_0x1b0a,0xe2679));const TestFramework=require(a95_0x1170d5(0x17b)),TestFrameworkState=require(a95_0x1170d5(0x1a9)),HookState=require(a95_0x1170d5(0x15c)),{createClassLogger}=require(a95_0x1170d5(0x18d)),TestFrameworkInstance=require(a95_0x1170d5(0x19f)),CLIUtils=require(a95_0x1170d5(0x17d)),TrackedInstance=require('../instances/trackedInstance.js'),TestFrameworkConstants=require(a95_0x1170d5(0x205)),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a95_0x1170d5(0x19b)),util=require(a95_0x1170d5(0x182)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a95_0x1170d5(0x18c)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a95_0x1170d5(0x1ab)),{removeAnsiColors,getFailureType,failureData}=require(a95_0x1170d5(0x153)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a95_0x1170d5(0x1d2)),{findNestedKey,sendTraceZip,validateFilePath}=require(a95_0x1170d5(0x1d2)),path=require(a95_0x1170d5(0x19a)),fs=require('fs'),helper=require(a95_0x1170d5(0x154)),{PLAYWRIGHT_TRACE_LOGS}=require(a95_0x1170d5(0x1a8)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a95_0x1170d5(0x143),a95_0x1170d5(0x123),a95_0x1170d5(0x190),'fail']);function a95_0x2aaf(_0x183ace,_0xe6a959){const _0x1b0a9f=a95_0x1b0a();return a95_0x2aaf=function(_0x2aaf5f,_0x259234){_0x2aaf5f=_0x2aaf5f-0x107;let _0x3da4e6=_0x1b0a9f[_0x2aaf5f];return _0x3da4e6;},a95_0x2aaf(_0x183ace,_0xe6a959);}class PlaywrightTestFramework extends TestFramework{constructor(_0x2717af,_0x161187,_0x380ccf){super(_0x2717af,_0x161187,_0x380ccf);}async[a95_0x1170d5(0x14c)](_0xe4b829,_0x3a4c78,_0x379a96={}){const _0x290e85=a95_0x1170d5,_0x583c57={'AMsYb':function(_0x5976ec,_0x4609c3){return _0x5976ec===_0x4609c3;},'PwkcW':function(_0x342e91,_0x592b01){return _0x342e91===_0x592b01;},'wqvEM':function(_0x1ad2f2,_0x1f6c95){return _0x1ad2f2===_0x1f6c95;},'xGCWM':function(_0x3f98c9,_0x4622cb,_0x2c2c58){return _0x3f98c9(_0x4622cb,_0x2c2c58);},'GHlOW':function(_0x3160c7,_0x5f2660,_0xa93487,_0x2ca7cc){return _0x3160c7(_0x5f2660,_0xa93487,_0x2ca7cc);},'RttsO':_0x290e85(0x1d6),'KHOkD':_0x290e85(0x18e)};super[_0x290e85(0x14c)](_0xe4b829,_0x3a4c78,_0x379a96);if(_0x583c57[_0x290e85(0x1b4)](_0xe4b829,TestFrameworkState[_0x290e85(0x164)])){const _0x55eef3=TestInfo['getTestIdentifierFromTestInfo'](_0x379a96[_0x290e85(0x1d6)],_0x379a96[_0x290e85(0x1d6)]['retry']);TestInfo[_0x290e85(0x13d)](_0x55eef3,_0x379a96['result'],!![]);}if(_0x583c57[_0x290e85(0x1a3)](_0xe4b829,TestFrameworkState[_0x290e85(0x1cc)])){this[_0x290e85(0x12f)](_0xe4b829,_0x3a4c78,_0x379a96);return;}const _0x1f4db4=this[_0x290e85(0x158)](_0xe4b829,_0x3a4c78,_0x379a96);if(!_0x1f4db4)return;logger[_0x290e85(0x1a4)](_0x290e85(0x201)+_0xe4b829+_0x290e85(0x128)+_0x3a4c78+_0x290e85(0x1fe)+_0x1f4db4[_0x290e85(0x115)]());try{if(_0x583c57[_0x290e85(0x1b4)](_0x3a4c78,HookState[_0x290e85(0x1a2)])&&_0x583c57[_0x290e85(0x117)](_0xe4b829,TestFrameworkState[_0x290e85(0x139)])){const _0x4ff79d=_0x379a96[_0x290e85(0x1d6)];logger[_0x290e85(0x1a4)](_0x290e85(0x192)+_0x4ff79d['id']+'}');const _0x4ff552=TestInfo['getTestUUID'](_0x583c57[_0x290e85(0x1a7)](getTestRunIdentifier,_0x4ff79d,_0x379a96[_0x290e85(0x1ca)][_0x290e85(0x1c3)]));_0x1f4db4[_0x290e85(0x125)](this[_0x290e85(0x1b5)](_0x4ff552,_0x4ff79d,_0x379a96['result'])),logger[_0x290e85(0x1a4)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x4ff79d['id']+_0x290e85(0x11b)+_0xe4b829+_0x290e85(0x199)+_0x3a4c78+'\x20instance='+_0x1f4db4[_0x290e85(0x115)]());}if(_0x583c57[_0x290e85(0x1b4)](_0x3a4c78,HookState['POST'])&&_0x583c57[_0x290e85(0x1a3)](_0xe4b829,TestFrameworkState[_0x290e85(0x139)])){const _0x3c0536=_0x379a96[_0x290e85(0x1d6)],_0x25b142=_0x379a96[_0x290e85(0x1ca)];logger[_0x290e85(0x1a4)](_0x290e85(0x1bb)+_0x3c0536['id']);const _0x5ed40b=_0x583c57[_0x290e85(0x1a7)](getTestRunIdentifier,_0x3c0536,_0x25b142[_0x290e85(0x1c3)]),_0x5a6970=_0x1f4db4['getAllData']()[_0x290e85(0x17e)](_0x5ed40b)[TestFrameworkConstants[_0x290e85(0x169)]],{steps:_0x409775,logs:_0x5b6cf9}=_0x583c57[_0x290e85(0x172)](getStepsAndLogs,_0x25b142[_0x290e85(0x14d)],_0x5a6970,_0x583c57[_0x290e85(0x118)]);_0x1f4db4[_0x290e85(0x125)](this[_0x290e85(0x206)](_0x3c0536['id'],_0x25b142,_0x3c0536,_0x409775)),await this[_0x290e85(0x1c1)](_0x1f4db4,_0xe4b829,_0x3a4c78,_0x583c57['RttsO'],_0x379a96,_0x5b6cf9);}if(CLIUtils[_0x290e85(0x163)](_0xe4b829[_0x290e85(0x1d3)]()['split']('.')[0x1])){const _0x2fa9e0=await this[_0x290e85(0x126)](_0x1f4db4,_0xe4b829,_0x3a4c78,_0x379a96);_0x1f4db4[_0x290e85(0x125)](_0x2fa9e0);}}catch(_0x43f095){logger['error'](util[_0x290e85(0x1c8)](_0x583c57[_0x290e85(0x208)],_0xe4b829,_0x3a4c78,_0x379a96['length'],_0x43f095));}_0x379a96[_0x290e85(0x1f7)]=_0x1f4db4,await this['runHooks'](_0x1f4db4,_0xe4b829,_0x3a4c78,_0x379a96);}[a95_0x1170d5(0x158)](_0x45288b,_0x5a22f9,_0x583b04={}){const _0x2806c2=a95_0x1170d5,_0x169b82={};_0x169b82[_0x2806c2(0x207)]=function(_0x4d99aa,_0x5370d6){return _0x4d99aa===_0x5370d6;},_0x169b82['oExGi']=function(_0x520720,_0x40474b){return _0x520720===_0x40474b;};const _0x430c0c=_0x169b82;let _0x3c84dd=null;return(_0x430c0c[_0x2806c2(0x207)](_0x45288b,TestFrameworkState[_0x2806c2(0x12c)])||_0x430c0c[_0x2806c2(0x212)](_0x45288b,TestFrameworkState['NONE']))&&this[_0x2806c2(0x17c)](_0x45288b,_0x583b04),_0x3c84dd=TestFramework[_0x2806c2(0x18a)](),_0x3c84dd;}['trackPlaywrightInstance'](_0x90bf34,_0xd948fd){const _0x1cf87c=a95_0x1170d5,_0x45fe33=CLIUtils['getCurrentInstanceName'](),_0x4a2d35=TrackedInstance[_0x1cf87c(0x1c2)](_0x45fe33);let _0x3f8564=null;logger['info'](_0x1cf87c(0x12d)+_0x45fe33+',\x20state='+_0x90bf34),_0x3f8564=new TestFrameworkInstance(_0x4a2d35,this[_0x1cf87c(0x209)](),this[_0x1cf87c(0x156)](),_0x90bf34,HookState[_0x1cf87c(0x1d5)]),TestFramework['setTrackedInstance'](_0x4a2d35,_0x3f8564),logger[_0x1cf87c(0x20f)](_0x1cf87c(0x1c9)+_0x4a2d35[_0x1cf87c(0x1f6)]()+_0x1cf87c(0x116)+_0x45fe33);}['parsePlaywrightTest'](_0x538db8,_0x8a8422,_0x3e5372){const _0x118575=a95_0x1170d5,_0x40a8e4={'ubTGF':function(_0x448478,_0x10df77){return _0x448478(_0x10df77);},'eVlcc':function(_0x29b270,_0x1abe7f){return _0x29b270(_0x1abe7f);},'hFECZ':function(_0x1d4893,_0x2e2f11){return _0x1d4893(_0x2e2f11);},'sFXvJ':function(_0xb4ff3c,_0x21a4cb){return _0xb4ff3c(_0x21a4cb);},'tZllV':function(_0x35d14c,_0x43c34e){return _0x35d14c(_0x43c34e);},'UrIxS':function(_0x4234af,_0x108e08,_0x21d242){return _0x4234af(_0x108e08,_0x21d242);}},_0x4f446b=_0x40a8e4[_0x118575(0x127)](getPlaywrightTestId,_0x8a8422),_0x2203a2=_0x40a8e4[_0x118575(0x127)](getPlaywrightTestTitle,_0x8a8422),_0x4e65ea=_0x40a8e4[_0x118575(0x135)](getTestTags,_0x8a8422),_0x15c781=_0x40a8e4[_0x118575(0x114)](getPlaywrightTestCode,_0x8a8422),_0x57bd25=_0x40a8e4[_0x118575(0x135)](getPlaywrightTestFilePath,_0x8a8422),_0x14da6f=_0x57bd25,_0x53fac7=_0x40a8e4[_0x118575(0x127)](getPlaywrightTestScope,_0x8a8422),_0x1e3d18=_0x40a8e4[_0x118575(0x148)](getPlaywrightTestScopes,_0x8a8422),_0x8d8e51=_0x40a8e4[_0x118575(0x10f)](getPlaywrightSessionName,_0x8a8422),_0x565c9f=this[_0x118575(0x209)]()[0x0],_0x15a6b8=_0x40a8e4['UrIxS'](getTestRunIdentifier,_0x8a8422,_0x3e5372['retry']),_0x318459={[TestFrameworkConstants[_0x118575(0x1c6)]]:_0x565c9f,[TestFrameworkConstants[_0x118575(0x136)]]:this[_0x118575(0x156)]()[_0x565c9f],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x118575(0x1e3)]]:{},[TestFrameworkConstants[_0x118575(0x1f9)]]:{},[TestFrameworkConstants[_0x118575(0x169)]]:_0x538db8,[TestFrameworkConstants[_0x118575(0x137)]]:TestFrameworkConstants[_0x118575(0x159)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x8d8e51,[TestFrameworkConstants[_0x118575(0x1ad)]]:_0x57bd25,[TestFrameworkConstants[_0x118575(0x1e2)]]:_0x4f446b,[TestFrameworkConstants[_0x118575(0x14e)]]:_0x2203a2,[TestFrameworkConstants[_0x118575(0x111)]]:_0x14da6f,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x15c781,[TestFrameworkConstants[_0x118575(0x200)]]:_0x4e65ea,[TestFrameworkConstants[_0x118575(0x134)]]:_0x8a8422[_0x118575(0x141)][0x0][_0x118575(0x1b7)],[TestFrameworkConstants[_0x118575(0x193)]]:_0x53fac7,[TestFrameworkConstants[_0x118575(0x1e8)]]:_0x1e3d18,[TestFrameworkConstants[_0x118575(0x20d)]]:_0x40a8e4[_0x118575(0x10f)](getPlaywrightCustomRerunParam,_0x8a8422)};TestInfo['setTestDetails'](_0x15a6b8,_0x318459);const _0x281e32={};return _0x281e32[_0x15a6b8]=_0x318459,_0x281e32;}[a95_0x1170d5(0x206)](_0x4c8b8c,_0x18a1a1,_0x1a59b9,_0x316b1f){const _0x24e7f5=a95_0x1170d5,_0x365c4c={'xEjkj':function(_0x19e49a,_0x5d80eb){return _0x19e49a(_0x5d80eb);},'JpSsm':_0x24e7f5(0x194),'lkTRb':function(_0x42011b,_0x3ce411){return _0x42011b===_0x3ce411;},'GamgE':function(_0x2856e1,_0x1df56e){return _0x2856e1===_0x1df56e;},'Oszra':function(_0x412e0f,_0x225be1){return _0x412e0f(_0x225be1);},'IRbGm':_0x24e7f5(0x17a),'twmOH':function(_0x15a8b7,_0x482c50){return _0x15a8b7(_0x482c50);},'reAmB':function(_0x59a4f0,_0x3db89c,_0x218499){return _0x59a4f0(_0x3db89c,_0x218499);},'SXBzp':function(_0x40ef86,_0x3f22a4){return _0x40ef86===_0x3f22a4;},'IZHfW':'skipped','ZZDyB':_0x24e7f5(0x10a),'THvPU':'failed','KYiHr':_0x24e7f5(0x1ba),'uJyLy':function(_0x12f534,_0x18e327){return _0x12f534===_0x18e327;},'AJFSE':function(_0x54517b,_0x50df1a){return _0x54517b===_0x50df1a;},'RCgaW':'Expected\x20to\x20fail,\x20but\x20passed.','jXWaf':function(_0x275eee,_0x3ab441){return _0x275eee||_0x3ab441;},'cXDMI':function(_0x1290f0,_0x4f6300){return _0x1290f0(_0x4f6300);},'knbEo':function(_0xf0ce60,_0x337a17){return _0xf0ce60(_0x337a17);},'oXCRr':function(_0x155f9c,_0x1d77fb){return _0x155f9c>_0x1d77fb;},'XZLKq':function(_0x5ac332,_0x463cfa){return _0x5ac332-_0x463cfa;},'MmJrH':function(_0x1646d7,_0x54db03,_0x587ceb,_0x361ea1){return _0x1646d7(_0x54db03,_0x587ceb,_0x361ea1);},'XvvXA':_0x24e7f5(0x1d6),'ATezR':function(_0x288db0,_0x3abfe0){return _0x288db0===_0x3abfe0;},'WTnKR':function(_0x444f26,_0x310b66){return _0x444f26>=_0x310b66;},'vpidQ':function(_0x5a90c4,_0x57882b){return _0x5a90c4+_0x57882b;},'qTvbo':'path','QlXMy':function(_0x26f17b,_0x15d3f3){return _0x26f17b(_0x15d3f3);},'jajqZ':function(_0x3972ff,_0x288254){return _0x3972ff>_0x288254;},'CALeQ':function(_0x25b7ef,_0x19b88e){return _0x25b7ef>_0x19b88e;},'Zedqg':function(_0x5c0148,_0x7a1301){return _0x5c0148(_0x7a1301);},'vOYSi':_0x24e7f5(0x211)};logger[_0x24e7f5(0x1a4)]('parsePlaywrightTestResult:\x20testId='+_0x4c8b8c);const _0x540fcc=_0x365c4c[_0x24e7f5(0x189)](getTestRunIdentifier,_0x1a59b9,_0x18a1a1[_0x24e7f5(0x1c3)]),_0x44c945=new Date(),_0x32ba31=_0x18a1a1[_0x24e7f5(0x1e9)],_0x1dd219=TestInfo[_0x24e7f5(0x14b)](_0x540fcc)[TestFrameworkConstants[_0x24e7f5(0x176)]]||{};let _0x284566=_0x32ba31;if(_0x365c4c[_0x24e7f5(0x1eb)](_0x18a1a1[_0x24e7f5(0x1e9)],_0x1a59b9[_0x24e7f5(0x121)]))_0x284566=_0x365c4c[_0x24e7f5(0x165)](_0x18a1a1[_0x24e7f5(0x1e9)],_0x365c4c[_0x24e7f5(0x145)])?_0x365c4c[_0x24e7f5(0x145)]:_0x365c4c[_0x24e7f5(0x1e6)];else{(_0x365c4c[_0x24e7f5(0x1eb)](_0x284566,_0x365c4c[_0x24e7f5(0x1e6)])||_0x365c4c['SXBzp'](_0x284566,_0x365c4c[_0x24e7f5(0x130)])||_0x365c4c[_0x24e7f5(0x1f1)](_0x284566,_0x365c4c[_0x24e7f5(0x157)]))&&(_0x284566=_0x365c4c['THvPU']);if(_0x365c4c[_0x24e7f5(0x16a)](_0x18a1a1['status'],_0x365c4c[_0x24e7f5(0x1e6)])&&_0x365c4c[_0x24e7f5(0x20c)](_0x1a59b9[_0x24e7f5(0x121)],_0x365c4c[_0x24e7f5(0x130)])){const _0x4cca99={};_0x4cca99[_0x24e7f5(0x18f)]=_0x365c4c['RCgaW'],_0x4cca99[_0x24e7f5(0x19c)]=_0x365c4c[_0x24e7f5(0x113)],_0x18a1a1[_0x24e7f5(0x191)]=_0x4cca99,_0x18a1a1[_0x24e7f5(0x1ea)]=[_0x18a1a1[_0x24e7f5(0x191)]];}}const {failureData:_0x3afc96,logs:_0x2338db}=_0x365c4c['reAmB'](getFailureData,_0x18a1a1?.[_0x24e7f5(0x1ea)],{}),_0x5c533a={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x365c4c['jXWaf'](_0x3afc96,null),[TestFrameworkConstants[_0x24e7f5(0x133)]]:_0x18a1a1?.[_0x24e7f5(0x191)]&&_0x365c4c[_0x24e7f5(0x1ee)](getFailureType,_0x18a1a1[_0x24e7f5(0x191)][_0x24e7f5(0x18f)]),[TestFrameworkConstants[_0x24e7f5(0x19d)]]:_0x18a1a1?.[_0x24e7f5(0x191)]&&_0x365c4c[_0x24e7f5(0x152)](removeAnsiColors,_0x18a1a1[_0x24e7f5(0x191)]['message']),[TestFrameworkConstants[_0x24e7f5(0x1ce)]]:[],[TestFrameworkConstants[_0x24e7f5(0x137)]]:_0x284566,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x44c945['toISOString'](),[TestFrameworkConstants[_0x24e7f5(0x1c0)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x1dd219};if(_0x18a1a1&&_0x365c4c[_0x24e7f5(0x107)](_0x18a1a1['retry'],0x0)){const _0x47d47d=TestInfo[_0x24e7f5(0x142)](_0x365c4c[_0x24e7f5(0x189)](getTestRunIdentifier,_0x1a59b9,_0x365c4c[_0x24e7f5(0x1aa)](_0x18a1a1[_0x24e7f5(0x1c3)],0x1)));_0x5c533a[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x47d47d;}const _0x5a5b73={};_0x5a5b73[_0x24e7f5(0x1d6)]=_0x1a59b9;const _0x1362ec=this[_0x24e7f5(0x158)](TestFrameworkState[_0x24e7f5(0x139)],HookState[_0x24e7f5(0x151)],_0x5a5b73),_0x65a1ab=_0x1362ec[_0x24e7f5(0x119)]()[_0x24e7f5(0x17e)](_0x540fcc)[TestFrameworkConstants['KEY_TEST_UUID']],_0x3f710f=_0x316b1f||_0x365c4c[_0x24e7f5(0x1ed)](getStepsAndLogs,_0x18a1a1[_0x24e7f5(0x14d)],_0x65a1ab,_0x365c4c[_0x24e7f5(0x204)])[_0x24e7f5(0x14d)],_0xba902f=new Map(),_0x24c14e=new Map();let _0x101555=0x0;const _0x47b2bc=[];for(const _0xde36ea of _0x3f710f||[]){const _0x3c6667=_0xde36ea[_0x24e7f5(0x1a1)]||null;let _0x17fe7e;if(_0x365c4c[_0x24e7f5(0x17f)](_0x3c6667,null)){if(_0x365c4c[_0x24e7f5(0x1df)](_0x101555,TestFrameworkConstants['MAX_TOP_LEVEL_STEPS']))continue;_0x17fe7e=0x0,_0x101555++;}else{const _0x505126=_0xba902f[_0x24e7f5(0x17e)](_0x3c6667);if(_0x365c4c[_0x24e7f5(0x1f1)](_0x505126,undefined))continue;_0x17fe7e=_0x365c4c['vpidQ'](_0x505126,0x1);if(_0x365c4c[_0x24e7f5(0x107)](_0x17fe7e,TestFrameworkConstants['MAX_NESTED_STEP_DEPTH']))continue;}_0xba902f[_0x24e7f5(0x181)](_0xde36ea['id'],_0x17fe7e),_0x24c14e[_0x24e7f5(0x181)](_0xde36ea['id'],_0xde36ea[_0x24e7f5(0x11e)]),_0x47b2bc[_0x24e7f5(0x1d4)]({'id':_0xde36ea['id'],'parent_id':_0x3c6667,'parent_text':_0x3c6667?_0x24c14e[_0x24e7f5(0x17e)](_0x3c6667)||'':'','text':_0xde36ea[_0x24e7f5(0x11e)],'keyword':_0xde36ea[_0x24e7f5(0x173)]||null,'started_at':_0xde36ea[_0x24e7f5(0x20a)],'duration':_0xde36ea[_0x24e7f5(0x1cb)]??null,'result':_0xde36ea['result'],'failure':_0xde36ea['failure']||null,'failure_type':_0xde36ea[_0x24e7f5(0x12b)]||null});}const _0x41b7be={};_0x41b7be[_0x24e7f5(0x14d)]=_0x47b2bc,_0x5c533a[TestFrameworkConstants[_0x24e7f5(0x1b2)]]=_0x41b7be,logger[_0x24e7f5(0x1a4)]('parsePlaywrightTestResult:\x20extracted\x20'+_0x47b2bc[_0x24e7f5(0x122)]+_0x24e7f5(0x15d)+_0x4c8b8c);const _0x50e9d6=[],_0x1d3abc=_0x365c4c[_0x24e7f5(0x189)](findNestedKey,_0x18a1a1,_0x365c4c[_0x24e7f5(0x15f)]);if(_0x1d3abc&&_0x365c4c[_0x24e7f5(0x171)](validateFilePath,_0x1d3abc))try{_0x50e9d6[_0x24e7f5(0x1d4)]({'kind':_0x365c4c[_0x24e7f5(0x1fd)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x65a1ab,'file_name':path['basename'](_0x1d3abc),'file_size':fs[_0x24e7f5(0x1bc)](_0x1d3abc)[_0x24e7f5(0x1f4)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5154d3){logger[_0x24e7f5(0x191)](_0x24e7f5(0x15b)+_0x1d3abc+':\x20'+_0x5154d3[_0x24e7f5(0x18f)]);}const _0x1692f9=TestInfo['getTraceFilePaths'](),_0x39a669=_0x1692f9[_0x24e7f5(0x13b)](_0x13c679=>_0x13c679[_0x24e7f5(0x110)]===_0x65a1ab);_0x39a669[_0x24e7f5(0x1c4)](_0x49d8ea=>{const _0x438100=_0x24e7f5;if(_0x49d8ea['filePath']&&_0x365c4c['xEjkj'](validateFilePath,_0x49d8ea[_0x438100(0x138)])&&!_0x50e9d6[_0x438100(0x14a)](_0x45d6f7=>_0x45d6f7[_0x438100(0x203)]===path[_0x438100(0x1b3)](_0x49d8ea[_0x438100(0x138)])))try{_0x50e9d6[_0x438100(0x1d4)]({'kind':_0x365c4c[_0x438100(0x1fd)],'timestamp':new Date()[_0x438100(0x1bd)](),'test_run_uuid':_0x65a1ab,'file_name':path[_0x438100(0x1b3)](_0x49d8ea[_0x438100(0x138)]),'file_size':fs[_0x438100(0x1bc)](_0x49d8ea[_0x438100(0x138)])[_0x438100(0x1f4)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x2c70d9){logger['error'](_0x438100(0x186)+_0x49d8ea[_0x438100(0x138)]+_0x438100(0x1c5)+_0x2c70d9['message']);}});if(_0x365c4c[_0x24e7f5(0x1a0)](_0x50e9d6[_0x24e7f5(0x122)],0x0)){const _0x4db6f6=_0x5c533a[TestFrameworkConstants[_0x24e7f5(0x1ce)]]||[];_0x5c533a[TestFrameworkConstants[_0x24e7f5(0x1ce)]]=[..._0x4db6f6,..._0x50e9d6];}const _0x5e40b9=TestInfo[_0x24e7f5(0x14b)](_0x540fcc)[TestFrameworkConstants[_0x24e7f5(0x11c)]]||{},_0x45be4f=_0x365c4c[_0x24e7f5(0x189)](getManualUploadLogs,_0x5e40b9,_0x1362ec[_0x24e7f5(0x119)]()[_0x24e7f5(0x17e)](_0x540fcc)[TestFrameworkConstants[_0x24e7f5(0x169)]]);if(_0x365c4c[_0x24e7f5(0x15a)](_0x45be4f[_0x24e7f5(0x122)],0x0)){const _0x56e5db=_0x5c533a[TestFrameworkConstants[_0x24e7f5(0x1ce)]]||[];_0x5c533a[TestFrameworkConstants[_0x24e7f5(0x1ce)]]=[..._0x56e5db,..._0x45be4f];}const _0x4ef557=_0x1a59b9['annotations']||[],_0x3fe511=_0x5c533a[TestFrameworkConstants[_0x24e7f5(0x176)]]||{},_0x59dd2c=_0x365c4c['Zedqg'](require,_0x365c4c[_0x24e7f5(0x1ef)]);_0x4ef557[_0x24e7f5(0x1c4)](_0x2e4f69=>{const _0x43f4be=_0x24e7f5,{type:_0x4eca8e}=_0x2e4f69;let _0x4722a1=_0x2e4f69[_0x43f4be(0x150)];if(!_0x4eca8e)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x43f4be(0x170)](_0x4eca8e))return;(_0x365c4c['lkTRb'](_0x4722a1,undefined)||_0x365c4c['lkTRb'](_0x4722a1,null)||_0x365c4c[_0x43f4be(0x165)](_0x365c4c[_0x43f4be(0x16f)](String,_0x4722a1)[_0x43f4be(0x1b6)](),''))&&(_0x4722a1=_0x365c4c['IRbGm']);const _0x122607=helper[_0x43f4be(0x197)](_0x365c4c[_0x43f4be(0x1fb)](String,_0x4722a1));_0x59dd2c['mergeIntoTags'](_0x3fe511,_0x4eca8e,_0x122607);}),_0x5c533a[TestFrameworkConstants[_0x24e7f5(0x176)]]=_0x3fe511,TestInfo[_0x24e7f5(0x13d)](_0x540fcc,_0x5c533a);const _0x426456={};return _0x426456[_0x540fcc]=_0x5c533a,_0x426456;}[a95_0x1170d5(0x12f)](_0x4800f5,_0x5611ff,_0x146676){const _0x59ba5a=a95_0x1170d5,_0x3c076d={'fWhZp':function(_0x48fc02,_0x56ffcd){return _0x48fc02||_0x56ffcd;},'dMUvT':function(_0x2f248a,_0x4d86d4,_0x17bebc){return _0x2f248a(_0x4d86d4,_0x17bebc);}};try{const {test:_0x5194e5,result:_0x7396e1,step:_0x501e49}=_0x146676;if(_0x3c076d[_0x59ba5a(0x13a)](!_0x5194e5,!_0x501e49)||!_0x7396e1)return;const _0x4e3d57=_0x3c076d[_0x59ba5a(0x124)](getTestRunIdentifier,_0x5194e5,_0x7396e1[_0x59ba5a(0x1c3)]);logger['debug'](_0x59ba5a(0x132)+_0x4e3d57+_0x59ba5a(0x128)+_0x5611ff+_0x59ba5a(0x1f8)+_0x501e49['title']+'\x22');}catch(_0x2403b8){logger['error']('trackStepEvent:\x20exception='+util['format'](_0x2403b8));}}async[a95_0x1170d5(0x126)](_0x126133,_0x552dc9,_0x17867b,_0x30d66f){const _0x1e48ff=a95_0x1170d5,_0x1a0972={'ApapW':function(_0x3c5805,_0x207694,_0x13b009){return _0x3c5805(_0x207694,_0x13b009);},'LbcOg':function(_0x3b61a2,_0x4acbfa){return _0x3b61a2 in _0x4acbfa;},'hGDBc':function(_0x2dbca6,_0x13a52d){return _0x2dbca6 in _0x13a52d;},'pkOtl':function(_0x7431cc,_0x3c4ccb){return _0x7431cc(_0x3c4ccb);},'eqLDJ':function(_0x127656,_0x4fc998){return _0x127656===_0x4fc998;},'bgaLj':function(_0x41a9d9){return _0x41a9d9();},'Bgqxy':function(_0x597e69,_0xf1cfb){return _0x597e69===_0xf1cfb;},'KfCPZ':function(_0x5aac44,_0x56be11){return _0x5aac44>_0x56be11;},'GgXoh':'err','iQMDP':function(_0x19495b,_0x29010c){return _0x19495b(_0x29010c);},'JLaTw':function(_0x43bc0c,_0x38ffc8){return _0x43bc0c(_0x38ffc8);},'TlHeN':_0x1e48ff(0x1ae),'FHpnP':_0x1e48ff(0x10a),'vQCyN':function(_0x6c65de,_0x33bdf3){return _0x6c65de!==_0x33bdf3;},'LVsQa':function(_0xc613ae,_0x576e40){return _0xc613ae+_0x576e40;},'tkMoj':_0x1e48ff(0x11a)},_0x19a487=_0x30d66f[_0x1e48ff(0x1d6)],_0x17e7ca=_0x30d66f[_0x1e48ff(0x112)],_0x54e9d0=_0x1a0972['ApapW'](getTestRunIdentifier,_0x19a487,_0x30d66f[_0x1e48ff(0x1ca)][_0x1e48ff(0x1c3)]),_0x385ceb=_0x552dc9[_0x1e48ff(0x1d3)]()['split']('.')[0x1];let _0x2aaeb9=_0x126133[_0x1e48ff(0x119)]()[_0x1e48ff(0x17e)](_0x54e9d0)[TestFrameworkConstants[_0x1e48ff(0x1f9)]];!_0x2aaeb9&&(_0x2aaeb9={});!_0x1a0972[_0x1e48ff(0x1ff)](_0x385ceb,_0x2aaeb9)&&(_0x2aaeb9[_0x385ceb]=[]);let _0x102342=_0x126133[_0x1e48ff(0x119)]()[_0x1e48ff(0x17e)](_0x54e9d0)[TestFrameworkConstants[_0x1e48ff(0x1e3)]];!_0x102342&&(_0x102342={});!_0x1a0972['hGDBc'](_0x385ceb,_0x102342)&&(_0x102342[_0x385ceb]=[]);const _0x16132e={[TestFrameworkConstants[_0x1e48ff(0x1f9)]]:_0x2aaeb9,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x102342},_0x17f38a={};_0x17f38a[_0x54e9d0]=_0x16132e;const _0x19e6ed=_0x17f38a,_0x4f1b28=_0x1a0972[_0x1e48ff(0x19e)](getPlaywrightTestFilePath,_0x19a487),_0x2b9c57=_0x4f1b28,_0x4c83a4=TestInfo[_0x1e48ff(0x14b)](_0x54e9d0)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x1a0972[_0x1e48ff(0x20e)](_0x17867b,HookState[_0x1e48ff(0x1a2)])){const _0x3ef55d={'key':_0x385ceb,[TestFrameworkConstants[_0x1e48ff(0x1e7)]]:_0x1a0972[_0x1e48ff(0x1f5)](uuidv4),[TestFrameworkConstants[_0x1e48ff(0x1cf)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x17e7ca[_0x1e48ff(0x1b7)],[TestFrameworkConstants[_0x1e48ff(0x1d7)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x17e7ca[_0x1e48ff(0x179)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x4f1b28,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x2b9c57,[TestFrameworkConstants[_0x1e48ff(0x176)]]:_0x4c83a4};_0x2aaeb9[_0x385ceb]['push'](_0x3ef55d),_0x19e6ed[_0x54e9d0][TestFrameworkConstants[_0x1e48ff(0x1d9)]]=_0x385ceb,logger[_0x1e48ff(0x1a4)](_0x1e48ff(0x1be)+_0x385ceb+_0x1e48ff(0x1f3)+_0x3ef55d+_0x1e48ff(0x16c)+_0x30d66f);}else{if(_0x1a0972[_0x1e48ff(0x1e5)](_0x17867b,HookState['POST'])){const _0x1122e1=await _0x30d66f[_0x1e48ff(0x1ca)],_0x293746=_0x2aaeb9[_0x385ceb]||[],_0x435078=_0x30d66f[_0x1e48ff(0x112)];logger[_0x1e48ff(0x1a4)](_0x1e48ff(0x175)+_0x293746+_0x1e48ff(0x177)+_0x30d66f);if(_0x1a0972[_0x1e48ff(0x20b)](_0x293746[_0x1e48ff(0x122)],0x0)){const _0x5051ec=_0x293746['pop']();if(_0x435078['error']){const _0x2e1ac8=_0x1a0972['ApapW'](failureData,_0x435078[_0x1e48ff(0x191)],_0x1a0972[_0x1e48ff(0x160)]);_0x5051ec[TestFrameworkConstants[_0x1e48ff(0x1fa)]]=_0x1a0972['iQMDP'](getFailureType,_0x435078?.[_0x1e48ff(0x191)]['message']),_0x5051ec[TestFrameworkConstants[_0x1e48ff(0x210)]]=_0x1a0972['JLaTw'](removeAnsiColors,_0x435078?.[_0x1e48ff(0x191)][_0x1e48ff(0x18f)]),_0x5051ec[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x1a0972['TlHeN'],_0x5051ec[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x2e1ac8;}else _0x5051ec[TestFrameworkConstants[_0x1e48ff(0x1cf)]]=_0x1a0972[_0x1e48ff(0x140)];_0x1a0972[_0x1e48ff(0x10b)](_0x1122e1,TestFrameworkConstants[_0x1e48ff(0x10c)])&&(_0x5051ec[TestFrameworkConstants[_0x1e48ff(0x1cf)]]=!_0x435078[_0x1e48ff(0x191)]?_0x1a0972[_0x1e48ff(0x140)]:_0x1a0972[_0x1e48ff(0x1af)]);const _0x3089ea=new Date(_0x435078[_0x1e48ff(0x1b7)]),_0x394423=new Date(_0x1a0972[_0x1e48ff(0x108)](_0x3089ea[_0x1e48ff(0x144)](),_0x435078[_0x1e48ff(0x1cb)]));_0x5051ec[TestFrameworkConstants[_0x1e48ff(0x162)]]=_0x394423[_0x1e48ff(0x1bd)](),_0x5051ec[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x4c83a4;const _0x2fdc92=_0x5051ec[TestFrameworkConstants[_0x1e48ff(0x1e7)]];await this[_0x1e48ff(0x1c1)](_0x126133,_0x552dc9,_0x2fdc92,_0x1a0972[_0x1e48ff(0x1e0)],_0x30d66f),!_0x102342[_0x385ceb]&&(_0x102342[_0x385ceb]=[]),_0x102342[_0x385ceb][_0x1e48ff(0x1d4)](_0x5051ec),_0x19e6ed[_0x54e9d0][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x385ceb;}}}return _0x19e6ed;}async[a95_0x1170d5(0x1c1)](_0x8a41af,_0x372ccf,_0x5942ae,_0xb6e674,_0x155539,_0x1139c9){const _0x369208=a95_0x1170d5,_0x38b5b9={'wuoHh':function(_0xd43d89,_0x39d2be){return _0xd43d89===_0x39d2be;},'GLyfe':'test','BAETq':function(_0x3dca2e,_0x573759,_0x651045){return _0x3dca2e(_0x573759,_0x651045);},'oJChI':function(_0xab286b,_0x48aeee,_0x29f91c){return _0xab286b(_0x48aeee,_0x29f91c);},'FezpT':_0x369208(0x1f2),'QyZSp':function(_0x507528,_0x532879,_0x20096e,_0x4beedf){return _0x507528(_0x532879,_0x20096e,_0x4beedf);},'VJVSE':function(_0x3ebce3,_0x3bebc9,_0x49cbcd){return _0x3ebce3(_0x3bebc9,_0x49cbcd);},'FVzLB':function(_0x364fe2,_0x3fff73,_0x2d6c7a){return _0x364fe2(_0x3fff73,_0x2d6c7a);},'xnayZ':function(_0x1398b4,_0x27e84f){return _0x1398b4/_0x27e84f;},'FFMPY':function(_0x4181e9,_0x1041ed){return _0x4181e9<_0x1041ed;},'UwNEj':function(_0xb1d3dd,_0x83b151){return _0xb1d3dd*_0x83b151;},'SjWAt':function(_0x42c58d,_0x51996a){return _0x42c58d+_0x51996a;},'vzKCg':function(_0x4688b1,_0x39858c,_0x1054c7,_0x495eab,_0x3d498d){return _0x4688b1(_0x39858c,_0x1054c7,_0x495eab,_0x3d498d);},'xENQq':function(_0x3a4af4,_0x1a2fc6,_0x4632d9,_0x2220fa){return _0x3a4af4(_0x1a2fc6,_0x4632d9,_0x2220fa);},'ooBzA':_0x369208(0x11a),'QhrMu':function(_0x3a87aa,_0x290047,_0x210308){return _0x3a87aa(_0x290047,_0x210308);}};try{if(_0x38b5b9[_0x369208(0x13c)](_0xb6e674,_0x38b5b9[_0x369208(0x10e)])){const _0x33fb52=await _0x155539['result'],_0x4a1a48=_0x38b5b9[_0x369208(0x1d0)](getTestRunIdentifier,_0x155539[_0x369208(0x1d6)],_0x155539[_0x369208(0x1ca)]['retry']),_0x5b0d20=_0x155539[_0x369208(0x1d6)];logger[_0x369208(0x1a4)](_0x369208(0x1ec)+_0x4a1a48+'\x20result='+util[_0x369208(0x13f)](_0x33fb52));const _0x251fb5=_0x8a41af[_0x369208(0x119)]()[_0x369208(0x17e)](_0x4a1a48)[TestFrameworkConstants[_0x369208(0x169)]];await _0x38b5b9[_0x369208(0x180)](sendTraceZip,_0x33fb52,_0x251fb5);const _0xf2878f=TestInfo[_0x369208(0x14b)](_0x4a1a48)[_0x38b5b9[_0x369208(0x1ac)]],_0x44e167={};if(_0xf2878f){!_0x33fb52[_0x369208(0x1f2)]&&(_0x33fb52[_0x369208(0x1f2)]=[]);_0x44e167[_0x369208(0x1f2)]=_0x33fb52[_0x369208(0x1f2)][_0x369208(0x202)](_0xf2878f||[]);const _0x37e047=TestInfo[_0x369208(0x14b)](_0x4a1a48);delete _0x37e047[_0x38b5b9['FezpT']],TestInfo[_0x369208(0x13d)](_0x4a1a48,_0x37e047);}const _0x130e7c=_0x1139c9||_0x38b5b9[_0x369208(0x13e)](getStepsAndLogs,_0x33fb52[_0x369208(0x14d)],_0x8a41af[_0x369208(0x119)]()['get'](_0x4a1a48)[TestFrameworkConstants[_0x369208(0x169)]],_0x38b5b9[_0x369208(0x10e)])[_0x369208(0x131)],_0x106b68=_0x38b5b9['VJVSE'](getScreenshots,_0x44e167,_0x8a41af[_0x369208(0x119)]()[_0x369208(0x17e)](_0x4a1a48)[TestFrameworkConstants[_0x369208(0x169)]]),_0x3e8f4d=_0x38b5b9['FVzLB'](getVideos,_0x33fb52,_0x8a41af['getAllData']()[_0x369208(0x17e)](_0x4a1a48)[TestFrameworkConstants['KEY_TEST_UUID']]),{_:_0x579975,logs:_0x45422a}=_0x38b5b9[_0x369208(0x174)](getFailureData,_0x33fb52[_0x369208(0x1ea)],{'test_run_uuid':_0x8a41af[_0x369208(0x119)]()['get'](_0x4a1a48)[TestFrameworkConstants[_0x369208(0x169)]]}),_0x58d0a7=TestInfo[_0x369208(0x14b)](_0x4a1a48)[TestFrameworkConstants[_0x369208(0x11c)]]||{},_0x3030d7=_0x38b5b9[_0x369208(0x1d0)](getMediaArtifactsLogs,_0x58d0a7,_0x8a41af[_0x369208(0x119)]()['get'](_0x4a1a48)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x526a90=_0x8a41af[_0x369208(0x119)]()['get'](_0x4a1a48),{[TestFrameworkConstants[_0x369208(0x1c6)]]:_0x571a4e='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x15da6a=''}=_0x526a90,_0x549f57=(_0x130e7c||[])[_0x369208(0x202)](_0x106b68||[])[_0x369208(0x202)](_0x45422a||[])[_0x369208(0x202)](_0x3e8f4d||[])['concat'](_0x3030d7||[]),_0x650e1b=0x28,_0x3e097f=Math[_0x369208(0x1c7)](_0x38b5b9['xnayZ'](_0x549f57['length'],_0x650e1b));for(let _0x3da5b1=0x0;_0x38b5b9[_0x369208(0x161)](_0x3da5b1,_0x3e097f);_0x3da5b1++){const _0x36f9e8=_0x38b5b9[_0x369208(0x195)](_0x3da5b1,_0x650e1b),_0x328cf4=_0x38b5b9[_0x369208(0x187)](_0x36f9e8,_0x650e1b),_0x1f2f35=_0x549f57[_0x369208(0x11d)](_0x36f9e8,_0x328cf4),_0x37ba5f={'platformIndex':global?.[_0x369208(0x166)]??0x0,'logs':_0x1f2f35,'testFrameworkName':_0x571a4e,'testFrameworkVersion':_0x15da6a,'testFrameworkState':_0x372ccf[_0x369208(0x1d3)]()[_0x369208(0x1a6)]('.')[0x1]};_0x38b5b9['vzKCg'](updatePayloadForTraceLogs,_0x37ba5f,_0x155539,_0x4a1a48,_0x8a41af),logger[_0x369208(0x1a4)](_0x369208(0x1d1)+_0x4a1a48+_0x369208(0x1d8)+_0x38b5b9[_0x369208(0x187)](_0x3da5b1,0x1)+'/'+_0x3e097f+_0x369208(0x1a5)+util['inspect'](_0x37ba5f));const _0x28a02c=await GrpcClient[_0x369208(0x1dd)]()[_0x369208(0x198)](_0x37ba5f);logger['debug'](_0x369208(0x1d1)+_0x4a1a48+_0x369208(0x1d8)+_0x38b5b9[_0x369208(0x187)](_0x3da5b1,0x1)+'/'+_0x3e097f+_0x369208(0x1b0)+util[_0x369208(0x13f)](_0x28a02c));}}else{const {logs:_0x24f806}=_0x38b5b9['xENQq'](getStepsAndLogs,_0x155539['step']['steps'],_0x5942ae,_0x38b5b9[_0x369208(0x188)]),_0x47d698=_0x38b5b9[_0x369208(0x120)](getTestRunIdentifier,_0x155539[_0x369208(0x1d6)],_0x155539[_0x369208(0x1ca)][_0x369208(0x1c3)]);logger[_0x369208(0x1a4)]('sendLogCreatedEvent:\x20testId='+_0x47d698);const _0x309594=_0x8a41af['getAllData']()['get'](_0x47d698),{[TestFrameworkConstants[_0x369208(0x1c6)]]:_0x305f20='',[TestFrameworkConstants[_0x369208(0x136)]]:_0x3e9242=''}=_0x309594,_0x363a3d={'platformIndex':'0','logs':_0x24f806,'testFrameworkName':_0x305f20,'testFrameworkVersion':_0x3e9242,'testFrameworkState':_0x372ccf[_0x369208(0x1d3)]()[_0x369208(0x1a6)]('.')[0x1]};_0x38b5b9[_0x369208(0x1dc)](updatePayloadForTraceLogs,_0x363a3d,_0x155539,_0x47d698,_0x8a41af),logger[_0x369208(0x1a4)](_0x369208(0x1d1)+_0x47d698+'\x20payload='+util['inspect'](_0x363a3d));const _0xe94836=await GrpcClient[_0x369208(0x1dd)]()[_0x369208(0x198)](_0x363a3d);}}catch(_0x368c13){logger[_0x369208(0x191)](_0x369208(0x1bf)+util[_0x369208(0x1c8)](_0x368c13));}}[a95_0x1170d5(0x18b)](_0x37f8c0){const _0x562a13=a95_0x1170d5,_0x39971c={'MvlNX':function(_0x1c4443,_0x3c73ac,_0x2f26d9){return _0x1c4443(_0x3c73ac,_0x2f26d9);},'YryWt':function(_0x18e1c9,_0x517bf8){return _0x18e1c9<_0x517bf8;},'sPSgi':_0x562a13(0x196)};try{const _0x3f8511=_0x37f8c0['test']['id'],_0x133cdf=_0x39971c[_0x562a13(0x12a)](getTestRunIdentifier,_0x37f8c0[_0x562a13(0x1d6)],_0x37f8c0[_0x562a13(0x1ca)]['retry']),_0x5913e0=_0x37f8c0['instance'],_0x1e0bdf=_0x5913e0[_0x562a13(0x184)](),_0x42765c=_0x5913e0[_0x562a13(0x119)]()[_0x562a13(0x17e)](_0x133cdf);logger[_0x562a13(0x1a4)](_0x562a13(0x146)+_0x3f8511);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x1f3e99='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4dfa51='',[TestFrameworkConstants[_0x562a13(0x134)]]:_0x2f6def='',[TestFrameworkConstants[_0x562a13(0x15e)]]:_0x31bfa4=''}=_0x42765c,_0xe83307=_0x5913e0[_0x562a13(0x16d)]()[_0x562a13(0x1d3)]()[_0x562a13(0x1a6)]('.')[0x1],_0x1b3021=_0x5913e0[_0x562a13(0x1b1)]()['toString']()[_0x562a13(0x1a6)]('.')[0x1],_0x38abfc=_0x39971c[_0x562a13(0x147)](_0x37f8c0?.[_0x562a13(0x1ca)]?.[_0x562a13(0x1fc)]??0x0,0x0)?0x0:_0x37f8c0?.['result']?.[_0x562a13(0x1fc)]??0x0,_0x511f52=_0x5913e0[_0x562a13(0x115)](),_0x3ee052=Buffer['from'](JSON[_0x562a13(0x1da)](_0x42765c))['toString'](_0x39971c[_0x562a13(0x1b8)]),_0x4262ec={'hash':_0x1e0bdf[_0x562a13(0x1f6)](),'threadId':_0x1e0bdf['getThreadId']()[_0x562a13(0x1d3)](),'processId':_0x1e0bdf[_0x562a13(0x1e1)]()['toString']()},_0x479879={};_0x479879[_0x562a13(0x149)]=_0x38abfc,_0x479879[_0x562a13(0x185)]=_0x1f3e99,_0x479879[_0x562a13(0x178)]=_0x4dfa51,_0x479879[_0x562a13(0x16e)]=_0xe83307,_0x479879[_0x562a13(0x1db)]=_0x1b3021,_0x479879[_0x562a13(0x129)]=_0x2f6def,_0x479879[_0x562a13(0x1e4)]=_0x31bfa4,_0x479879[_0x562a13(0x19b)]=_0x511f52,_0x479879[_0x562a13(0x183)]=_0x3ee052,_0x479879['executionContext']=_0x4262ec;const _0x33dd7b=_0x479879;return logger[_0x562a13(0x1a4)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x3f8511+_0x562a13(0x16b)+_0xe83307+'\x20hookState:\x20'+_0x1b3021),_0x33dd7b;}catch(_0x1ad126){return logger[_0x562a13(0x191)](_0x562a13(0x155)+util[_0x562a13(0x1c8)](_0x1ad126)),{};}}}module['exports']=PlaywrightTestFramework;
1
+ const a95_0x4697c1=a95_0x23a9;function a95_0x23a9(_0x31f707,_0x4c8b82){const _0x1e9bc7=a95_0x1e9b();return a95_0x23a9=function(_0x23a910,_0x1a7b14){_0x23a910=_0x23a910-0xd2;let _0x433706=_0x1e9bc7[_0x23a910];return _0x433706;},a95_0x23a9(_0x31f707,_0x4c8b82);}(function(_0x58063f,_0x32b95a){const _0x32456b=a95_0x23a9,_0x1e3e57=_0x58063f();while(!![]){try{const _0x146afb=-parseInt(_0x32456b(0x1a6))/0x1+-parseInt(_0x32456b(0x134))/0x2+-parseInt(_0x32456b(0x1aa))/0x3+-parseInt(_0x32456b(0x1d4))/0x4+parseInt(_0x32456b(0x10e))/0x5+-parseInt(_0x32456b(0xf0))/0x6*(-parseInt(_0x32456b(0x1a0))/0x7)+parseInt(_0x32456b(0x163))/0x8;if(_0x146afb===_0x32b95a)break;else _0x1e3e57['push'](_0x1e3e57['shift']());}catch(_0x3f236c){_0x1e3e57['push'](_0x1e3e57['shift']());}}}(a95_0x1e9b,0xe3dca));function a95_0x1e9b(){const _0x16755a=['basename','KEY_HOOK_FAILURE_REASON','trackEvent:\x20found\x20instance,\x20testFrameworkState=','PRE','VwmXM','bBljY','file_name','get','YvPLk','statSync','\x20response=','expectedStatus','yoRnc','KEY_HOOKS_FINISHED','\x20steps\x20for\x20testId=','KEY_TEST_RERUN_NAME','getTrackedInstance','../../../helpers/helper.js','getId','logCreatedEvent','zhmto','KEY_CUSTOM_TAGS','split','KEY_HOOK_LOGS','TKQFg','DEFAULT_HOOK_RESULT','\x20instanceId=','1100440SHogZl','EvztA','TEST_STEP','KEY_HOOK_ID','hook',',\x20state=','getInstance','getTestDetails','getCurrentHookState','jBPQg','jhgrb','POST','NAInG','CpzFQ','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','HqWLE','test','trackPlaywrightInstance','status','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','TEST_SCREENSHOT','annotations','KEY_TEST_FRAMEWORK_NAME','\x20\x20and\x20args\x20=\x20','from','yxjks','MYtYF','zoUXS','trackEvent','skipped','../../../helpers/test-observability/utils','aYBGl','zkZNY','445818pHkeTZ','vwpSI','attachments','Hook\x20List\x20in\x20Post\x20','logs','iWsNm','ydJTV','browserstackPlatformIndex','pop','info','veHcJ','\x20hookState=','KEY_TEST_META','./testFramework','joFJP','Gklkq','message','KEY_TEST_RESULT_AT','errors','startedAt','runHooks','GlSMf','KEY_TEST_FILE_PATH','xArBt','KEY_TEST_FAILURE_TYPE','timedOut','slice','../TestInfo.js','toString','parsePlaywrightTest','8514135YrVeCR','NBZpG','yECds','err','testFrameworkName','mBdOf','bKgIe','setTestDetails','KEY_TEST_RESULT','ywTnS','\x20payload=','gGNXT','eventJson','sendLogCreatedEvent\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_VERSION','DOuXU','BRjES','DEFAULT_TEST_RESULT','uuid','push','addMultipleEntries','\x20from\x20TestDetails:\x20','pdhuF','SNNES','testFrameworkVersion','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','aYTSl','testFrameworkState','format','TeZsM','HpepK','Expected\x20to\x20fail,\x20but\x20passed.','parsePlaywrightTestResult','stringify','IqTKL','xdzUb','../instances/testFrameworkInstance.js','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','2820510yOrSkX','error','KEY_TEST_SCOPES','startTime','Error\x20in\x20createTestFrameworkEventPayload:\x20','passed','kwMwB','LppEB','../../../../src/helpers/helper','\x20target=','fixme','getAllData','dofDq','GFWqg','KEY_TEST_ID','KEY_EVENT_ENDED_AT','scVpq','KEY_LOGS','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','exports','description','SGHSw','MAoWA','parallelIndex','KEY_TEST_RETRY_OF','forEach','aczrr','parsePlaywrightTestResult:\x20testId=','instance','step','getTestFrameworksVersions','../instances/trackedInstance.js','TEST','VDmoB','base64','inspect','KEY_TEST_CODE','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','../../../helpers/classLogger.js','trackHookEvent','mergeIntoTags','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','lgZvS','sXkzV','onATg','Error\x20in\x20sendLogCreatedEvent:\x20','WZoSt','17197552gaHGFt','failed','toISOString','\x20batch\x20','has','wccQP','\x20testState:\x20','ZPQGw','filePath','trackStepEvent','text','fQZWz','KEY_HOOKS_STARTED','getRef','PcIBi','debug','\x20instance=','AnTYT','tPyZz','some','KtpFg','path','BaNDl','createTestFrameworkEventPayload','./constants/testFrameworkConstants.js','matchHookRegex','stack','setTrackedInstance','trackStepEvent:\x20exception=','sendLogCreatedEvent','MAX_TOP_LEVEL_STEPS','KEY_TEST_ENDED_AT','KEY_TEST_LOCATION','size','KEY_TEST_UUID','KEY_HOOK_RESULT','util','KEY_TEST_NAME','gvBbv','gBqOO','../../playwright/reporter/pwUtils','results','length','getTestFrameworks','\x20step=\x22','SswQF','hookState','trackStepEvent:\x20testId=','filter','set','result','failure_type','NONE','woBan','createContext','JTqmQ','sendLogCreatedEvent:\x20testId=','No\x20reason\x20provided','../../utils/constants','xwlKq','NcRmg','49BquUod','KEY_HOOK_FAILURE_TYPE','INIT_TEST','vdrJv','concat','steps','1317993ygVHNQ','retry','resolveInstance','parseCommaSeparatedValues','1307886gpbzVw','trim','getProcessId','getCurrentInstanceName','qDYGR','KEY_TEST_STARTED_AT','KEY_HOOK_FAILURE','\x20hookState:\x20','gLGyq','\x20result=','duration','failure','Error\x20processing\x20direct\x20trace\x20file\x20','getTestUUID','WfAhh'];a95_0x1e9b=function(){return _0x16755a;};return a95_0x1e9b();}const TestFramework=require(a95_0x4697c1(0xfd)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require(a95_0x4697c1(0x15a)),TestFrameworkInstance=require(a95_0x4697c1(0x132)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a95_0x4697c1(0x153)),TestFrameworkConstants=require(a95_0x4697c1(0x17b)),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a95_0x4697c1(0x120)),util=require(a95_0x4697c1(0x187)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a95_0x4697c1(0x1ca)),TestInfo=require(a95_0x4697c1(0x10b)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a95_0x4697c1(0xed)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a95_0x4697c1(0x18b)),{findNestedKey,sendTraceZip,validateFilePath}=require(a95_0x4697c1(0x18b)),path=require(a95_0x4697c1(0x178)),fs=require('fs'),helper=require(a95_0x4697c1(0x13c)),{PLAYWRIGHT_TRACE_LOGS}=require(a95_0x4697c1(0x19d)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set(['skip',a95_0x4697c1(0x13e),'slow','fail']);class PlaywrightTestFramework extends TestFramework{constructor(_0x801091,_0x314bdb,_0x1c5c35){super(_0x801091,_0x314bdb,_0x1c5c35);}async[a95_0x4697c1(0xeb)](_0x90999c,_0x201dd1,_0x5d2ece={}){const _0x2435f7=a95_0x4697c1,_0x11832a={'gLGyq':function(_0x3cf3b4,_0xaa5c46){return _0x3cf3b4===_0xaa5c46;},'veHcJ':function(_0x2eda61,_0x525f98){return _0x2eda61===_0x525f98;},'DOuXU':function(_0x3e7a73,_0xfaff1e,_0x380c49){return _0x3e7a73(_0xfaff1e,_0x380c49);},'HqWLE':function(_0x3170cb,_0x2c9cc2){return _0x3170cb===_0x2c9cc2;},'IqTKL':function(_0x4bc752,_0x1b5010,_0x1574d6){return _0x4bc752(_0x1b5010,_0x1574d6);},'yECds':function(_0x5c6cec,_0x583701,_0x43d132,_0x449bbb){return _0x5c6cec(_0x583701,_0x43d132,_0x449bbb);},'gvBbv':_0x2435f7(0xdf),'iWsNm':_0x2435f7(0x133)};super['trackEvent'](_0x90999c,_0x201dd1,_0x5d2ece);if(_0x11832a[_0x2435f7(0x1b2)](_0x90999c,TestFrameworkState[_0x2435f7(0xe3)])){const _0x14611a=TestInfo['getTestIdentifierFromTestInfo'](_0x5d2ece[_0x2435f7(0xdf)],_0x5d2ece['test']['retry']);TestInfo[_0x2435f7(0x115)](_0x14611a,_0x5d2ece[_0x2435f7(0x195)],!![]);}if(_0x11832a[_0x2435f7(0xfa)](_0x90999c,TestFrameworkState[_0x2435f7(0x1d6)])){this[_0x2435f7(0x16c)](_0x90999c,_0x201dd1,_0x5d2ece);return;}const _0x4b0a8a=this[_0x2435f7(0x1a8)](_0x90999c,_0x201dd1,_0x5d2ece);if(!_0x4b0a8a)return;logger[_0x2435f7(0x172)](_0x2435f7(0x1bb)+_0x90999c+_0x2435f7(0xfb)+_0x201dd1+_0x2435f7(0x1d3)+_0x4b0a8a[_0x2435f7(0x170)]());try{if(_0x11832a[_0x2435f7(0x1b2)](_0x201dd1,HookState['PRE'])&&_0x11832a[_0x2435f7(0x1b2)](_0x90999c,TestFrameworkState[_0x2435f7(0x154)])){const _0x53d977=_0x5d2ece['test'];logger['debug']('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x53d977['id']+'}');const _0x22cd17=TestInfo[_0x2435f7(0x1b7)](_0x11832a[_0x2435f7(0x11d)](getTestRunIdentifier,_0x53d977,_0x5d2ece['result'][_0x2435f7(0x1a7)]));_0x4b0a8a[_0x2435f7(0x122)](this[_0x2435f7(0x10d)](_0x22cd17,_0x53d977,_0x5d2ece[_0x2435f7(0x195)])),logger[_0x2435f7(0x172)](_0x2435f7(0x159)+_0x53d977['id']+',\x20testFrameworkState='+_0x90999c+'\x20testHookState='+_0x201dd1+_0x2435f7(0x173)+_0x4b0a8a[_0x2435f7(0x170)]());}if(_0x11832a[_0x2435f7(0xfa)](_0x201dd1,HookState[_0x2435f7(0xda)])&&_0x11832a[_0x2435f7(0xde)](_0x90999c,TestFrameworkState['TEST'])){const _0x17ae2b=_0x5d2ece['test'],_0x5e2ac7=_0x5d2ece['result'];logger[_0x2435f7(0x172)](_0x2435f7(0x15d)+_0x17ae2b['id']);const _0x2a6068=_0x11832a[_0x2435f7(0x130)](getTestRunIdentifier,_0x17ae2b,_0x5e2ac7[_0x2435f7(0x1a7)]),_0x19dd8b=_0x4b0a8a[_0x2435f7(0x13f)]()[_0x2435f7(0x1c0)](_0x2a6068)[TestFrameworkConstants[_0x2435f7(0x185)]],{steps:_0x4f5e59,logs:_0x20be3a}=_0x11832a[_0x2435f7(0x110)](getStepsAndLogs,_0x5e2ac7[_0x2435f7(0x1a5)],_0x19dd8b,_0x11832a[_0x2435f7(0x189)]);_0x4b0a8a['addMultipleEntries'](this[_0x2435f7(0x12e)](_0x17ae2b['id'],_0x5e2ac7,_0x17ae2b,_0x4f5e59)),await this[_0x2435f7(0x180)](_0x4b0a8a,_0x90999c,_0x201dd1,_0x11832a[_0x2435f7(0x189)],_0x5d2ece,_0x20be3a);}if(CLIUtils[_0x2435f7(0x17c)](_0x90999c['toString']()[_0x2435f7(0x1cf)]('.')[0x1])){const _0x158f6d=await this[_0x2435f7(0x15b)](_0x4b0a8a,_0x90999c,_0x201dd1,_0x5d2ece);_0x4b0a8a[_0x2435f7(0x122)](_0x158f6d);}}catch(_0x53021b){logger[_0x2435f7(0x135)](util['format'](_0x11832a[_0x2435f7(0xf5)],_0x90999c,_0x201dd1,_0x5d2ece[_0x2435f7(0x18d)],_0x53021b));}_0x5d2ece[_0x2435f7(0x150)]=_0x4b0a8a,await this[_0x2435f7(0x104)](_0x4b0a8a,_0x90999c,_0x201dd1,_0x5d2ece);}[a95_0x4697c1(0x1a8)](_0x187584,_0x35fa91,_0x4e72e8={}){const _0x2bc8bc=a95_0x4697c1,_0x1f90cd={};_0x1f90cd[_0x2bc8bc(0xf1)]=function(_0x212950,_0x2e3237){return _0x212950===_0x2e3237;},_0x1f90cd[_0x2bc8bc(0x13b)]=function(_0x205ef5,_0x33a131){return _0x205ef5===_0x33a131;};const _0x3df30d=_0x1f90cd;let _0x123570=null;return(_0x3df30d[_0x2bc8bc(0xf1)](_0x187584,TestFrameworkState[_0x2bc8bc(0x1a2)])||_0x3df30d[_0x2bc8bc(0x13b)](_0x187584,TestFrameworkState[_0x2bc8bc(0x197)]))&&this[_0x2bc8bc(0xe0)](_0x187584,_0x4e72e8),_0x123570=TestFramework[_0x2bc8bc(0x1c9)](),_0x123570;}[a95_0x4697c1(0xe0)](_0x577ca1,_0x1efa8c){const _0x156ac9=a95_0x4697c1,_0x50cc0d=CLIUtils[_0x156ac9(0x1ad)](),_0x46389f=TrackedInstance[_0x156ac9(0x199)](_0x50cc0d);let _0x37edb3=null;logger[_0x156ac9(0xf9)](_0x156ac9(0x146)+_0x50cc0d+_0x156ac9(0xd4)+_0x577ca1),_0x37edb3=new TestFrameworkInstance(_0x46389f,this[_0x156ac9(0x18e)](),this[_0x156ac9(0x152)](),_0x577ca1,HookState[_0x156ac9(0x197)]),TestFramework[_0x156ac9(0x17e)](_0x46389f,_0x37edb3),logger[_0x156ac9(0xf9)](_0x156ac9(0x127)+_0x46389f[_0x156ac9(0x1cb)]()+_0x156ac9(0x13d)+_0x50cc0d);}[a95_0x4697c1(0x10d)](_0x1de6d5,_0x6f4104,_0x5363bd){const _0x4c2339=a95_0x4697c1,_0x528496={'GlSMf':function(_0x35fe76,_0x35d889){return _0x35fe76(_0x35d889);},'HpepK':function(_0x111164,_0x39c978){return _0x111164(_0x39c978);},'JTqmQ':function(_0x44ef16,_0x2b5ddf){return _0x44ef16(_0x2b5ddf);},'pFfPj':function(_0xdd70eb,_0x396b4b){return _0xdd70eb(_0x396b4b);},'AnTYT':function(_0x3863a8,_0x2d4c4a){return _0x3863a8(_0x2d4c4a);},'FhWNB':function(_0x4ba225,_0xfe179d,_0x2a8267){return _0x4ba225(_0xfe179d,_0x2a8267);}},_0x1ed6d5=_0x528496[_0x4c2339(0x105)](getPlaywrightTestId,_0x6f4104),_0x218a8f=_0x528496['HpepK'](getPlaywrightTestTitle,_0x6f4104),_0x226637=_0x528496[_0x4c2339(0x12c)](getTestTags,_0x6f4104),_0x4de4da=_0x528496[_0x4c2339(0x12c)](getPlaywrightTestCode,_0x6f4104),_0x359d20=_0x528496[_0x4c2339(0x19a)](getPlaywrightTestFilePath,_0x6f4104),_0x29b2aa=_0x359d20,_0x1c7547=_0x528496['pFfPj'](getPlaywrightTestScope,_0x6f4104),_0x6e4b98=_0x528496['GlSMf'](getPlaywrightTestScopes,_0x6f4104),_0x282016=_0x528496[_0x4c2339(0x174)](getPlaywrightSessionName,_0x6f4104),_0xc403d8=this[_0x4c2339(0x18e)]()[0x0],_0x2ad442=_0x528496['FhWNB'](getTestRunIdentifier,_0x6f4104,_0x5363bd[_0x4c2339(0x1a7)]),_0x35f061={[TestFrameworkConstants[_0x4c2339(0xe5)]]:_0xc403d8,[TestFrameworkConstants[_0x4c2339(0x11c)]]:this[_0x4c2339(0x152)]()[_0xc403d8],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x4c2339(0x185)]]:_0x1de6d5,[TestFrameworkConstants[_0x4c2339(0x116)]]:TestFrameworkConstants[_0x4c2339(0x11f)],[TestFrameworkConstants['KEY_AUTOMATE_SESSION_NAME']]:_0x282016,[TestFrameworkConstants[_0x4c2339(0x106)]]:_0x359d20,[TestFrameworkConstants[_0x4c2339(0x142)]]:_0x1ed6d5,[TestFrameworkConstants[_0x4c2339(0x188)]]:_0x218a8f,[TestFrameworkConstants[_0x4c2339(0x183)]]:_0x29b2aa,[TestFrameworkConstants[_0x4c2339(0x158)]]:_0x4de4da,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x226637,[TestFrameworkConstants[_0x4c2339(0x1af)]]:_0x6f4104[_0x4c2339(0x18c)][0x0][_0x4c2339(0x137)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x1c7547,[TestFrameworkConstants[_0x4c2339(0x136)]]:_0x6e4b98,[TestFrameworkConstants[_0x4c2339(0x1c8)]]:_0x528496[_0x4c2339(0x105)](getPlaywrightCustomRerunParam,_0x6f4104)};TestInfo['setTestDetails'](_0x2ad442,_0x35f061);const _0x3755fa={};return _0x3755fa[_0x2ad442]=_0x35f061,_0x3755fa;}[a95_0x4697c1(0x12e)](_0x155c94,_0x313054,_0x5616d3,_0x57ea8b){const _0x1bffbb=a95_0x4697c1,_0x1394ea={'SNNES':function(_0x5bd2aa,_0x2f09c9){return _0x5bd2aa(_0x2f09c9);},'ydJTV':'TEST_ATTACHMENT','WZoSt':function(_0xb5c17b,_0x4cae3d){return _0xb5c17b===_0x4cae3d;},'YvPLk':function(_0xf58033,_0x172846){return _0xf58033===_0x172846;},'xwlKq':function(_0x3227cc,_0x370e3f){return _0x3227cc(_0x370e3f);},'MAoWA':_0x1bffbb(0x19c),'lgZvS':function(_0x36fa52,_0x531173,_0x17d1e7){return _0x36fa52(_0x531173,_0x17d1e7);},'GFWqg':function(_0x1dfd5a,_0x41b27a){return _0x1dfd5a===_0x41b27a;},'KscXq':function(_0x1f7e0b,_0x165224){return _0x1f7e0b===_0x165224;},'yxjks':_0x1bffbb(0xec),'TKQFg':_0x1bffbb(0x139),'xdzUb':function(_0x1da85c,_0x1146c7){return _0x1da85c===_0x1146c7;},'NBZpG':_0x1bffbb(0x164),'joFJP':_0x1bffbb(0x109),'gjJAH':function(_0x1bdbd0,_0x24718f){return _0x1bdbd0===_0x24718f;},'zoUXS':_0x1bffbb(0x12d),'ktqJD':function(_0x1909a2,_0x4475ae,_0x1a3a4d){return _0x1909a2(_0x4475ae,_0x1a3a4d);},'TeZsM':function(_0x5e4447,_0x1cf866){return _0x5e4447||_0x1cf866;},'gGNXT':function(_0x5c6cbe,_0x3c95ab){return _0x5c6cbe(_0x3c95ab);},'PcIBi':function(_0x521791,_0x1027b7){return _0x521791(_0x1027b7);},'jhgrb':function(_0x39278a,_0x1a2d86){return _0x39278a>_0x1a2d86;},'fQZWz':function(_0x5595f5,_0x533da0){return _0x5595f5-_0x533da0;},'VDmoB':function(_0x7579fb,_0x3d4a64,_0x11b14f,_0x4a136e){return _0x7579fb(_0x3d4a64,_0x11b14f,_0x4a136e);},'sXkzV':'test','kGQCs':function(_0x472572,_0x5e67cc){return _0x472572>=_0x5e67cc;},'jBPQg':function(_0xdb7a41,_0x50075f){return _0xdb7a41+_0x50075f;},'Gklkq':function(_0x31b015,_0x3717c0){return _0x31b015>_0x3717c0;},'ywTnS':'path','KtpFg':function(_0x1b47d1,_0x3b4eb8,_0x27c522){return _0x1b47d1(_0x3b4eb8,_0x27c522);},'aYTSl':'../customTagManager'};logger['debug'](_0x1bffbb(0x14f)+_0x155c94);const _0x575b2f=_0x1394ea['lgZvS'](getTestRunIdentifier,_0x5616d3,_0x313054['retry']),_0x27368c=new Date(),_0x5838e4=_0x313054[_0x1bffbb(0xe1)],_0x142971=TestInfo[_0x1bffbb(0xd6)](_0x575b2f)[TestFrameworkConstants[_0x1bffbb(0x1ce)]]||{};let _0x2b5cc1=_0x5838e4;if(_0x1394ea[_0x1bffbb(0x141)](_0x313054[_0x1bffbb(0xe1)],_0x5616d3['expectedStatus']))_0x2b5cc1=_0x1394ea['KscXq'](_0x313054[_0x1bffbb(0xe1)],_0x1394ea[_0x1bffbb(0xe8)])?_0x1394ea[_0x1bffbb(0xe8)]:_0x1394ea['TKQFg'];else{(_0x1394ea[_0x1bffbb(0x131)](_0x2b5cc1,_0x1394ea[_0x1bffbb(0x1d1)])||_0x1394ea[_0x1bffbb(0x162)](_0x2b5cc1,_0x1394ea[_0x1bffbb(0x10f)])||_0x1394ea['WZoSt'](_0x2b5cc1,_0x1394ea[_0x1bffbb(0xfe)]))&&(_0x2b5cc1=_0x1394ea['NBZpG']);if(_0x1394ea[_0x1bffbb(0x131)](_0x313054[_0x1bffbb(0xe1)],_0x1394ea[_0x1bffbb(0x1d1)])&&_0x1394ea['gjJAH'](_0x5616d3[_0x1bffbb(0x1c4)],_0x1394ea[_0x1bffbb(0x10f)])){const _0x5c70fc={};_0x5c70fc[_0x1bffbb(0x100)]=_0x1394ea[_0x1bffbb(0xea)],_0x5c70fc[_0x1bffbb(0x17d)]=_0x1394ea[_0x1bffbb(0xea)],_0x313054['error']=_0x5c70fc,_0x313054['errors']=[_0x313054[_0x1bffbb(0x135)]];}}const {failureData:_0x160572,logs:_0x1a16a6}=_0x1394ea['ktqJD'](getFailureData,_0x313054?.['errors'],{}),_0x34e4f0={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x1394ea[_0x1bffbb(0x12b)](_0x160572,null),[TestFrameworkConstants[_0x1bffbb(0x108)]]:_0x313054?.[_0x1bffbb(0x135)]&&_0x1394ea[_0x1bffbb(0x119)](getFailureType,_0x313054[_0x1bffbb(0x135)][_0x1bffbb(0x100)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x313054?.[_0x1bffbb(0x135)]&&_0x1394ea[_0x1bffbb(0x171)](removeAnsiColors,_0x313054['error'][_0x1bffbb(0x100)]),[TestFrameworkConstants[_0x1bffbb(0x145)]]:[],[TestFrameworkConstants[_0x1bffbb(0x116)]]:_0x2b5cc1,[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x27368c['toISOString'](),[TestFrameworkConstants[_0x1bffbb(0x101)]]:new Date()[_0x1bffbb(0x165)](),[TestFrameworkConstants[_0x1bffbb(0x1ce)]]:_0x142971};if(_0x313054&&_0x1394ea[_0x1bffbb(0xd9)](_0x313054[_0x1bffbb(0x1a7)],0x0)){const _0x48046e=TestInfo[_0x1bffbb(0x1b7)](_0x1394ea[_0x1bffbb(0x15e)](getTestRunIdentifier,_0x5616d3,_0x1394ea[_0x1bffbb(0x16e)](_0x313054[_0x1bffbb(0x1a7)],0x1)));_0x34e4f0[TestFrameworkConstants[_0x1bffbb(0x14c)]]=_0x48046e;}const _0x372c16={};_0x372c16[_0x1bffbb(0xdf)]=_0x5616d3;const _0x415e89=this[_0x1bffbb(0x1a8)](TestFrameworkState['TEST'],HookState['POST'],_0x372c16),_0x2b62f0=_0x415e89['getAllData']()[_0x1bffbb(0x1c0)](_0x575b2f)[TestFrameworkConstants[_0x1bffbb(0x185)]],_0x36f178=_0x57ea8b||_0x1394ea[_0x1bffbb(0x155)](getStepsAndLogs,_0x313054['steps'],_0x2b62f0,_0x1394ea[_0x1bffbb(0x15f)])[_0x1bffbb(0x1a5)],_0x3112f5=new Map(),_0x353682=new Map();let _0x2ec06b=0x0;const _0x5b2b25=[];for(const _0x514d04 of _0x36f178||[]){const _0x56a533=_0x514d04['parent_id']||null;let _0x25cf61;if(_0x1394ea[_0x1bffbb(0x141)](_0x56a533,null)){if(_0x1394ea['kGQCs'](_0x2ec06b,TestFrameworkConstants[_0x1bffbb(0x181)]))continue;_0x25cf61=0x0,_0x2ec06b++;}else{const _0x48eff9=_0x3112f5[_0x1bffbb(0x1c0)](_0x56a533);if(_0x1394ea['xdzUb'](_0x48eff9,undefined))continue;_0x25cf61=_0x1394ea[_0x1bffbb(0xd8)](_0x48eff9,0x1);if(_0x1394ea[_0x1bffbb(0xff)](_0x25cf61,TestFrameworkConstants['MAX_NESTED_STEP_DEPTH']))continue;}_0x3112f5['set'](_0x514d04['id'],_0x25cf61),_0x353682[_0x1bffbb(0x194)](_0x514d04['id'],_0x514d04[_0x1bffbb(0x16d)]),_0x5b2b25[_0x1bffbb(0x121)]({'id':_0x514d04['id'],'parent_id':_0x56a533,'parent_text':_0x56a533?_0x353682[_0x1bffbb(0x1c0)](_0x56a533)||'':'','text':_0x514d04[_0x1bffbb(0x16d)],'keyword':_0x514d04['keyword']||null,'started_at':_0x514d04['started_at'],'duration':_0x514d04[_0x1bffbb(0x1b4)]??null,'result':_0x514d04['result'],'failure':_0x514d04[_0x1bffbb(0x1b5)]||null,'failure_type':_0x514d04[_0x1bffbb(0x196)]||null});}const _0x43e95d={};_0x43e95d[_0x1bffbb(0x1a5)]=_0x5b2b25,_0x34e4f0[TestFrameworkConstants[_0x1bffbb(0xfc)]]=_0x43e95d,logger[_0x1bffbb(0x172)]('parsePlaywrightTestResult:\x20extracted\x20'+_0x5b2b25['length']+_0x1bffbb(0x1c7)+_0x155c94);const _0x264704=[],_0x477c06=_0x1394ea[_0x1bffbb(0x15e)](findNestedKey,_0x313054,_0x1394ea[_0x1bffbb(0x117)]);if(_0x477c06&&_0x1394ea[_0x1bffbb(0x171)](validateFilePath,_0x477c06))try{_0x264704[_0x1bffbb(0x121)]({'kind':_0x1394ea['ydJTV'],'timestamp':new Date()[_0x1bffbb(0x165)](),'test_run_uuid':_0x2b62f0,'file_name':path[_0x1bffbb(0x1b9)](_0x477c06),'file_size':fs[_0x1bffbb(0x1c2)](_0x477c06)[_0x1bffbb(0x184)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x24f870){logger[_0x1bffbb(0x135)](_0x1bffbb(0x1b6)+_0x477c06+':\x20'+_0x24f870[_0x1bffbb(0x100)]);}const _0x400fa4=TestInfo['getTraceFilePaths'](),_0x256426=_0x400fa4[_0x1bffbb(0x193)](_0x4af780=>_0x4af780['testUId']===_0x2b62f0);_0x256426[_0x1bffbb(0x14d)](_0x2476ea=>{const _0x421435=_0x1bffbb;if(_0x2476ea['filePath']&&_0x1394ea['SNNES'](validateFilePath,_0x2476ea['filePath'])&&!_0x264704[_0x421435(0x176)](_0x3b75f0=>_0x3b75f0[_0x421435(0x1bf)]===path['basename'](_0x2476ea[_0x421435(0x16b)])))try{_0x264704[_0x421435(0x121)]({'kind':_0x1394ea[_0x421435(0xf6)],'timestamp':new Date()[_0x421435(0x165)](),'test_run_uuid':_0x2b62f0,'file_name':path[_0x421435(0x1b9)](_0x2476ea[_0x421435(0x16b)]),'file_size':fs[_0x421435(0x1c2)](_0x2476ea[_0x421435(0x16b)])[_0x421435(0x184)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x46bd3e){logger[_0x421435(0x135)]('Error\x20processing\x20trace\x20file\x20'+_0x2476ea[_0x421435(0x16b)]+_0x421435(0x123)+_0x46bd3e[_0x421435(0x100)]);}});if(_0x1394ea['jhgrb'](_0x264704[_0x1bffbb(0x18d)],0x0)){const _0x13d1f8=_0x34e4f0[TestFrameworkConstants[_0x1bffbb(0x145)]]||[];_0x34e4f0[TestFrameworkConstants[_0x1bffbb(0x145)]]=[..._0x13d1f8,..._0x264704];}const _0x3e2e51=TestInfo[_0x1bffbb(0xd6)](_0x575b2f)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x252e63=_0x1394ea[_0x1bffbb(0x177)](getManualUploadLogs,_0x3e2e51,_0x415e89[_0x1bffbb(0x13f)]()[_0x1bffbb(0x1c0)](_0x575b2f)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x1394ea[_0x1bffbb(0xd9)](_0x252e63[_0x1bffbb(0x18d)],0x0)){const _0x3965f9=_0x34e4f0[TestFrameworkConstants[_0x1bffbb(0x145)]]||[];_0x34e4f0[TestFrameworkConstants['KEY_LOGS']]=[..._0x3965f9,..._0x252e63];}const _0x1b6593=_0x5616d3[_0x1bffbb(0xe4)]||[],_0xac4f73=_0x34e4f0[TestFrameworkConstants[_0x1bffbb(0x1ce)]]||{},_0x5865d5=_0x1394ea['xwlKq'](require,_0x1394ea[_0x1bffbb(0x128)]);_0x1b6593[_0x1bffbb(0x14d)](_0x57b0ec=>{const _0x252815=_0x1bffbb,{type:_0x107357}=_0x57b0ec;let _0x28dc14=_0x57b0ec[_0x252815(0x148)];if(!_0x107357)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x252815(0x167)](_0x107357))return;(_0x1394ea[_0x252815(0x162)](_0x28dc14,undefined)||_0x1394ea[_0x252815(0x162)](_0x28dc14,null)||_0x1394ea[_0x252815(0x1c1)](_0x1394ea[_0x252815(0x19e)](String,_0x28dc14)[_0x252815(0x1ab)](),''))&&(_0x28dc14=_0x1394ea[_0x252815(0x14a)]);const _0x1b7ff7=helper[_0x252815(0x1a9)](_0x1394ea[_0x252815(0x125)](String,_0x28dc14));_0x5865d5[_0x252815(0x15c)](_0xac4f73,_0x107357,_0x1b7ff7);}),_0x34e4f0[TestFrameworkConstants[_0x1bffbb(0x1ce)]]=_0xac4f73,TestInfo[_0x1bffbb(0x115)](_0x575b2f,_0x34e4f0);const _0x36bd41={};return _0x36bd41[_0x575b2f]=_0x34e4f0,_0x36bd41;}[a95_0x4697c1(0x16c)](_0x8bf5b6,_0xc5a979,_0x4c9bac){const _0xa2bbbb=a95_0x4697c1,_0x26edc9={'zhmto':function(_0x4bc52f,_0x4e81a9){return _0x4bc52f||_0x4e81a9;},'scVpq':function(_0x2389b0,_0x4c5dd6,_0x3c4e33){return _0x2389b0(_0x4c5dd6,_0x3c4e33);}};try{const {test:_0x4cadc9,result:_0x172848,step:_0x3e93c1}=_0x4c9bac;if(_0x26edc9[_0xa2bbbb(0x1cd)](!_0x4cadc9,!_0x3e93c1)||!_0x172848)return;const _0x4177ca=_0x26edc9[_0xa2bbbb(0x144)](getTestRunIdentifier,_0x4cadc9,_0x172848[_0xa2bbbb(0x1a7)]);logger[_0xa2bbbb(0x172)](_0xa2bbbb(0x192)+_0x4177ca+'\x20hookState='+_0xc5a979+_0xa2bbbb(0x18f)+_0x3e93c1['title']+'\x22');}catch(_0x39f8d8){logger[_0xa2bbbb(0x135)](_0xa2bbbb(0x17f)+util[_0xa2bbbb(0x12a)](_0x39f8d8));}}async[a95_0x4697c1(0x15b)](_0x21c31e,_0x51080e,_0x68a9fe,_0x29ae0d){const _0x57cf97=a95_0x4697c1,_0x595951={'gBqOO':function(_0x4bc805,_0x5f5273,_0x320e7b){return _0x4bc805(_0x5f5273,_0x320e7b);},'hmgFq':function(_0x405e2c,_0x40b3bd){return _0x405e2c in _0x40b3bd;},'VwmXM':function(_0x1151e7,_0x302d1a){return _0x1151e7 in _0x302d1a;},'qDYGR':function(_0x54ee5f,_0x3c9351){return _0x54ee5f(_0x3c9351);},'pdhuF':function(_0xa5d548,_0x35fdcd){return _0xa5d548===_0x35fdcd;},'SGHSw':function(_0x2d92d8){return _0x2d92d8();},'MYtYF':function(_0x34fa5d,_0x254250){return _0x34fa5d===_0x254250;},'NcRmg':function(_0x5e079f,_0x4b84d2){return _0x5e079f>_0x4b84d2;},'yoRnc':_0x57cf97(0x111),'BaNDl':_0x57cf97(0x164),'dofDq':'passed','mBdOf':function(_0x5dacec,_0x31849e){return _0x5dacec!==_0x31849e;},'tPyZz':function(_0x333775,_0x25bf86){return _0x333775+_0x25bf86;},'SswQF':_0x57cf97(0xd3)},_0x1d52b3=_0x29ae0d['test'],_0x417832=_0x29ae0d[_0x57cf97(0x151)],_0x5efd9a=_0x595951[_0x57cf97(0x18a)](getTestRunIdentifier,_0x1d52b3,_0x29ae0d['result'][_0x57cf97(0x1a7)]),_0x4006d4=_0x51080e[_0x57cf97(0x10c)]()[_0x57cf97(0x1cf)]('.')[0x1];let _0x49a5e3=_0x21c31e['getAllData']()[_0x57cf97(0x1c0)](_0x5efd9a)[TestFrameworkConstants[_0x57cf97(0x16f)]];!_0x49a5e3&&(_0x49a5e3={});!_0x595951['hmgFq'](_0x4006d4,_0x49a5e3)&&(_0x49a5e3[_0x4006d4]=[]);let _0x486e7f=_0x21c31e[_0x57cf97(0x13f)]()[_0x57cf97(0x1c0)](_0x5efd9a)[TestFrameworkConstants[_0x57cf97(0x1c6)]];!_0x486e7f&&(_0x486e7f={});!_0x595951[_0x57cf97(0x1bd)](_0x4006d4,_0x486e7f)&&(_0x486e7f[_0x4006d4]=[]);const _0x3fffd4={[TestFrameworkConstants[_0x57cf97(0x16f)]]:_0x49a5e3,[TestFrameworkConstants[_0x57cf97(0x1c6)]]:_0x486e7f},_0x2f9f7e={};_0x2f9f7e[_0x5efd9a]=_0x3fffd4;const _0x3c63db=_0x2f9f7e,_0x704204=_0x595951[_0x57cf97(0x1ae)](getPlaywrightTestFilePath,_0x1d52b3),_0xb9a767=_0x704204,_0x419049=TestInfo[_0x57cf97(0xd6)](_0x5efd9a)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x595951[_0x57cf97(0x124)](_0x68a9fe,HookState[_0x57cf97(0x1bc)])){const _0x5cb015={'key':_0x4006d4,[TestFrameworkConstants[_0x57cf97(0xd2)]]:_0x595951[_0x57cf97(0x149)](uuidv4),[TestFrameworkConstants[_0x57cf97(0x186)]]:TestFrameworkConstants[_0x57cf97(0x1d2)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x417832[_0x57cf97(0x137)],[TestFrameworkConstants[_0x57cf97(0x1d0)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x417832['title'],[TestFrameworkConstants[_0x57cf97(0x106)]]:_0x704204,[TestFrameworkConstants[_0x57cf97(0x183)]]:_0xb9a767,[TestFrameworkConstants[_0x57cf97(0x1ce)]]:_0x419049};_0x49a5e3[_0x4006d4][_0x57cf97(0x121)](_0x5cb015),_0x3c63db[_0x5efd9a][TestFrameworkConstants['KEY_HOOK_LAST_STARTED']]=_0x4006d4,logger[_0x57cf97(0x172)](_0x57cf97(0xe2)+_0x4006d4+'\x20&\x20hook\x20=\x20'+_0x5cb015+_0x57cf97(0xe6)+_0x29ae0d);}else{if(_0x595951[_0x57cf97(0xe9)](_0x68a9fe,HookState[_0x57cf97(0xda)])){const _0x1bcb7a=await _0x29ae0d[_0x57cf97(0x195)],_0x29eef1=_0x49a5e3[_0x4006d4]||[],_0x3ee17f=_0x29ae0d['step'];logger[_0x57cf97(0x172)](_0x57cf97(0xf3)+_0x29eef1+'\x20and\x20args\x20=\x20'+_0x29ae0d);if(_0x595951[_0x57cf97(0x19f)](_0x29eef1['length'],0x0)){const _0x106208=_0x29eef1[_0x57cf97(0xf8)]();if(_0x3ee17f['error']){const _0xad14ce=_0x595951[_0x57cf97(0x18a)](failureData,_0x3ee17f['error'],_0x595951[_0x57cf97(0x1c5)]);_0x106208[TestFrameworkConstants[_0x57cf97(0x1a1)]]=_0x595951[_0x57cf97(0x1ae)](getFailureType,_0x3ee17f?.[_0x57cf97(0x135)][_0x57cf97(0x100)]),_0x106208[TestFrameworkConstants[_0x57cf97(0x1ba)]]=_0x595951['qDYGR'](removeAnsiColors,_0x3ee17f?.['error'][_0x57cf97(0x100)]),_0x106208[TestFrameworkConstants[_0x57cf97(0x186)]]=_0x595951[_0x57cf97(0x179)],_0x106208[TestFrameworkConstants[_0x57cf97(0x1b0)]]=_0xad14ce;}else _0x106208[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x595951[_0x57cf97(0x140)];_0x595951[_0x57cf97(0x113)](_0x1bcb7a,TestFrameworkConstants[_0x57cf97(0x1d2)])&&(_0x106208[TestFrameworkConstants[_0x57cf97(0x186)]]=!_0x3ee17f['error']?_0x595951[_0x57cf97(0x140)]:_0x595951[_0x57cf97(0x179)]);const _0x3c943d=new Date(_0x3ee17f[_0x57cf97(0x137)]),_0x19162a=new Date(_0x595951[_0x57cf97(0x175)](_0x3c943d['getTime'](),_0x3ee17f[_0x57cf97(0x1b4)]));_0x106208[TestFrameworkConstants[_0x57cf97(0x143)]]=_0x19162a[_0x57cf97(0x165)](),_0x106208[TestFrameworkConstants[_0x57cf97(0x1ce)]]=_0x419049;const _0xa653df=_0x106208[TestFrameworkConstants[_0x57cf97(0xd2)]];await this[_0x57cf97(0x180)](_0x21c31e,_0x51080e,_0xa653df,_0x595951[_0x57cf97(0x190)],_0x29ae0d),!_0x486e7f[_0x4006d4]&&(_0x486e7f[_0x4006d4]=[]),_0x486e7f[_0x4006d4][_0x57cf97(0x121)](_0x106208),_0x3c63db[_0x5efd9a][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x4006d4;}}}return _0x3c63db;}async[a95_0x4697c1(0x180)](_0x188258,_0x5376bc,_0x12c3b4,_0x714f,_0x43039e,_0xc8f4d7){const _0x47ac1c=a95_0x4697c1,_0x27f94d={'bHAJS':function(_0x150288,_0x37d564){return _0x150288===_0x37d564;},'wccQP':_0x47ac1c(0xdf),'onATg':function(_0xf2cb74,_0x49440d,_0x518765){return _0xf2cb74(_0x49440d,_0x518765);},'BRjES':_0x47ac1c(0xf2),'abSNl':function(_0x45ddf5,_0x10ce0c,_0x5dbde7,_0x2ec8a5){return _0x45ddf5(_0x10ce0c,_0x5dbde7,_0x2ec8a5);},'aczrr':function(_0x232841,_0x3b0199,_0x2f3dab){return _0x232841(_0x3b0199,_0x2f3dab);},'vdrJv':function(_0x4a78d8,_0x9ca0d9,_0x1dec91){return _0x4a78d8(_0x9ca0d9,_0x1dec91);},'zkZNY':function(_0x542008,_0x17b8dd){return _0x542008/_0x17b8dd;},'bBljY':function(_0x39cc86,_0xdc884a){return _0x39cc86<_0xdc884a;},'ZPQGw':function(_0x4ac34d,_0x3dcde1){return _0x4ac34d*_0x3dcde1;},'NAInG':function(_0x43d6c5,_0x2c1c85){return _0x43d6c5+_0x2c1c85;},'bKgIe':function(_0x32e971,_0x44bea4,_0x205a47,_0x4a9461,_0x47a4a9){return _0x32e971(_0x44bea4,_0x205a47,_0x4a9461,_0x47a4a9);},'kwMwB':function(_0x405544,_0x1d5d43){return _0x405544+_0x1d5d43;},'CpzFQ':function(_0x3c215a,_0x1e61c5){return _0x3c215a+_0x1e61c5;},'aYBGl':function(_0x190de5,_0xac7703,_0x5aade6,_0x49aae1){return _0x190de5(_0xac7703,_0x5aade6,_0x49aae1);},'xArBt':_0x47ac1c(0xd3),'EvztA':function(_0x3b2b34,_0xbc3437,_0x22107f,_0x211964,_0x568535){return _0x3b2b34(_0xbc3437,_0x22107f,_0x211964,_0x568535);}};try{if(_0x27f94d['bHAJS'](_0x714f,_0x27f94d['wccQP'])){const _0x475f4e=await _0x43039e[_0x47ac1c(0x195)],_0x32c70c=_0x27f94d[_0x47ac1c(0x160)](getTestRunIdentifier,_0x43039e[_0x47ac1c(0xdf)],_0x43039e[_0x47ac1c(0x195)][_0x47ac1c(0x1a7)]),_0x2063d0=_0x43039e[_0x47ac1c(0xdf)];logger[_0x47ac1c(0x172)](_0x47ac1c(0x19b)+_0x32c70c+_0x47ac1c(0x1b3)+util[_0x47ac1c(0x157)](_0x475f4e));const _0x525b29=_0x188258[_0x47ac1c(0x13f)]()[_0x47ac1c(0x1c0)](_0x32c70c)[TestFrameworkConstants[_0x47ac1c(0x185)]];await _0x27f94d['onATg'](sendTraceZip,_0x475f4e,_0x525b29);const _0x1be6c2=TestInfo['getTestDetails'](_0x32c70c)[_0x27f94d[_0x47ac1c(0x11e)]],_0x19dd34={};if(_0x1be6c2){!_0x475f4e[_0x47ac1c(0xf2)]&&(_0x475f4e[_0x47ac1c(0xf2)]=[]);_0x19dd34['attachments']=_0x475f4e[_0x47ac1c(0xf2)][_0x47ac1c(0x1a4)](_0x1be6c2||[]);const _0x300d98=TestInfo[_0x47ac1c(0xd6)](_0x32c70c);delete _0x300d98[_0x27f94d[_0x47ac1c(0x11e)]],TestInfo[_0x47ac1c(0x115)](_0x32c70c,_0x300d98);}const _0x510ee3=_0xc8f4d7||_0x27f94d['abSNl'](getStepsAndLogs,_0x475f4e[_0x47ac1c(0x1a5)],_0x188258[_0x47ac1c(0x13f)]()[_0x47ac1c(0x1c0)](_0x32c70c)[TestFrameworkConstants[_0x47ac1c(0x185)]],_0x27f94d[_0x47ac1c(0x168)])[_0x47ac1c(0xf4)],_0x341e76=_0x27f94d[_0x47ac1c(0x14e)](getScreenshots,_0x19dd34,_0x188258[_0x47ac1c(0x13f)]()[_0x47ac1c(0x1c0)](_0x32c70c)[TestFrameworkConstants[_0x47ac1c(0x185)]]),_0x3b2a6b=_0x27f94d['onATg'](getVideos,_0x475f4e,_0x188258[_0x47ac1c(0x13f)]()['get'](_0x32c70c)[TestFrameworkConstants[_0x47ac1c(0x185)]]),{_:_0x1f1f3f,logs:_0x976444}=_0x27f94d[_0x47ac1c(0x160)](getFailureData,_0x475f4e[_0x47ac1c(0x102)],{'test_run_uuid':_0x188258[_0x47ac1c(0x13f)]()['get'](_0x32c70c)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x4debf5=TestInfo['getTestDetails'](_0x32c70c)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x1766a2=_0x27f94d[_0x47ac1c(0x1a3)](getMediaArtifactsLogs,_0x4debf5,_0x188258[_0x47ac1c(0x13f)]()[_0x47ac1c(0x1c0)](_0x32c70c)[TestFrameworkConstants[_0x47ac1c(0x185)]]),_0x3e8cef=_0x188258[_0x47ac1c(0x13f)]()[_0x47ac1c(0x1c0)](_0x32c70c),{[TestFrameworkConstants[_0x47ac1c(0xe5)]]:_0x5a359d='',[TestFrameworkConstants[_0x47ac1c(0x11c)]]:_0x404fff=''}=_0x3e8cef,_0x5a1df1=(_0x510ee3||[])[_0x47ac1c(0x1a4)](_0x341e76||[])[_0x47ac1c(0x1a4)](_0x976444||[])[_0x47ac1c(0x1a4)](_0x3b2a6b||[])[_0x47ac1c(0x1a4)](_0x1766a2||[]),_0x260cff=0x28,_0x242d1a=Math['ceil'](_0x27f94d[_0x47ac1c(0xef)](_0x5a1df1[_0x47ac1c(0x18d)],_0x260cff));for(let _0x5c43eb=0x0;_0x27f94d[_0x47ac1c(0x1be)](_0x5c43eb,_0x242d1a);_0x5c43eb++){const _0xf95c2e=_0x27f94d[_0x47ac1c(0x16a)](_0x5c43eb,_0x260cff),_0x4d3c93=_0x27f94d[_0x47ac1c(0xdb)](_0xf95c2e,_0x260cff),_0x5def47=_0x5a1df1[_0x47ac1c(0x10a)](_0xf95c2e,_0x4d3c93),_0x28e777={'platformIndex':global?.[_0x47ac1c(0xf7)]??0x0,'logs':_0x5def47,'testFrameworkName':_0x5a359d,'testFrameworkVersion':_0x404fff,'testFrameworkState':_0x5376bc[_0x47ac1c(0x10c)]()[_0x47ac1c(0x1cf)]('.')[0x1]};_0x27f94d[_0x47ac1c(0x114)](updatePayloadForTraceLogs,_0x28e777,_0x43039e,_0x32c70c,_0x188258),logger[_0x47ac1c(0x172)](_0x47ac1c(0x11b)+_0x32c70c+'\x20batch\x20'+_0x27f94d[_0x47ac1c(0x13a)](_0x5c43eb,0x1)+'/'+_0x242d1a+_0x47ac1c(0x118)+util['inspect'](_0x28e777));const _0x4a0c90=await GrpcClient['getInstance']()[_0x47ac1c(0x1cc)](_0x28e777);logger[_0x47ac1c(0x172)](_0x47ac1c(0x11b)+_0x32c70c+_0x47ac1c(0x166)+_0x27f94d[_0x47ac1c(0xdc)](_0x5c43eb,0x1)+'/'+_0x242d1a+_0x47ac1c(0x1c3)+util[_0x47ac1c(0x157)](_0x4a0c90));}}else{const {logs:_0x5724ec}=_0x27f94d[_0x47ac1c(0xee)](getStepsAndLogs,_0x43039e['step'][_0x47ac1c(0x1a5)],_0x12c3b4,_0x27f94d[_0x47ac1c(0x107)]),_0x381191=_0x27f94d[_0x47ac1c(0x160)](getTestRunIdentifier,_0x43039e[_0x47ac1c(0xdf)],_0x43039e[_0x47ac1c(0x195)]['retry']);logger[_0x47ac1c(0x172)](_0x47ac1c(0x19b)+_0x381191);const _0xcde7b5=_0x188258[_0x47ac1c(0x13f)]()['get'](_0x381191),{[TestFrameworkConstants[_0x47ac1c(0xe5)]]:_0x56d571='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x40e5b3=''}=_0xcde7b5,_0xf11b91={'platformIndex':'0','logs':_0x5724ec,'testFrameworkName':_0x56d571,'testFrameworkVersion':_0x40e5b3,'testFrameworkState':_0x5376bc['toString']()[_0x47ac1c(0x1cf)]('.')[0x1]};_0x27f94d[_0x47ac1c(0x1d5)](updatePayloadForTraceLogs,_0xf11b91,_0x43039e,_0x381191,_0x188258),logger[_0x47ac1c(0x172)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x381191+_0x47ac1c(0x118)+util['inspect'](_0xf11b91));const _0x317224=await GrpcClient[_0x47ac1c(0xd5)]()[_0x47ac1c(0x1cc)](_0xf11b91);}}catch(_0x548624){logger['error'](_0x47ac1c(0x161)+util[_0x47ac1c(0x12a)](_0x548624));}}[a95_0x4697c1(0x17a)](_0x464bbb){const _0x56f1b5=a95_0x4697c1,_0x4cbe15={'woBan':function(_0x1f23f4,_0x218812,_0xdccc0b){return _0x1f23f4(_0x218812,_0xdccc0b);},'uAaBk':function(_0xbe74a9,_0x322be0){return _0xbe74a9<_0x322be0;},'WfAhh':_0x56f1b5(0x156)};try{const _0x5c0247=_0x464bbb['test']['id'],_0x405640=_0x4cbe15[_0x56f1b5(0x198)](getTestRunIdentifier,_0x464bbb[_0x56f1b5(0xdf)],_0x464bbb[_0x56f1b5(0x195)][_0x56f1b5(0x1a7)]),_0x3f42f3=_0x464bbb[_0x56f1b5(0x150)],_0x106dac=_0x3f42f3['getContext'](),_0xbc7667=_0x3f42f3[_0x56f1b5(0x13f)]()[_0x56f1b5(0x1c0)](_0x405640);logger['debug']('createTestFrameworkEventPayload\x20testId:\x20'+_0x5c0247);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xa42152='',[TestFrameworkConstants[_0x56f1b5(0x11c)]]:_0x27e944='',[TestFrameworkConstants[_0x56f1b5(0x1af)]]:_0x692d3f='',[TestFrameworkConstants[_0x56f1b5(0x182)]]:_0x4c8409=''}=_0xbc7667,_0x442f5f=_0x3f42f3['getCurrentTestState']()[_0x56f1b5(0x10c)]()[_0x56f1b5(0x1cf)]('.')[0x1],_0x30583a=_0x3f42f3[_0x56f1b5(0xd7)]()['toString']()['split']('.')[0x1],_0x19d1ba=_0x4cbe15['uAaBk'](_0x464bbb?.['result']?.['parallelIndex']??0x0,0x0)?0x0:_0x464bbb?.[_0x56f1b5(0x195)]?.[_0x56f1b5(0x14b)]??0x0,_0x554791=_0x3f42f3[_0x56f1b5(0x170)](),_0x318ae7=Buffer[_0x56f1b5(0xe7)](JSON[_0x56f1b5(0x12f)](_0xbc7667))[_0x56f1b5(0x10c)](_0x4cbe15[_0x56f1b5(0x1b8)]),_0x4134c0={'hash':_0x106dac[_0x56f1b5(0x1cb)](),'threadId':_0x106dac['getThreadId']()[_0x56f1b5(0x10c)](),'processId':_0x106dac[_0x56f1b5(0x1ac)]()['toString']()},_0x1a771f={};_0x1a771f['platformIndex']=_0x19d1ba,_0x1a771f[_0x56f1b5(0x112)]=_0xa42152,_0x1a771f[_0x56f1b5(0x126)]=_0x27e944,_0x1a771f[_0x56f1b5(0x129)]=_0x442f5f,_0x1a771f[_0x56f1b5(0x191)]=_0x30583a,_0x1a771f[_0x56f1b5(0x103)]=_0x692d3f,_0x1a771f['endedAt']=_0x4c8409,_0x1a771f[_0x56f1b5(0x120)]=_0x554791,_0x1a771f[_0x56f1b5(0x11a)]=_0x318ae7,_0x1a771f['executionContext']=_0x4134c0;const _0x46ebe2=_0x1a771f;return logger[_0x56f1b5(0x172)](_0x56f1b5(0xdd)+_0x5c0247+_0x56f1b5(0x169)+_0x442f5f+_0x56f1b5(0x1b1)+_0x30583a),_0x46ebe2;}catch(_0x143880){return logger[_0x56f1b5(0x135)](_0x56f1b5(0x138)+util[_0x56f1b5(0x12a)](_0x143880)),{};}}}module[a95_0x4697c1(0x147)]=PlaywrightTestFramework;
@@ -1 +1 @@
1
- const a96_0x3e5837=a96_0x5026;function a96_0x5026(_0x4a041f,_0xa11f9c){const _0x3c677d=a96_0x3c67();return a96_0x5026=function(_0x5026eb,_0x1612a3){_0x5026eb=_0x5026eb-0x14e;let _0x170ba0=_0x3c677d[_0x5026eb];return _0x170ba0;},a96_0x5026(_0x4a041f,_0xa11f9c);}(function(_0x459188,_0x2437d4){const _0x5c12c6=a96_0x5026,_0x48d39b=_0x459188();while(!![]){try{const _0x2d63ce=parseInt(_0x5c12c6(0x151))/0x1*(-parseInt(_0x5c12c6(0x176))/0x2)+parseInt(_0x5c12c6(0x16b))/0x3*(parseInt(_0x5c12c6(0x168))/0x4)+parseInt(_0x5c12c6(0x172))/0x5*(parseInt(_0x5c12c6(0x16e))/0x6)+-parseInt(_0x5c12c6(0x173))/0x7+-parseInt(_0x5c12c6(0x174))/0x8+parseInt(_0x5c12c6(0x15b))/0x9*(parseInt(_0x5c12c6(0x171))/0xa)+-parseInt(_0x5c12c6(0x169))/0xb;if(_0x2d63ce===_0x2437d4)break;else _0x48d39b['push'](_0x48d39b['shift']());}catch(_0x2b0c2c){_0x48d39b['push'](_0x48d39b['shift']());}}}(a96_0x3c67,0x4354c));const AutomationFramework=require(a96_0x3e5837(0x152)),{createClassLogger}=require('../../../helpers/classLogger.js'),AutomationFrameworkState=require(a96_0x3e5837(0x158)),HookState=require(a96_0x3e5837(0x16c)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a96_0x3e5837(0x14e));class PuppeteerAutomationFramework extends AutomationFramework{[a96_0x3e5837(0x161)]=createClassLogger(a96_0x3e5837(0x163));constructor(_0x20e5db,_0x48ff43){super(_0x20e5db,_0x48ff43);}async['trackEvent'](_0xa2d545,_0x234bca,_0x4c1f31={}){const _0x9c48db=a96_0x3e5837,_0x2a5a7a={};_0x2a5a7a[_0x9c48db(0x175)]=function(_0x1fd441,_0x3a937b){return _0x1fd441===_0x3a937b;},_0x2a5a7a[_0x9c48db(0x178)]=_0x9c48db(0x154);const _0x2c64d5=_0x2a5a7a;this['logger'][_0x9c48db(0x153)]('trackEvent:\x20automationFrameworkState='+_0xa2d545+_0x9c48db(0x177)+_0x234bca),await super[_0x9c48db(0x164)](_0xa2d545,_0x234bca,_0x4c1f31);const _0x50c08a=this[_0x9c48db(0x156)](_0xa2d545,_0x234bca,_0x4c1f31);if(_0x2c64d5[_0x9c48db(0x175)](_0x50c08a,null)){this[_0x9c48db(0x161)][_0x9c48db(0x153)](_0x2c64d5['kAjDd']);return;}_0x4c1f31[_0x9c48db(0x15e)]=_0x50c08a,await this['runHooks'](_0x50c08a,_0xa2d545,_0x234bca,_0x4c1f31);}[a96_0x3e5837(0x156)](_0x3b0e85,_0xe2315b,_0x1d7728={}){const _0x4e77bf=a96_0x3e5837,_0x486aef={};_0x486aef[_0x4e77bf(0x167)]=function(_0x4be47b,_0x3fbdbb){return _0x4be47b===_0x3fbdbb;},_0x486aef[_0x4e77bf(0x162)]=function(_0x3c058f,_0xf1f4e6){return _0x3c058f===_0xf1f4e6;};const _0x1cd587=_0x486aef;let _0x107ea8=null;return(_0x1cd587[_0x4e77bf(0x167)](_0x3b0e85,AutomationFrameworkState[_0x4e77bf(0x15c)])&&_0x1cd587[_0x4e77bf(0x167)](_0xe2315b,HookState[_0x4e77bf(0x15f)])||_0x1cd587[_0x4e77bf(0x162)](_0x3b0e85,AutomationFrameworkState[_0x4e77bf(0x16f)]))&&this[_0x4e77bf(0x170)](_0x3b0e85,_0x1d7728),_0x107ea8=AutomationFramework['getTrackedInstance'](),_0x107ea8;}[a96_0x3e5837(0x170)](_0x4bcfc7,_0x34318b){const _0x4020ab=a96_0x3e5837,_0x236f38={};_0x236f38[_0x4020ab(0x160)]=_0x4020ab(0x159);const _0x1d25ac=_0x236f38;if(AutomationFramework[_0x4020ab(0x14f)]()){this[_0x4020ab(0x161)][_0x4020ab(0x16a)](_0x1d25ac['iyyKf']);return;}const _0xb5818b=CLIUtils[_0x4020ab(0x165)](),_0x309ccd=TrackedInstance[_0x4020ab(0x150)](_0xb5818b);let _0x5a4921=null;this[_0x4020ab(0x161)][_0x4020ab(0x16a)]('trackPuppeteerInstance:\x20created\x20instance\x20for\x20target='+_0xb5818b+',\x20state='+_0x4bcfc7),_0x5a4921=new AutomationFrameworkInstance(_0x309ccd,this['getAutomationFrameworkName'](),this[_0x4020ab(0x155)](),_0x4bcfc7),AutomationFramework[_0x4020ab(0x16d)](_0x309ccd,_0x5a4921),this[_0x4020ab(0x161)]['info'](_0x4020ab(0x15a)+_0x309ccd[_0x4020ab(0x15d)]()+_0x4020ab(0x157)+_0xb5818b);}}function a96_0x3c67(){const _0x176f0c=['trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','2307366AfEisg','CREATE','getId','instance','PRE','iyyKf','logger','ixDYf','PuppeteerAutomationFramework','trackEvent','getCurrentInstanceName','exports','nGgIe','36BTVIBP','748737sYrWsw','info','84426jiePCg','../state/hookState.js','setTrackedInstance','356994rtasVK','NONE','trackPuppeteerInstance','10JoUqUj','45utZlSz','701211mNtlMs','1666560dovBLS','EhWCI','60430iUhmzq','\x20hookState=','kAjDd','../instances/automationFrameworkInstance.js','getTrackedInstance','createContext','13LSoqUb','./automationFramework.js','debug','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','getAutomationFrameworkVersion','resolveInstance','\x20target=','../state/automationFrameworkState.js','trackPuppeteerInstance:\x20instance\x20already\x20exists'];a96_0x3c67=function(){return _0x176f0c;};return a96_0x3c67();}module[a96_0x3e5837(0x166)]=PuppeteerAutomationFramework;
1
+ const a96_0x32af22=a96_0x2359;(function(_0x37446d,_0xb1653e){const _0x545d42=a96_0x2359,_0x3e08f6=_0x37446d();while(!![]){try{const _0x1842a7=-parseInt(_0x545d42(0xd4))/0x1*(-parseInt(_0x545d42(0xb9))/0x2)+parseInt(_0x545d42(0xc4))/0x3*(parseInt(_0x545d42(0xce))/0x4)+parseInt(_0x545d42(0xc5))/0x5*(parseInt(_0x545d42(0xc1))/0x6)+parseInt(_0x545d42(0xba))/0x7*(parseInt(_0x545d42(0xb1))/0x8)+-parseInt(_0x545d42(0xae))/0x9*(parseInt(_0x545d42(0xa9))/0xa)+-parseInt(_0x545d42(0xc3))/0xb*(parseInt(_0x545d42(0xc9))/0xc)+-parseInt(_0x545d42(0xcb))/0xd;if(_0x1842a7===_0xb1653e)break;else _0x3e08f6['push'](_0x3e08f6['shift']());}catch(_0x8ad7fa){_0x3e08f6['push'](_0x3e08f6['shift']());}}}(a96_0x316d,0xdaeb9));function a96_0x316d(){const _0x187674=['getId','24AzjVdk','getAutomationFrameworkName','4311307WvqdET','QLcYN','PuppeteerAutomationFramework','8QzRLYa','trackPuppeteerInstance','trackEvent:\x20automationFrameworkState=','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','runHooks','eSobY','8IYDVXU','CREATE','debug','3997050WRHqXG','getCurrentInstanceName','exports','resolveInstance','./automationFramework.js','9cRBUFo','\x20target=','setTrackedInstance','8QAnMMT','LieZx','getTrackedInstance','../instances/trackedInstance.js',',\x20state=','../instances/automationFrameworkInstance.js','../../../helpers/classLogger.js','info','32758GrpxhW','979741ERhyOQ','toazz','../state/hookState.js','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','logger','getAutomationFrameworkVersion','PRE','7788NbGlVX','instance','6257207ithIyb','1310277eYmaPx','6245uZRUwL','nyZiq','trackEvent'];a96_0x316d=function(){return _0x187674;};return a96_0x316d();}function a96_0x2359(_0x1e99ff,_0x155c80){const _0x316db6=a96_0x316d();return a96_0x2359=function(_0x235932,_0x22f527){_0x235932=_0x235932-0xa7;let _0xe9719a=_0x316db6[_0x235932];return _0xe9719a;},a96_0x2359(_0x1e99ff,_0x155c80);}const AutomationFramework=require(a96_0x32af22(0xad)),{createClassLogger}=require(a96_0x32af22(0xb7)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a96_0x32af22(0xbc)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a96_0x32af22(0xb4)),AutomationFrameworkInstance=require(a96_0x32af22(0xb6));class PuppeteerAutomationFramework extends AutomationFramework{[a96_0x32af22(0xbe)]=createClassLogger(a96_0x32af22(0xcd));constructor(_0x476257,_0x17cdb4){super(_0x476257,_0x17cdb4);}async[a96_0x32af22(0xc7)](_0x45ffa5,_0x2975a9,_0x24a173={}){const _0x5a85c0=a96_0x32af22,_0x50a824={};_0x50a824[_0x5a85c0(0xcc)]=function(_0x164e63,_0x1237a7){return _0x164e63===_0x1237a7;},_0x50a824[_0x5a85c0(0xb2)]=_0x5a85c0(0xbd);const _0xdac15d=_0x50a824;this[_0x5a85c0(0xbe)]['debug'](_0x5a85c0(0xd0)+_0x45ffa5+'\x20hookState='+_0x2975a9),await super[_0x5a85c0(0xc7)](_0x45ffa5,_0x2975a9,_0x24a173);const _0x528e8b=this[_0x5a85c0(0xac)](_0x45ffa5,_0x2975a9,_0x24a173);if(_0xdac15d[_0x5a85c0(0xcc)](_0x528e8b,null)){this[_0x5a85c0(0xbe)][_0x5a85c0(0xa8)](_0xdac15d['LieZx']);return;}_0x24a173[_0x5a85c0(0xc2)]=_0x528e8b,await this[_0x5a85c0(0xd2)](_0x528e8b,_0x45ffa5,_0x2975a9,_0x24a173);}[a96_0x32af22(0xac)](_0x5caa8b,_0x1cd917,_0x451681={}){const _0x1e1120=a96_0x32af22,_0x45e9fe={};_0x45e9fe[_0x1e1120(0xc6)]=function(_0x5be814,_0xf9abcb){return _0x5be814===_0xf9abcb;},_0x45e9fe['toazz']=function(_0x288e5d,_0x39f383){return _0x288e5d===_0x39f383;};const _0x800345=_0x45e9fe;let _0xda1730=null;return(_0x800345['nyZiq'](_0x5caa8b,AutomationFrameworkState[_0x1e1120(0xa7)])&&_0x800345[_0x1e1120(0xbb)](_0x1cd917,HookState[_0x1e1120(0xc0)])||_0x800345['nyZiq'](_0x5caa8b,AutomationFrameworkState['NONE']))&&this[_0x1e1120(0xcf)](_0x5caa8b,_0x451681),_0xda1730=AutomationFramework[_0x1e1120(0xb3)](),_0xda1730;}[a96_0x32af22(0xcf)](_0x5b0250,_0x18613d){const _0x28373d=a96_0x32af22,_0x44d0d7={};_0x44d0d7[_0x28373d(0xd3)]='trackPuppeteerInstance:\x20instance\x20already\x20exists';const _0x52a57e=_0x44d0d7;if(AutomationFramework[_0x28373d(0xb3)]()){this[_0x28373d(0xbe)][_0x28373d(0xb8)](_0x52a57e[_0x28373d(0xd3)]);return;}const _0x556d7e=CLIUtils[_0x28373d(0xaa)](),_0x47d82f=TrackedInstance['createContext'](_0x556d7e);let _0x846bf4=null;this[_0x28373d(0xbe)][_0x28373d(0xb8)](_0x28373d(0xd1)+_0x556d7e+_0x28373d(0xb5)+_0x5b0250),_0x846bf4=new AutomationFrameworkInstance(_0x47d82f,this[_0x28373d(0xca)](),this[_0x28373d(0xbf)](),_0x5b0250),AutomationFramework[_0x28373d(0xb0)](_0x47d82f,_0x846bf4),this['logger']['info']('trackPuppeteerInstance:\x20saved\x20instance\x20contextId='+_0x47d82f[_0x28373d(0xc8)]()+_0x28373d(0xaf)+_0x556d7e);}}module[a96_0x32af22(0xab)]=PuppeteerAutomationFramework;
@@ -1 +1 @@
1
- function a97_0x5b99(){const _0x5d7641=['runHooks','4120876hjTYYk','testFrameworks','instances','../state/testFrameworkState','19460kKlAlu','../eventDispatcher','22045wiSlrn','39833486thgtlO','7bPVXUD','TestFramework','getId','getTestFrameworks','testFrameworkVersions','setInstance','../cliUtils','getInstances','../instances/trackedContext','registerObserver','setCurrentTestState','getHookRegistryKey','12VdUndk','set','6198160Kzqaug','3051rbDpQT','getCurrentInstanceName','getTrackedInstance','5437985sYOpud','52XIFruP','exports','__bstack_test_framework_instances__','trackEvent:\x20testFrameworkState=','../instances/trackedInstance','3zehrDS','get','10361238EAUegO','../state/hookState','getAllData','hasState','../instances/testFrameworkInstance','notifyObserver','binSessionId'];a97_0x5b99=function(){return _0x5d7641;};return a97_0x5b99();}function a97_0x461d(_0x56eef7,_0x42ea09){const _0x5b99c3=a97_0x5b99();return a97_0x461d=function(_0x461d5a,_0x5096c4){_0x461d5a=_0x461d5a-0xb1;let _0x32bf9f=_0x5b99c3[_0x461d5a];return _0x32bf9f;},a97_0x461d(_0x56eef7,_0x42ea09);}const a97_0x5e7687=a97_0x461d;(function(_0x4684da,_0x3cc476){const _0x28a957=a97_0x461d,_0x7273e5=_0x4684da();while(!![]){try{const _0x50bf59=parseInt(_0x28a957(0xc2))/0x1*(parseInt(_0x28a957(0xd7))/0x2)+-parseInt(_0x28a957(0xb2))/0x3*(-parseInt(_0x28a957(0xbc))/0x4)+-parseInt(_0x28a957(0xd6))/0x5+-parseInt(_0x28a957(0xb4))/0x6*(parseInt(_0x28a957(0xc4))/0x7)+-parseInt(_0x28a957(0xd2))/0x8+-parseInt(_0x28a957(0xd3))/0x9*(parseInt(_0x28a957(0xc0))/0xa)+parseInt(_0x28a957(0xc3))/0xb*(parseInt(_0x28a957(0xd0))/0xc);if(_0x50bf59===_0x3cc476)break;else _0x7273e5['push'](_0x7273e5['shift']());}catch(_0xfcf64e){_0x7273e5['push'](_0x7273e5['shift']());}}}(a97_0x5b99,0xee341));const CLIUtils=require(a97_0x5e7687(0xca)),eventDispatcher=require(a97_0x5e7687(0xc1)),TestFrameworkInstance=require(a97_0x5e7687(0xb8)),TrackedContext=require(a97_0x5e7687(0xcc)),TestFrameworkState=require(a97_0x5e7687(0xbf)),HookState=require(a97_0x5e7687(0xb5)),{createClassLogger}=require('../../../helpers/classLogger'),TrackedInstance=require(a97_0x5e7687(0xb1)),logger=createClassLogger(a97_0x5e7687(0xc5));!global[a97_0x5e7687(0xd9)]&&(global[a97_0x5e7687(0xd9)]=new Map());class TestFramework{static get['instances'](){const _0x59c3a5=a97_0x5e7687;return global[_0x59c3a5(0xd9)];}[a97_0x5e7687(0xbd)]=[];[a97_0x5e7687(0xc8)]={};[a97_0x5e7687(0xba)]=null;constructor(_0xf594b6,_0x29a2f7,_0x5015d5){const _0x3bb6e8=a97_0x5e7687;this['testFrameworks']=_0xf594b6,this['testFrameworkVersions']=_0x29a2f7,this[_0x3bb6e8(0xba)]=_0x5015d5;}[a97_0x5e7687(0xcb)](){const _0x18ae29=a97_0x5e7687;return TestFramework[_0x18ae29(0xbe)];}[a97_0x5e7687(0xc9)](_0x554b90,_0x3f5675){const _0x1216c6=a97_0x5e7687;TestFramework[_0x1216c6(0xbe)][_0x1216c6(0xd1)](_0x554b90['getId'],_0x3f5675);}static[a97_0x5e7687(0xd5)](){const _0x532c7a=a97_0x5e7687,_0x14da9e=TrackedInstance['createContext'](CLIUtils[_0x532c7a(0xd4)]());return TestFramework['instances'][_0x532c7a(0xb3)](_0x14da9e[_0x532c7a(0xc6)]());}static['setTrackedInstance'](_0x592b05,_0x408ad2){const _0x11b56f=a97_0x5e7687;TestFramework[_0x11b56f(0xbe)][_0x11b56f(0xd1)](_0x592b05[_0x11b56f(0xc6)](),_0x408ad2);}['getTestFrameworksVersions'](){const _0x1f16e4=a97_0x5e7687;return this[_0x1f16e4(0xc8)];}[a97_0x5e7687(0xc7)](){return this['testFrameworks'];}['trackEvent'](_0x173d3e,_0x18dcd6,_0x3fcd70={}){const _0x20665b=a97_0x5e7687;logger['debug'](_0x20665b(0xda)+_0x173d3e+';\x20hookState='+_0x18dcd6);}async[a97_0x5e7687(0xbb)](_0x22956c,_0x4546d6,_0x5ecb3c,_0x225af3={}){const _0x5b4b61=a97_0x5e7687,_0xcc4fc3=CLIUtils[_0x5b4b61(0xcf)](_0x4546d6,_0x5ecb3c);_0x22956c[_0x5b4b61(0xce)](_0x4546d6),_0x22956c['setCurrentHookState'](_0x5ecb3c),await eventDispatcher[_0x5b4b61(0xb9)](_0xcc4fc3,_0x225af3);}static['registerObserver'](_0x1b3d94,_0x5d4983,_0x5310c7){const _0x4c562f=a97_0x5e7687;eventDispatcher[_0x4c562f(0xcd)](CLIUtils[_0x4c562f(0xcf)](_0x1b3d94,_0x5d4983),_0x5310c7);}static['getState'](_0x255624,_0x4c80c8){const _0x41b131=a97_0x5e7687;return _0x255624[_0x41b131(0xb6)]()[_0x41b131(0xb3)](_0x4c80c8);}static['setState'](_0x48090d,_0x1f64b0,_0x5a455e){const _0x2bf0de=a97_0x5e7687;_0x48090d[_0x2bf0de(0xb6)]()[_0x2bf0de(0xd1)](_0x1f64b0,_0x5a455e);}static[a97_0x5e7687(0xb7)](_0x5065ee,_0x5b4ce7){const _0x3902d0=a97_0x5e7687;return _0x5065ee[_0x3902d0(0xb6)]()['has'](_0x5b4ce7);}}module[a97_0x5e7687(0xd8)]=TestFramework;
1
+ const a97_0x3ad2f9=a97_0x3162;(function(_0x2f7986,_0x23464d){const _0x26450e=a97_0x3162,_0x561ab=_0x2f7986();while(!![]){try{const _0x88d3cc=parseInt(_0x26450e(0xea))/0x1*(-parseInt(_0x26450e(0xfb))/0x2)+-parseInt(_0x26450e(0xef))/0x3*(parseInt(_0x26450e(0xde))/0x4)+-parseInt(_0x26450e(0xfd))/0x5*(parseInt(_0x26450e(0xe5))/0x6)+parseInt(_0x26450e(0xdf))/0x7*(-parseInt(_0x26450e(0xf8))/0x8)+parseInt(_0x26450e(0xe7))/0x9*(-parseInt(_0x26450e(0xe6))/0xa)+-parseInt(_0x26450e(0xe8))/0xb*(-parseInt(_0x26450e(0xed))/0xc)+parseInt(_0x26450e(0xf4))/0xd;if(_0x88d3cc===_0x23464d)break;else _0x561ab['push'](_0x561ab['shift']());}catch(_0x3b6a88){_0x561ab['push'](_0x561ab['shift']());}}}(a97_0x53b3,0xf0248));const CLIUtils=require(a97_0x3ad2f9(0xfe)),eventDispatcher=require(a97_0x3ad2f9(0xfc)),TestFrameworkInstance=require(a97_0x3ad2f9(0xdb)),TrackedContext=require(a97_0x3ad2f9(0xeb)),TestFrameworkState=require(a97_0x3ad2f9(0xe4)),HookState=require(a97_0x3ad2f9(0xd5)),{createClassLogger}=require(a97_0x3ad2f9(0xe0)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger('TestFramework');!global[a97_0x3ad2f9(0xf9)]&&(global[a97_0x3ad2f9(0xf9)]=new Map());function a97_0x53b3(){const _0x5a3b81=['621kYMfbl','hasState','get','has','trackEvent','54446210jVrAFw','setState','testFrameworkVersions','getTrackedInstance','20704zHpWIq','__bstack_test_framework_instances__','registerObserver','44wZtlBj','../eventDispatcher','75wdnkuH','../cliUtils','setTrackedInstance','createContext','getAllData','../state/hookState','notifyObserver','testFrameworks','debug',';\x20hookState=','runHooks','../instances/testFrameworkInstance','getTestFrameworksVersions','binSessionId','2116sbAqSu','3584XvWTWo','../../../helpers/classLogger','getHookRegistryKey','getState','setInstance','../state/testFrameworkState','531780ErtIPu','30JJgtoQ','1705671kOdBTo','44YQyBlq','getId','52222nlZJwn','../instances/trackedContext','instances','3830712EfHZXG','set'];a97_0x53b3=function(){return _0x5a3b81;};return a97_0x53b3();}function a97_0x3162(_0x49384d,_0x55f6a6){const _0x53b3cc=a97_0x53b3();return a97_0x3162=function(_0x31620a,_0x29e275){_0x31620a=_0x31620a-0xd4;let _0x4a5b3f=_0x53b3cc[_0x31620a];return _0x4a5b3f;},a97_0x3162(_0x49384d,_0x55f6a6);}class TestFramework{static get[a97_0x3ad2f9(0xec)](){const _0x150769=a97_0x3ad2f9;return global[_0x150769(0xf9)];}['testFrameworks']=[];[a97_0x3ad2f9(0xf6)]={};[a97_0x3ad2f9(0xdd)]=null;constructor(_0x216480,_0x4bb935,_0x53d0ce){const _0x22f014=a97_0x3ad2f9;this[_0x22f014(0xd7)]=_0x216480,this[_0x22f014(0xf6)]=_0x4bb935,this['binSessionId']=_0x53d0ce;}['getInstances'](){const _0x5a87dc=a97_0x3ad2f9;return TestFramework[_0x5a87dc(0xec)];}[a97_0x3ad2f9(0xe3)](_0x11a802,_0xaa55ae){const _0xf2f3f7=a97_0x3ad2f9;TestFramework[_0xf2f3f7(0xec)][_0xf2f3f7(0xee)](_0x11a802[_0xf2f3f7(0xe9)],_0xaa55ae);}static[a97_0x3ad2f9(0xf7)](){const _0x1c263d=a97_0x3ad2f9,_0x32e3d6=TrackedInstance[_0x1c263d(0x100)](CLIUtils['getCurrentInstanceName']());return TestFramework[_0x1c263d(0xec)]['get'](_0x32e3d6[_0x1c263d(0xe9)]());}static[a97_0x3ad2f9(0xff)](_0x4050c5,_0x3c94ff){const _0x31900b=a97_0x3ad2f9;TestFramework[_0x31900b(0xec)][_0x31900b(0xee)](_0x4050c5[_0x31900b(0xe9)](),_0x3c94ff);}[a97_0x3ad2f9(0xdc)](){const _0x316fa5=a97_0x3ad2f9;return this[_0x316fa5(0xf6)];}['getTestFrameworks'](){return this['testFrameworks'];}[a97_0x3ad2f9(0xf3)](_0x5b4dad,_0x5c1f8c,_0xa26439={}){const _0x40343c=a97_0x3ad2f9;logger[_0x40343c(0xd8)]('trackEvent:\x20testFrameworkState='+_0x5b4dad+_0x40343c(0xd9)+_0x5c1f8c);}async[a97_0x3ad2f9(0xda)](_0x6781f0,_0x44658e,_0x2ffbdc,_0x324728={}){const _0x20978f=a97_0x3ad2f9,_0x38747d=CLIUtils['getHookRegistryKey'](_0x44658e,_0x2ffbdc);_0x6781f0['setCurrentTestState'](_0x44658e),_0x6781f0['setCurrentHookState'](_0x2ffbdc),await eventDispatcher[_0x20978f(0xd6)](_0x38747d,_0x324728);}static[a97_0x3ad2f9(0xfa)](_0x41ae58,_0x452619,_0xe2a268){const _0x3d4744=a97_0x3ad2f9;eventDispatcher[_0x3d4744(0xfa)](CLIUtils[_0x3d4744(0xe1)](_0x41ae58,_0x452619),_0xe2a268);}static[a97_0x3ad2f9(0xe2)](_0x282d1e,_0x1cd0db){const _0x499a67=a97_0x3ad2f9;return _0x282d1e[_0x499a67(0xd4)]()[_0x499a67(0xf1)](_0x1cd0db);}static[a97_0x3ad2f9(0xf5)](_0x593e4a,_0xf8ede6,_0x4f019e){const _0x5f4db1=a97_0x3ad2f9;_0x593e4a[_0x5f4db1(0xd4)]()[_0x5f4db1(0xee)](_0xf8ede6,_0x4f019e);}static[a97_0x3ad2f9(0xf0)](_0x3b5191,_0x27193b){const _0x33c914=a97_0x3ad2f9;return _0x3b5191[_0x33c914(0xd4)]()[_0x33c914(0xf2)](_0x27193b);}}module['exports']=TestFramework;
@@ -1 +1 @@
1
- 'use strict';const a98_0x3ec01b=a98_0x1536;(function(_0x58f789,_0x45c023){const _0x3abd1c=a98_0x1536,_0x2e6a25=_0x58f789();while(!![]){try{const _0x44bec9=parseInt(_0x3abd1c(0xd1))/0x1+-parseInt(_0x3abd1c(0xe7))/0x2+parseInt(_0x3abd1c(0xd3))/0x3*(-parseInt(_0x3abd1c(0xf4))/0x4)+-parseInt(_0x3abd1c(0xd7))/0x5*(parseInt(_0x3abd1c(0xd9))/0x6)+parseInt(_0x3abd1c(0xee))/0x7+parseInt(_0x3abd1c(0xf2))/0x8+-parseInt(_0x3abd1c(0xe5))/0x9*(-parseInt(_0x3abd1c(0xcd))/0xa);if(_0x44bec9===_0x45c023)break;else _0x2e6a25['push'](_0x2e6a25['shift']());}catch(_0x1a6f21){_0x2e6a25['push'](_0x2e6a25['shift']());}}}(a98_0x10b8,0xdb840));function a98_0x1536(_0x4896db,_0x5d11e8){const _0x10b860=a98_0x10b8();return a98_0x1536=function(_0x15368e,_0x62b22a){_0x15368e=_0x15368e-0xca;let _0xfd85fd=_0x10b860[_0x15368e];return _0xfd85fd;},a98_0x1536(_0x4896db,_0x5d11e8);}const AutomationFramework=require(a98_0x3ec01b(0xcf)),AutomationFrameworkInstance=require(a98_0x3ec01b(0xe2)),AutomationFrameworkState=require(a98_0x3ec01b(0xce)),TrackedInstance=require('../instances/trackedInstance.js'),{createClassLogger}=require(a98_0x3ec01b(0xda)),logger=createClassLogger(a98_0x3ec01b(0xde));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x222366,_0x497788){super(_0x222366,_0x497788);}async[a98_0x3ec01b(0xdb)](_0x14c8df,_0x26b995,_0x819410={}){const _0x4b802a=a98_0x3ec01b;await super[_0x4b802a(0xdb)](_0x14c8df,_0x26b995,_0x819410);const _0x4c4239=this[_0x4b802a(0xf5)](_0x14c8df,_0x26b995,_0x819410);if(!_0x4c4239){logger['debug'](_0x4b802a(0xf6)+_0x14c8df+'\x20hookState='+_0x26b995);return;}_0x819410['instance']=_0x4c4239,await this[_0x4b802a(0xca)](_0x4c4239,_0x14c8df,_0x26b995,_0x819410);}[a98_0x3ec01b(0xf5)](_0x24c020,_0x4329bd,_0x1b1056={}){const _0x4a4693=a98_0x3ec01b,_0x7661b9={};_0x7661b9[_0x4a4693(0xec)]=_0x4a4693(0xcb),_0x7661b9[_0x4a4693(0xdf)]=function(_0xa32d7d,_0x4849a2){return _0xa32d7d===_0x4849a2;},_0x7661b9[_0x4a4693(0xe0)]=function(_0x1a0adc,_0x2870d7){return _0x1a0adc||_0x2870d7;};const _0x55f259=_0x7661b9,_0x20cfd8=_0x1b1056[_0x4a4693(0xe6)]||null;if(!_0x20cfd8)return logger[_0x4a4693(0xe9)](_0x55f259[_0x4a4693(0xec)]),AutomationFramework[_0x4a4693(0xeb)]();const _0x5380af=Number[_0x4a4693(0xd0)](_0x1b1056[_0x4a4693(0xf3)])?_0x1b1056[_0x4a4693(0xf3)]:0x0,_0x83f2ef=_0x4a4693(0xea)+_0x20cfd8+'#'+_0x5380af;let _0xf1af9c=AutomationFramework['instances'][_0x4a4693(0xd4)](_0x83f2ef);if(!_0xf1af9c&&(_0x55f259[_0x4a4693(0xdf)](_0x24c020,AutomationFrameworkState['CREATE'])||_0x55f259[_0x4a4693(0xdf)](_0x24c020,AutomationFrameworkState[_0x4a4693(0xcc)]))){const _0x9ae7b9=TrackedInstance['createContext'](_0x83f2ef);_0xf1af9c=new AutomationFrameworkInstance(_0x9ae7b9,this['getAutomationFrameworkName'](),this['getAutomationFrameworkVersion'](),_0x24c020),AutomationFramework[_0x4a4693(0xd8)]['set'](_0x83f2ef,_0xf1af9c),logger['info'](_0x4a4693(0xe4)+_0x20cfd8+_0x4a4693(0xe8)+_0x5380af+_0x4a4693(0xf9)+_0x83f2ef);}return _0x55f259[_0x4a4693(0xe0)](_0xf1af9c,null);}static[a98_0x3ec01b(0xdd)](_0x3ff97d,_0x206e9e=0x0){const _0x222df9=a98_0x3ec01b,_0x476fa0=_0x222df9(0xea)+_0x3ff97d+'#'+_0x206e9e;return AutomationFramework['instances'][_0x222df9(0xd5)](_0x476fa0);}static[a98_0x3ec01b(0xf1)](_0x4cb825,_0x521906=0x0){const _0x23b369=a98_0x3ec01b;return AutomationFramework['instances']['get'](_0x23b369(0xea)+_0x4cb825+'#'+_0x521906)||null;}static*['iterAllInstances'](){const _0x384e15=a98_0x3ec01b,_0x4874e6={};_0x4874e6[_0x384e15(0xf0)]=function(_0x219dc2,_0x5899f4){return _0x219dc2===_0x5899f4;},_0x4874e6[_0x384e15(0xe1)]='string',_0x4874e6['OARUD']='testcafe:',_0x4874e6[_0x384e15(0xf8)]=function(_0x1f09a1,_0x31f063){return _0x1f09a1+_0x31f063;};const _0xad80e2=_0x4874e6;for(const [_0x137e84,_0x4eb30d]of AutomationFramework[_0x384e15(0xd8)]['entries']()){if(_0xad80e2[_0x384e15(0xf0)](typeof _0x137e84,_0xad80e2['nFReB'])&&_0x137e84['startsWith'](_0xad80e2[_0x384e15(0xdc)])){const _0x16042=_0x137e84[_0x384e15(0xe3)](_0xad80e2[_0x384e15(0xdc)][_0x384e15(0xef)]),_0x2093ac=_0x16042[_0x384e15(0xed)]('#');if(_0xad80e2[_0x384e15(0xf0)](_0x2093ac,-0x1)){const _0x46ef02={};_0x46ef02[_0x384e15(0xe6)]=_0x16042,_0x46ef02[_0x384e15(0xf3)]=0x0,_0x46ef02['instance']=_0x4eb30d,yield _0x46ef02;}else{const _0x7030f6=_0x16042[_0x384e15(0xe3)](0x0,_0x2093ac),_0x455327=Number[_0x384e15(0xd6)](_0x16042[_0x384e15(0xe3)](_0xad80e2[_0x384e15(0xf8)](_0x2093ac,0x1)),0xa)||0x0,_0x943832={};_0x943832[_0x384e15(0xe6)]=_0x7030f6,_0x943832['platformIndex']=_0x455327,_0x943832[_0x384e15(0xf7)]=_0x4eb30d,yield _0x943832;}}}}}module[a98_0x3ec01b(0xd2)]=TestCafeAutomationFramework;function a98_0x10b8(){const _0x5ad997=['../instances/automationFrameworkInstance.js','slice','resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22','9002439DCFpXN','userAgent','328600yGJOWq','\x22\x20platformIndex=','warn','testcafe:','getTrackedInstance','JIIlR','lastIndexOf','4653229tDsXGb','length','tmodU','getInstanceByUserAgent','3597144nuuSJi','platformIndex','20XvkZrf','resolveInstance','trackEvent:\x20no\x20instance\x20for\x20state=','instance','LElIM','\x20→\x20','runHooks','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','NONE','10eZNYdw','../state/automationFrameworkState.js','./automationFramework.js','isInteger','431728trCgJe','exports','231696PXmSxD','get','delete','parseInt','5EaMGOj','instances','6580758bVVxEB','../../../helpers/classLogger.js','trackEvent','OARUD','removeInstance','TestCafeAutomationFramework','gkQWn','gTgSj','nFReB'];a98_0x10b8=function(){return _0x5ad997;};return a98_0x10b8();}
1
+ 'use strict';const a98_0x289baf=a98_0x3e8f;(function(_0x2fd2a9,_0x3c684d){const _0x8d82fc=a98_0x3e8f,_0x302c0f=_0x2fd2a9();while(!![]){try{const _0x37a869=-parseInt(_0x8d82fc(0x18a))/0x1+-parseInt(_0x8d82fc(0x173))/0x2+-parseInt(_0x8d82fc(0x176))/0x3+-parseInt(_0x8d82fc(0x178))/0x4+parseInt(_0x8d82fc(0x180))/0x5*(-parseInt(_0x8d82fc(0x172))/0x6)+parseInt(_0x8d82fc(0x189))/0x7*(-parseInt(_0x8d82fc(0x188))/0x8)+-parseInt(_0x8d82fc(0x184))/0x9*(-parseInt(_0x8d82fc(0x186))/0xa);if(_0x37a869===_0x3c684d)break;else _0x302c0f['push'](_0x302c0f['shift']());}catch(_0x49a958){_0x302c0f['push'](_0x302c0f['shift']());}}}(a98_0x38a8,0x1df2f));function a98_0x3e8f(_0x586cd2,_0x58b7f8){const _0x38a87d=a98_0x38a8();return a98_0x3e8f=function(_0x3e8fb9,_0x1fddf9){_0x3e8fb9=_0x3e8fb9-0x15d;let _0x4b8585=_0x38a87d[_0x3e8fb9];return _0x4b8585;},a98_0x3e8f(_0x586cd2,_0x58b7f8);}const AutomationFramework=require(a98_0x289baf(0x164)),AutomationFrameworkInstance=require(a98_0x289baf(0x18d)),AutomationFrameworkState=require(a98_0x289baf(0x175)),TrackedInstance=require('../instances/trackedInstance.js'),{createClassLogger}=require(a98_0x289baf(0x183)),logger=createClassLogger(a98_0x289baf(0x17e));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x193c9e,_0x4e0ba6){super(_0x193c9e,_0x4e0ba6);}async[a98_0x289baf(0x16c)](_0x4a4888,_0x446bd3,_0xe9d47d={}){const _0x5aa8fd=a98_0x289baf;await super[_0x5aa8fd(0x16c)](_0x4a4888,_0x446bd3,_0xe9d47d);const _0x42a14c=this[_0x5aa8fd(0x17a)](_0x4a4888,_0x446bd3,_0xe9d47d);if(!_0x42a14c){logger[_0x5aa8fd(0x162)]('trackEvent:\x20no\x20instance\x20for\x20state='+_0x4a4888+'\x20hookState='+_0x446bd3);return;}_0xe9d47d[_0x5aa8fd(0x15e)]=_0x42a14c,await this[_0x5aa8fd(0x163)](_0x42a14c,_0x4a4888,_0x446bd3,_0xe9d47d);}[a98_0x289baf(0x17a)](_0x1ca6b2,_0x526f6,_0xcaa455={}){const _0x4d49b2=a98_0x289baf,_0x3acdd1={};_0x3acdd1[_0x4d49b2(0x18c)]='resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance',_0x3acdd1[_0x4d49b2(0x185)]=function(_0x16626b,_0x577e17){return _0x16626b===_0x577e17;},_0x3acdd1[_0x4d49b2(0x174)]=function(_0x187bbe,_0x1e479e){return _0x187bbe===_0x1e479e;},_0x3acdd1[_0x4d49b2(0x181)]=function(_0x3ed225,_0x4ca142){return _0x3ed225||_0x4ca142;};const _0x860c9d=_0x3acdd1,_0x8f81cc=_0xcaa455[_0x4d49b2(0x169)]||null;if(!_0x8f81cc)return logger[_0x4d49b2(0x179)](_0x860c9d[_0x4d49b2(0x18c)]),AutomationFramework[_0x4d49b2(0x15d)]();const _0x31df85=Number[_0x4d49b2(0x17f)](_0xcaa455[_0x4d49b2(0x165)])?_0xcaa455['platformIndex']:0x0,_0x10c6f0='testcafe:'+_0x8f81cc+'#'+_0x31df85;let _0x1494df=AutomationFramework[_0x4d49b2(0x171)][_0x4d49b2(0x16b)](_0x10c6f0);if(!_0x1494df&&(_0x860c9d['KxqMR'](_0x1ca6b2,AutomationFrameworkState[_0x4d49b2(0x170)])||_0x860c9d[_0x4d49b2(0x174)](_0x1ca6b2,AutomationFrameworkState['NONE']))){const _0x416781=TrackedInstance[_0x4d49b2(0x182)](_0x10c6f0);_0x1494df=new AutomationFrameworkInstance(_0x416781,this['getAutomationFrameworkName'](),this['getAutomationFrameworkVersion'](),_0x1ca6b2),AutomationFramework[_0x4d49b2(0x171)]['set'](_0x10c6f0,_0x1494df),logger['info'](_0x4d49b2(0x15f)+_0x8f81cc+'\x22\x20platformIndex='+_0x31df85+_0x4d49b2(0x16a)+_0x10c6f0);}return _0x860c9d[_0x4d49b2(0x181)](_0x1494df,null);}static[a98_0x289baf(0x167)](_0x29e3f3,_0x2a0109=0x0){const _0xb67322=a98_0x289baf,_0x2942bb=_0xb67322(0x187)+_0x29e3f3+'#'+_0x2a0109;return AutomationFramework[_0xb67322(0x171)][_0xb67322(0x17b)](_0x2942bb);}static['getInstanceByUserAgent'](_0xf00991,_0x319d60=0x0){const _0x23f57c=a98_0x289baf;return AutomationFramework[_0x23f57c(0x171)][_0x23f57c(0x16b)]('testcafe:'+_0xf00991+'#'+_0x319d60)||null;}static*[a98_0x289baf(0x16f)](){const _0x56564f=a98_0x289baf,_0x51a55e={};_0x51a55e[_0x56564f(0x18b)]=function(_0x50305e,_0x222f3e){return _0x50305e===_0x222f3e;},_0x51a55e[_0x56564f(0x168)]=_0x56564f(0x166),_0x51a55e[_0x56564f(0x177)]=_0x56564f(0x187),_0x51a55e[_0x56564f(0x18e)]=function(_0x57fd83,_0x1e7932){return _0x57fd83===_0x1e7932;},_0x51a55e['CFjFQ']=function(_0x530fba,_0x53d7a3){return _0x530fba+_0x53d7a3;};const _0x27128e=_0x51a55e;for(const [_0x10be9c,_0x382ff4]of AutomationFramework['instances']['entries']()){if(_0x27128e[_0x56564f(0x18b)](typeof _0x10be9c,_0x27128e[_0x56564f(0x168)])&&_0x10be9c['startsWith'](_0x27128e['jKzEX'])){const _0x21584b=_0x10be9c[_0x56564f(0x16d)](_0x27128e['jKzEX'][_0x56564f(0x17c)]),_0x528bdd=_0x21584b[_0x56564f(0x16e)]('#');if(_0x27128e[_0x56564f(0x18e)](_0x528bdd,-0x1)){const _0x3f798f={};_0x3f798f['userAgent']=_0x21584b,_0x3f798f[_0x56564f(0x165)]=0x0,_0x3f798f['instance']=_0x382ff4,yield _0x3f798f;}else{const _0x16e4af=_0x21584b[_0x56564f(0x16d)](0x0,_0x528bdd),_0x182db0=Number[_0x56564f(0x17d)](_0x21584b[_0x56564f(0x16d)](_0x27128e[_0x56564f(0x161)](_0x528bdd,0x1)),0xa)||0x0,_0x41c190={};_0x41c190[_0x56564f(0x169)]=_0x16e4af,_0x41c190['platformIndex']=_0x182db0,_0x41c190[_0x56564f(0x15e)]=_0x382ff4,yield _0x41c190;}}}}}module[a98_0x289baf(0x160)]=TestCafeAutomationFramework;function a98_0x38a8(){const _0x1c527b=['createContext','../../../helpers/classLogger.js','27zAIVNM','KxqMR','1991860YufQpJ','testcafe:','19016ngiOiC','21sGpfwl','96138sJEJcJ','aSjtN','zXmBq','../instances/automationFrameworkInstance.js','nZawg','getTrackedInstance','instance','resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22','exports','CFjFQ','debug','runHooks','./automationFramework.js','platformIndex','string','removeInstance','bCylJ','userAgent','\x20→\x20','get','trackEvent','slice','lastIndexOf','iterAllInstances','CREATE','instances','86916gSmHqX','406404CzZSwR','LIbah','../state/automationFrameworkState.js','284793MqZAdf','jKzEX','4220IAZPJO','warn','resolveInstance','delete','length','parseInt','TestCafeAutomationFramework','isInteger','25XLWRtB','xmHcV'];a98_0x38a8=function(){return _0x1c527b;};return a98_0x38a8();}