browserstack-node-sdk 1.64.2 → 1.64.3

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 (219) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/integrations/command.js +1 -1
  53. package/src/bin/integrations/constants.js +1 -1
  54. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  55. package/src/bin/jasmine/command.js +1 -1
  56. package/src/bin/jasmine/test.setup.js +1 -1
  57. package/src/bin/jasmine/testRunMap.js +1 -1
  58. package/src/bin/jest/command.js +1 -1
  59. package/src/bin/jest/customImplements/customCircus.js +1 -1
  60. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  61. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  62. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  63. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  64. package/src/bin/jest/jest.setup.js +1 -1
  65. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  66. package/src/bin/jest/test-observability/helper.js +1 -1
  67. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  68. package/src/bin/jest/test-observability/test-details.js +1 -1
  69. package/src/bin/jest/test.setup.js +1 -1
  70. package/src/bin/jest/test_before.setup.js +1 -1
  71. package/src/bin/launcher/launcher.js +1 -1
  72. package/src/bin/load/index.js +1 -1
  73. package/src/bin/load/loadErrors.js +1 -1
  74. package/src/bin/load/loadUtils.js +1 -1
  75. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  76. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  77. package/src/bin/mocha/command.js +1 -1
  78. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  79. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  80. package/src/bin/mocha/test.setup.js +1 -1
  81. package/src/bin/newman/command.js +1 -1
  82. package/src/bin/newman/helper.js +1 -1
  83. package/src/bin/newman/reporter/index.js +1 -1
  84. package/src/bin/newman/scriptRunner.js +1 -1
  85. package/src/bin/nightwatch/command.js +1 -1
  86. package/src/bin/playwright/accessibility-helper.js +1 -1
  87. package/src/bin/playwright/command.js +1 -1
  88. package/src/bin/playwright/globalSetup.js +1 -1
  89. package/src/bin/playwright/mock-process.js +1 -1
  90. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  91. package/src/bin/playwright/patches.js +1 -1
  92. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  93. package/src/bin/playwright/reporter/reporter.js +1 -1
  94. package/src/bin/playwright/reporter/test-details.js +1 -1
  95. package/src/bin/playwright/sessionDetails.js +1 -1
  96. package/src/bin/puppeteer/patches.js +1 -1
  97. package/src/bin/puppeteer/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/test.setup.js +1 -1
  99. package/src/bin/runner.js +1 -1
  100. package/src/bin/setup.js +1 -1
  101. package/src/bin/test-runner/index.js +1 -1
  102. package/src/bin/test-runner/runTest.js +1 -1
  103. package/src/bin/test-runner/testWorker.js +1 -1
  104. package/src/bin/testcafe/a11y-runner.js +1 -1
  105. package/src/bin/testcafe/command.js +1 -1
  106. package/src/bin/testcafe/reporter/index.js +1 -1
  107. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  108. package/src/bin/testcafe/session-registry.js +1 -1
  109. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  110. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  111. package/src/bin/testcafe/w3c-driver.js +1 -1
  112. package/src/bin/utils/apiUtilityMethods.js +1 -1
  113. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  114. package/src/bin/utils/constants.js +1 -1
  115. package/src/bin/utils/log4jsAppender.js +1 -1
  116. package/src/bin/utils/logPatcher.js +1 -1
  117. package/src/bin/utils/logReportingAPI.js +1 -1
  118. package/src/bin/utils/playwright-patcher.js +1 -1
  119. package/src/bin/utils/puppeteer-patcher.js +1 -1
  120. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  121. package/src/bin/utils/sharedUtils.js +1 -1
  122. package/src/bin/v2/TestInfo.js +1 -1
  123. package/src/bin/v2/browserstackCLI.js +1 -1
  124. package/src/bin/v2/cliUtils.js +1 -1
  125. package/src/bin/v2/customTagManager.js +1 -1
  126. package/src/bin/v2/eventDispatcher.js +1 -1
  127. package/src/bin/v2/framework/automationFramework.js +1 -1
  128. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  129. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  130. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  131. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  132. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  133. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  134. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  135. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  136. package/src/bin/v2/framework/testFramework.js +1 -1
  137. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  138. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  139. package/src/bin/v2/grpcClient.js +1 -1
  140. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  141. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  142. package/src/bin/v2/instances/trackedContext.js +1 -1
  143. package/src/bin/v2/instances/trackedInstance.js +1 -1
  144. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  145. package/src/bin/v2/modules/baseModule.js +1 -1
  146. package/src/bin/v2/modules/loadTestModule.js +1 -1
  147. package/src/bin/v2/modules/observabilityModule.js +1 -1
  148. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  149. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  150. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  151. package/src/bin/v2/modules/testhubModule.js +1 -1
  152. package/src/bin/v2/sdkErrorHandler.js +1 -1
  153. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  154. package/src/bin/v2/state/hookState.js +1 -1
  155. package/src/bin/v2/state/testFrameworkState.js +1 -1
  156. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  157. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  158. package/src/bin/v2/utils/jest-utils.js +1 -1
  159. package/src/bin/vanilla-js/command.js +1 -1
  160. package/src/browserStackSdk.js +1 -1
  161. package/src/helpers/BrowserStackSetup.js +1 -1
  162. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  163. package/src/helpers/accessibility-automation/constants.js +1 -1
  164. package/src/helpers/accessibility-automation/helper.js +1 -1
  165. package/src/helpers/accessibility-automation/scripts.js +1 -1
  166. package/src/helpers/ats/constants.js +1 -1
  167. package/src/helpers/ats/helper.js +1 -1
  168. package/src/helpers/caCertHelper.js +1 -1
  169. package/src/helpers/capsMapping.js +1 -1
  170. package/src/helpers/central-scanner/constants.js +1 -1
  171. package/src/helpers/central-scanner/helpers.js +1 -1
  172. package/src/helpers/classLogger.js +1 -1
  173. package/src/helpers/driverInitErrorReporter.js +1 -1
  174. package/src/helpers/globals.js +1 -1
  175. package/src/helpers/helper.js +1 -1
  176. package/src/helpers/logger.js +1 -1
  177. package/src/helpers/metadata.js +1 -1
  178. package/src/helpers/patchHelper.js +1 -1
  179. package/src/helpers/patchHelpers.js +1 -1
  180. package/src/helpers/percy/Percy.js +1 -1
  181. package/src/helpers/percy/PercyBinary.js +1 -1
  182. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  183. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  184. package/src/helpers/percy/PercySDK.js +1 -1
  185. package/src/helpers/percy/index.js +1 -1
  186. package/src/helpers/percy/utils.js +1 -1
  187. package/src/helpers/performance/constants.js +1 -1
  188. package/src/helpers/performance/performance-tester.js +1 -1
  189. package/src/helpers/playwright-helper.js +1 -1
  190. package/src/helpers/processHelper.js +1 -1
  191. package/src/helpers/puppeteer-helper.js +1 -1
  192. package/src/helpers/request-spy.js +1 -1
  193. package/src/helpers/setKeepAlive.js +1 -1
  194. package/src/helpers/stackFrameUtils.js +1 -1
  195. package/src/helpers/test-observability/constants.js +1 -1
  196. package/src/helpers/test-observability/error-handler.js +1 -1
  197. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  198. package/src/helpers/test-observability/sessionHandler.js +1 -1
  199. package/src/helpers/test-observability/utils.js +1 -1
  200. package/src/helpers/test-orchestration/constants.js +1 -1
  201. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  202. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  203. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  204. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  205. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  206. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  207. package/src/helpers/testhub/constants.js +1 -1
  208. package/src/helpers/testhub/testhubHandler.js +1 -1
  209. package/src/helpers/testhub/utils.js +1 -1
  210. package/src/helpers/utilities.js +1 -1
  211. package/src/helpers/w3cMapping.js +1 -1
  212. package/src/hubAllocationMethods.js +1 -1
  213. package/src/index.js +1 -1
  214. package/src/ai-sdk-node/bundle.js +0 -1
  215. package/src/ai-sdk-node/extensions/chrome_extension.crx +0 -0
  216. package/src/bin/mocha/test-observability/builderPatch.js +0 -1
  217. package/src/helpers/ai-sdk/aiSdkWrapper.js +0 -1
  218. package/src/helpers/ai-sdk/autoHealHelper.js +0 -1
  219. package/src/helpers/timeoutPromise.js +0 -1
@@ -1 +1 @@
1
- function a95_0x3c72(_0x24157c,_0x9a0720){const _0x1e29ee=a95_0x1e29();return a95_0x3c72=function(_0x3c7223,_0x1a8fbf){_0x3c7223=_0x3c7223-0x7e;let _0x874aee=_0x1e29ee[_0x3c7223];return _0x874aee;},a95_0x3c72(_0x24157c,_0x9a0720);}function a95_0x1e29(){const _0x54149d=['startedAt','timedOut','parseCommaSeparatedValues','cYtqu','toISOString','evias','LOtmb','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','error','awvBV','bjCPz','KenZP','slow','forEach','text','getTestFrameworks','KEY_HOOK_LAST_FINISHED','KEY_TEST_LOCATION','NuKor','ldFKV','getContext','KEY_TEST_FILE_PATH','sendLogCreatedEvent\x20for\x20testId:\x20','trackStepEvent','KEY_TEST_LOGS','parallelIndex','../cliUtils.js','\x20hookState=','KEY_HOOK_LOGS','TEST_STEP','resolveInstance','createContext','../../../helpers/classLogger.js','../instances/trackedInstance.js','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','KEY_HOOK_RESULT','KEY_TEST_STARTED_AT','sendLogCreatedEvent:\x20testId=','has','6280iqvxEn','getAllData','KEY_TEST_FRAMEWORK_VERSION','\x20steps\x20for\x20testId=','Error\x20in\x20sendLogCreatedEvent:\x20','oVTIw','PRE','getCurrentTestState','step','getTestIdentifierFromTestInfo','testFrameworkVersion','message','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','YrDsN','logs','LsswN','KEY_TEST_ENDED_AT','KEY_TEST_ATTACHMENTS','MAX_NESTED_STEP_DEPTH','\x20&\x20hook\x20=\x20','KEY_TEST_RESULT','JSeMO','keyword','title','KEY_HOOKS_STARTED','length','sendLogCreatedEvent','result','parsePlaywrightTestResult:\x20testId=','Hqtal','rStWF','createTestFrameworkEventPayload','2975202KJAuqH','getTestDetails','SmYwM','toString','parent_id','trackPlaywrightInstance','getInstance','mygtX','inspect','getRef','QeRLW','filePath','status','stack','endedAt','../../playwright/reporter/pwUtils','size','iVgNE','base64','trackEvent','\x20step=\x22','skip','trackEvent:\x20found\x20instance,\x20testFrameworkState=','lRtoC','../customTagManager','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','KEY_TEST_FRAMEWORK_NAME','UJaBB','results','failure_type','NONE','pOsor','\x20payload=','getTestUUID','../../../helpers/helper.js','push','\x20testState:\x20','instance','LgpXz','errors','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','INIT_TEST','\x20hookState:\x20','KEY_TEST_FAILURE_REASON','VKuxc','mergeIntoTags','8841diWxGg','ceil','1467556vBUqnK','KEY_HOOK_FAILURE_TYPE','./testFramework','KEY_LOGS','../../../helpers/test-observability/utils','ufnlr','getProcessId','TtTdz','MAX_TOP_LEVEL_STEPS','IxtDa','createTestFrameworkEventPayload\x20testId:\x20','IzpjQ','fPzmu','fail','gINia','jFAHh','tDejt','concat','No\x20reason\x20provided','setTrackedInstance','ZdWJD','sCxXA','info','Uvxsn','KEY_TEST_ID','EcGMK','trackStepEvent:\x20exception=','getCurrentHookState','cbbAh','pnSqv','split','nDKda','oiHDk','wUmUw','NlNAz','DEFAULT_TEST_RESULT','hfGRM','FuKbe','kfLUi','WFKVV','POST','KEY_HOOKS_FINISHED','lqzIv','opfBF','logCreatedEvent','from','hook','\x20batch\x20','parsePlaywrightTestResult:\x20extracted\x20','testFrameworkName','KEY_TEST_META','NGiHr','KEY_TEST_TAGS','\x20and\x20args\x20=\x20','Nqpkd','runHooks','passed','basename','KEY_CUSTOM_TAGS','getTrackedInstance','KEY_HOOK_LAST_STARTED','file_name','10DDVUnE','PlaywrightTestFramework','KEY_TEST_SCOPES','duration','PMuwr','getCurrentInstanceName','expectedStatus','DEFAULT_HOOK_RESULT','../instances/testFrameworkInstance.js','parsePlaywrightTest','KEY_TEST_FAILURE_TYPE','zzYvp','getId','path','poZNj','osvub','startTime','AIyjG','getTestFrameworksVersions','failure','Hook\x20List\x20in\x20Post\x20','acXfg','KEY_TEST_UUID','test','KEY_AUTOMATE_SESSION_NAME','xTfFX','JPZFG','statSync','uowSp','20445ROEuUa','steps','DScot','Error\x20processing\x20trace\x20file\x20','parsePlaywrightTestResult','some','bKlrT','set','vxnWW','failed','EIqCo','gPvEx','GiJPA','CqHZA','util','retry','addMultipleEntries','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','Error\x20processing\x20direct\x20trace\x20file\x20','annotations','testUId','qjTJi','trackHookEvent','3InfxIv','../../../../src/helpers/helper','KEY_HOOK_ID','get','Error\x20in\x20createTestFrameworkEventPayload:\x20','../../utils/constants','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','JsizY','1389306ZMEVEQ','KEY_EVENT_ENDED_AT','HXfcq','KEY_HOOK_FAILURE_REASON','stringify','trim','21743931woZZYi','666nlTodC','pop','format','setTestDetails','debug','filter','KEY_TEST_NAME','description','testFrameworkState','DeVav','TEST_SCREENSHOT','platformIndex','err','attachments','fixme','KEY_EVENT_STARTED_AT','TEST','uuid','skipped','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','748250jmYWbS','\x20response=','./constants/testFrameworkConstants.js','TEST_ATTACHMENT'];a95_0x1e29=function(){return _0x54149d;};return a95_0x1e29();}const a95_0x158069=a95_0x3c72;(function(_0x1a6f21,_0x26ec9a){const _0x3ab53a=a95_0x3c72,_0x216a8d=_0x1a6f21();while(!![]){try{const _0x59f35e=parseInt(_0x3ab53a(0x9f))/0x1+-parseInt(_0x3ab53a(0x84))/0x2+parseInt(_0x3ab53a(0x18c))/0x3*(parseInt(_0x3ab53a(0x11a))/0x4)+parseInt(_0x3ab53a(0x175))/0x5*(-parseInt(_0x3ab53a(0x8b))/0x6)+parseInt(_0x3ab53a(0x118))/0x7*(-parseInt(_0x3ab53a(0xca))/0x8)+-parseInt(_0x3ab53a(0xea))/0x9*(parseInt(_0x3ab53a(0x158))/0xa)+parseInt(_0x3ab53a(0x8a))/0xb;if(_0x59f35e===_0x26ec9a)break;else _0x216a8d['push'](_0x216a8d['shift']());}catch(_0x3b6eba){_0x216a8d['push'](_0x216a8d['shift']());}}}(a95_0x1e29,0x97aef));const TestFramework=require(a95_0x158069(0x11c)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require('../state/hookState.js'),{createClassLogger}=require(a95_0x158069(0xc3)),TestFrameworkInstance=require(a95_0x158069(0x160)),CLIUtils=require(a95_0x158069(0xbd)),TrackedInstance=require(a95_0x158069(0xc4)),TestFrameworkConstants=require(a95_0x158069(0xa1)),logger=createClassLogger(a95_0x158069(0x159)),{v4:uuidv4}=require(a95_0x158069(0x9c)),util=require(a95_0x158069(0x183)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a95_0x158069(0x10c)),TestInfo=require('../TestInfo.js'),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require(a95_0x158069(0x11e)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a95_0x158069(0xf9)),{findNestedKey,sendTraceZip,validateFilePath}=require(a95_0x158069(0xf9)),path=require('path'),fs=require('fs'),helper=require(a95_0x158069(0x18d)),{PLAYWRIGHT_TRACE_LOGS}=require(a95_0x158069(0x81)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a95_0x158069(0xff),a95_0x158069(0x99),a95_0x158069(0xaf),a95_0x158069(0x127)]);class PlaywrightTestFramework extends TestFramework{constructor(_0x4e30fb,_0x32614f,_0x5aba24){super(_0x4e30fb,_0x32614f,_0x5aba24);}async[a95_0x158069(0xfd)](_0x5db2f3,_0x19373f,_0x3ac5d4={}){const _0x38f476=a95_0x158069,_0x2e13ab={'SmYwM':function(_0x818507,_0x27f0d3){return _0x818507===_0x27f0d3;},'QeRLW':function(_0x36fa2e,_0x409dc8){return _0x36fa2e===_0x409dc8;},'JsizY':function(_0x320bd8,_0x4e655b,_0xe523ec){return _0x320bd8(_0x4e655b,_0xe523ec);},'GiJPA':function(_0x2f1a1b,_0x3e2ad8){return _0x2f1a1b===_0x3e2ad8;},'awvBV':function(_0x520513,_0x5cddb0){return _0x520513===_0x5cddb0;},'LgpXz':function(_0x1a8166,_0x2f8882,_0x43c99d){return _0x1a8166(_0x2f8882,_0x43c99d);},'bIURK':function(_0x25c4f7,_0x2a7340,_0x3633a1,_0x3a587b){return _0x25c4f7(_0x2a7340,_0x3633a1,_0x3a587b);},'tpZqm':'test','tfVhq':_0x38f476(0x9e)};super[_0x38f476(0xfd)](_0x5db2f3,_0x19373f,_0x3ac5d4);if(_0x2e13ab[_0x38f476(0xec)](_0x5db2f3,TestFrameworkState[_0x38f476(0x95)])){const _0xe9bc15=TestInfo[_0x38f476(0xd3)](_0x3ac5d4[_0x38f476(0x16f)],_0x3ac5d4[_0x38f476(0x16f)][_0x38f476(0x184)]);TestInfo['setTestDetails'](_0xe9bc15,_0x3ac5d4[_0x38f476(0xe5)],!![]);}if(_0x2e13ab[_0x38f476(0xec)](_0x5db2f3,TestFrameworkState[_0x38f476(0xc0)])){this[_0x38f476(0xba)](_0x5db2f3,_0x19373f,_0x3ac5d4);return;}const _0xcd049e=this[_0x38f476(0xc1)](_0x5db2f3,_0x19373f,_0x3ac5d4);if(!_0xcd049e)return;logger[_0x38f476(0x8f)](_0x38f476(0x100)+_0x5db2f3+'\x20hookState='+_0x19373f+'\x20instanceId='+_0xcd049e['getRef']());try{if(_0x2e13ab[_0x38f476(0xec)](_0x19373f,HookState['PRE'])&&_0x2e13ab[_0x38f476(0xf4)](_0x5db2f3,TestFrameworkState[_0x38f476(0x9b)])){const _0x253492=_0x3ac5d4[_0x38f476(0x16f)];logger[_0x38f476(0x8f)](_0x38f476(0x82)+_0x253492['id']+'}');const _0x41745e=TestInfo['getTestUUID'](_0x2e13ab[_0x38f476(0x83)](getTestRunIdentifier,_0x253492,_0x3ac5d4[_0x38f476(0xe5)][_0x38f476(0x184)]));_0xcd049e[_0x38f476(0x185)](this[_0x38f476(0x161)](_0x41745e,_0x253492,_0x3ac5d4[_0x38f476(0xe5)])),logger[_0x38f476(0x8f)](_0x38f476(0x103)+_0x253492['id']+',\x20testFrameworkState='+_0x5db2f3+'\x20testHookState='+_0x19373f+'\x20instance='+_0xcd049e[_0x38f476(0xf3)]());}if(_0x2e13ab[_0x38f476(0x181)](_0x19373f,HookState[_0x38f476(0x142)])&&_0x2e13ab[_0x38f476(0xac)](_0x5db2f3,TestFrameworkState[_0x38f476(0x9b)])){const _0x434508=_0x3ac5d4['test'],_0x3bebcd=_0x3ac5d4[_0x38f476(0xe5)];logger[_0x38f476(0x8f)](_0x38f476(0xc5)+_0x434508['id']);const _0x1fe853=_0x2e13ab[_0x38f476(0x110)](getTestRunIdentifier,_0x434508,_0x3bebcd['retry']),_0xe9447e=_0xcd049e[_0x38f476(0xcb)]()['get'](_0x1fe853)[TestFrameworkConstants['KEY_TEST_UUID']],{steps:_0x459677,logs:_0xaa6fa1}=_0x2e13ab['bIURK'](getStepsAndLogs,_0x3bebcd[_0x38f476(0x176)],_0xe9447e,_0x2e13ab['tpZqm']);_0xcd049e['addMultipleEntries'](this[_0x38f476(0x179)](_0x434508['id'],_0x3bebcd,_0x434508,_0x459677)),await this[_0x38f476(0xe4)](_0xcd049e,_0x5db2f3,_0x19373f,_0x2e13ab['tpZqm'],_0x3ac5d4,_0xaa6fa1);}if(CLIUtils['matchHookRegex'](_0x5db2f3[_0x38f476(0xed)]()[_0x38f476(0x138)]('.')[0x1])){const _0x2ee982=await this[_0x38f476(0x18b)](_0xcd049e,_0x5db2f3,_0x19373f,_0x3ac5d4);_0xcd049e[_0x38f476(0x185)](_0x2ee982);}}catch(_0x2bb860){logger['error'](util['format'](_0x2e13ab['tfVhq'],_0x5db2f3,_0x19373f,_0x3ac5d4[_0x38f476(0xe3)],_0x2bb860));}_0x3ac5d4[_0x38f476(0x10f)]=_0xcd049e,await this[_0x38f476(0x151)](_0xcd049e,_0x5db2f3,_0x19373f,_0x3ac5d4);}[a95_0x158069(0xc1)](_0x52f2d8,_0xd758bd,_0x212aa4={}){const _0x23c32a=a95_0x158069,_0x3e5e5b={};_0x3e5e5b[_0x23c32a(0xb6)]=function(_0x1e0ae6,_0x5432c2){return _0x1e0ae6===_0x5432c2;},_0x3e5e5b[_0x23c32a(0x163)]=function(_0x2cb001,_0x55e45e){return _0x2cb001===_0x55e45e;};const _0x2f78f0=_0x3e5e5b;let _0x1993a6=null;return(_0x2f78f0[_0x23c32a(0xb6)](_0x52f2d8,TestFrameworkState[_0x23c32a(0x113)])||_0x2f78f0['zzYvp'](_0x52f2d8,TestFrameworkState[_0x23c32a(0x108)]))&&this['trackPlaywrightInstance'](_0x52f2d8,_0x212aa4),_0x1993a6=TestFramework[_0x23c32a(0x155)](),_0x1993a6;}[a95_0x158069(0xef)](_0x1673b7,_0x2719a6){const _0x48636d=a95_0x158069,_0x2387b1=CLIUtils[_0x48636d(0x15d)](),_0x19becd=TrackedInstance[_0x48636d(0xc2)](_0x2387b1);let _0x561f39=null;logger[_0x48636d(0x130)](_0x48636d(0x186)+_0x2387b1+',\x20state='+_0x1673b7),_0x561f39=new TestFrameworkInstance(_0x19becd,this[_0x48636d(0xb2)](),this[_0x48636d(0x16a)](),_0x1673b7,HookState['NONE']),TestFramework[_0x48636d(0x12d)](_0x19becd,_0x561f39),logger['info'](_0x48636d(0xd6)+_0x19becd[_0x48636d(0x164)]()+'\x20target='+_0x2387b1);}[a95_0x158069(0x161)](_0x1943b7,_0x5e721f,_0x57caca){const _0x18e9b1=a95_0x158069,_0x26c1c1={'JSeMO':function(_0x30192a,_0x5f60d6){return _0x30192a(_0x5f60d6);},'rStWF':function(_0x5f5a0a,_0x576826){return _0x5f5a0a(_0x576826);},'osvub':function(_0x1243ca,_0x5425c0){return _0x1243ca(_0x5425c0);},'NtpZF':function(_0x5ee840,_0x2c2391){return _0x5ee840(_0x2c2391);},'qjTJi':function(_0x47171a,_0x474f59,_0x438537){return _0x47171a(_0x474f59,_0x438537);},'NlNAz':function(_0x519789,_0xae958c){return _0x519789(_0xae958c);}},_0x4d8be7=_0x26c1c1[_0x18e9b1(0xdf)](getPlaywrightTestId,_0x5e721f),_0x4e8526=_0x26c1c1['JSeMO'](getPlaywrightTestTitle,_0x5e721f),_0x2ad98f=_0x26c1c1[_0x18e9b1(0xdf)](getTestTags,_0x5e721f),_0x531a15=_0x26c1c1['rStWF'](getPlaywrightTestCode,_0x5e721f),_0x5baa13=_0x26c1c1[_0x18e9b1(0xdf)](getPlaywrightTestFilePath,_0x5e721f),_0x372454=_0x5baa13,_0x358488=_0x26c1c1[_0x18e9b1(0x167)](getPlaywrightTestScope,_0x5e721f),_0xd56a36=_0x26c1c1[_0x18e9b1(0xe8)](getPlaywrightTestScopes,_0x5e721f),_0x197d26=_0x26c1c1['NtpZF'](getPlaywrightSessionName,_0x5e721f),_0x5ec69f=this['getTestFrameworks']()[0x0],_0xac342b=_0x26c1c1[_0x18e9b1(0x18a)](getTestRunIdentifier,_0x5e721f,_0x57caca[_0x18e9b1(0x184)]),_0x35f0c1={[TestFrameworkConstants[_0x18e9b1(0x104)]]:_0x5ec69f,[TestFrameworkConstants[_0x18e9b1(0xcc)]]:this['getTestFrameworksVersions']()[_0x5ec69f],[TestFrameworkConstants[_0x18e9b1(0xbb)]]:[],[TestFrameworkConstants[_0x18e9b1(0x143)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x18e9b1(0x16e)]]:_0x1943b7,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants[_0x18e9b1(0x13d)],[TestFrameworkConstants[_0x18e9b1(0x170)]]:_0x197d26,[TestFrameworkConstants[_0x18e9b1(0xb8)]]:_0x5baa13,[TestFrameworkConstants[_0x18e9b1(0x132)]]:_0x4d8be7,[TestFrameworkConstants[_0x18e9b1(0x91)]]:_0x4e8526,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x372454,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x531a15,[TestFrameworkConstants[_0x18e9b1(0x14e)]]:_0x2ad98f,[TestFrameworkConstants[_0x18e9b1(0xc7)]]:_0x5e721f[_0x18e9b1(0x106)][0x0][_0x18e9b1(0x168)],[TestFrameworkConstants['KEY_TEST_SCOPE']]:_0x358488,[TestFrameworkConstants[_0x18e9b1(0x15a)]]:_0xd56a36,[TestFrameworkConstants['KEY_TEST_RERUN_NAME']]:_0x26c1c1[_0x18e9b1(0x13c)](getPlaywrightCustomRerunParam,_0x5e721f)};TestInfo[_0x18e9b1(0x8e)](_0xac342b,_0x35f0c1);const _0x1d912c={};return _0x1d912c[_0xac342b]=_0x35f0c1,_0x1d912c;}[a95_0x158069(0x179)](_0x2f06f8,_0x1f7318,_0x1227d1,_0x2a027f){const _0x23f73f=a95_0x158069,_0x46cb70={'KCaIN':function(_0x15ddfb,_0x31fbb2){return _0x15ddfb(_0x31fbb2);},'mygtX':_0x23f73f(0xa2),'IzpjQ':function(_0x8038a8,_0x5c5a84){return _0x8038a8===_0x5c5a84;},'sCxXA':function(_0x2a64de,_0x272614){return _0x2a64de===_0x272614;},'oiHDk':function(_0xb4a502,_0x242bfc){return _0xb4a502(_0x242bfc);},'BuYIJ':_0x23f73f(0x12c),'DeVav':function(_0xbf9be7,_0x11e56e){return _0xbf9be7(_0x11e56e);},'JPZFG':function(_0xc9e814,_0xfe53e7,_0x49b77d){return _0xc9e814(_0xfe53e7,_0x49b77d);},'hfGRM':_0x23f73f(0x9d),'ufnlr':_0x23f73f(0x152),'HXfcq':function(_0x5d5c62,_0x2f8d2f){return _0x5d5c62===_0x2f8d2f;},'pOsor':function(_0x1bd946,_0x292767){return _0x1bd946===_0x292767;},'VKuxc':_0x23f73f(0x17e),'NuKor':function(_0x3bbfd7,_0x554bbe){return _0x3bbfd7===_0x554bbe;},'YrDsN':_0x23f73f(0xa4),'Uvxsn':function(_0xdd460,_0x57db66){return _0xdd460===_0x57db66;},'oVTIw':'Expected\x20to\x20fail,\x20but\x20passed.','cbbAh':function(_0x56f442,_0x42674c,_0x2c8807){return _0x56f442(_0x42674c,_0x2c8807);},'gINia':function(_0x4b6c56,_0x580bed){return _0x4b6c56||_0x580bed;},'DScot':function(_0x2f4800,_0x474f0c){return _0x2f4800(_0x474f0c);},'wUmUw':function(_0x4638bc,_0x4bfb72){return _0x4638bc(_0x4bfb72);},'DGgLx':function(_0x4b5620,_0x543cff){return _0x4b5620>_0x543cff;},'bjCPz':function(_0x5ca420,_0x20fc37){return _0x5ca420-_0x20fc37;},'lhkqm':function(_0x2b10aa,_0x3f1361,_0x3acc20,_0x7e84ea){return _0x2b10aa(_0x3f1361,_0x3acc20,_0x7e84ea);},'CqHZA':_0x23f73f(0x16f),'xTfFX':function(_0x2593a7,_0x1a643e){return _0x2593a7===_0x1a643e;},'iPmri':function(_0x2ae167,_0x38ee70){return _0x2ae167>=_0x38ee70;},'nfLqy':function(_0x1fba20,_0x10fb94){return _0x1fba20===_0x10fb94;},'acXfg':function(_0x16f937,_0x5c59d5){return _0x16f937+_0x5c59d5;},'KenZP':function(_0x5432dd,_0x5eca75){return _0x5432dd>_0x5eca75;},'evias':_0x23f73f(0x165),'lmxBC':function(_0x2bdb24,_0x37aaa7){return _0x2bdb24(_0x37aaa7);},'PMuwr':function(_0x5a92c2,_0x3ac6fe){return _0x5a92c2(_0x3ac6fe);},'IxtDa':_0x23f73f(0x102)};logger[_0x23f73f(0x8f)](_0x23f73f(0xe6)+_0x2f06f8);const _0xb596e9=_0x46cb70[_0x23f73f(0x172)](getTestRunIdentifier,_0x1227d1,_0x1f7318[_0x23f73f(0x184)]),_0x19dcca=new Date(),_0x406a0d=_0x1f7318[_0x23f73f(0xf6)],_0x5a0720=TestInfo[_0x23f73f(0xeb)](_0xb596e9)[TestFrameworkConstants[_0x23f73f(0x154)]]||{};let _0x53891e=_0x406a0d;if(_0x46cb70['sCxXA'](_0x1f7318[_0x23f73f(0xf6)],_0x1227d1['expectedStatus']))_0x53891e=_0x46cb70['sCxXA'](_0x1f7318[_0x23f73f(0xf6)],_0x46cb70[_0x23f73f(0x13e)])?_0x46cb70[_0x23f73f(0x13e)]:_0x46cb70[_0x23f73f(0x11f)];else{(_0x46cb70[_0x23f73f(0x86)](_0x53891e,_0x46cb70[_0x23f73f(0x11f)])||_0x46cb70[_0x23f73f(0x109)](_0x53891e,_0x46cb70['VKuxc'])||_0x46cb70[_0x23f73f(0xb5)](_0x53891e,_0x46cb70[_0x23f73f(0xd7)]))&&(_0x53891e=_0x46cb70[_0x23f73f(0x116)]);if(_0x46cb70[_0x23f73f(0x86)](_0x1f7318[_0x23f73f(0xf6)],_0x46cb70[_0x23f73f(0x11f)])&&_0x46cb70[_0x23f73f(0x131)](_0x1227d1[_0x23f73f(0x15e)],_0x46cb70[_0x23f73f(0x116)])){const _0x4723fe={};_0x4723fe[_0x23f73f(0xd5)]=_0x46cb70[_0x23f73f(0xcf)],_0x4723fe[_0x23f73f(0xf7)]=_0x46cb70['oVTIw'],_0x1f7318[_0x23f73f(0xab)]=_0x4723fe,_0x1f7318[_0x23f73f(0x111)]=[_0x1f7318[_0x23f73f(0xab)]];}}const {failureData:_0x2927f1,logs:_0x384236}=_0x46cb70[_0x23f73f(0x136)](getFailureData,_0x1f7318?.[_0x23f73f(0x111)],{}),_0x5cfba2={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x46cb70[_0x23f73f(0x128)](_0x2927f1,null),[TestFrameworkConstants[_0x23f73f(0x162)]]:_0x1f7318?.[_0x23f73f(0xab)]&&_0x46cb70[_0x23f73f(0x177)](getFailureType,_0x1f7318[_0x23f73f(0xab)][_0x23f73f(0xd5)]),[TestFrameworkConstants[_0x23f73f(0x115)]]:_0x1f7318?.[_0x23f73f(0xab)]&&_0x46cb70[_0x23f73f(0x13b)](removeAnsiColors,_0x1f7318[_0x23f73f(0xab)][_0x23f73f(0xd5)]),[TestFrameworkConstants[_0x23f73f(0x11d)]]:[],[TestFrameworkConstants[_0x23f73f(0xde)]]:_0x53891e,[TestFrameworkConstants[_0x23f73f(0xda)]]:_0x19dcca[_0x23f73f(0xa7)](),[TestFrameworkConstants['KEY_TEST_RESULT_AT']]:new Date()[_0x23f73f(0xa7)](),[TestFrameworkConstants[_0x23f73f(0x154)]]:_0x5a0720};if(_0x1f7318&&_0x46cb70['DGgLx'](_0x1f7318[_0x23f73f(0x184)],0x0)){const _0x12e418=TestInfo[_0x23f73f(0x10b)](_0x46cb70['JPZFG'](getTestRunIdentifier,_0x1227d1,_0x46cb70[_0x23f73f(0xad)](_0x1f7318[_0x23f73f(0x184)],0x1)));_0x5cfba2[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x12e418;}const _0x5b80c7={};_0x5b80c7[_0x23f73f(0x16f)]=_0x1227d1;const _0x4baf3e=this[_0x23f73f(0xc1)](TestFrameworkState[_0x23f73f(0x9b)],HookState[_0x23f73f(0x142)],_0x5b80c7),_0x40c7a3=_0x4baf3e['getAllData']()['get'](_0xb596e9)[TestFrameworkConstants[_0x23f73f(0x16e)]],_0x52a63a=_0x2a027f||_0x46cb70['lhkqm'](getStepsAndLogs,_0x1f7318[_0x23f73f(0x176)],_0x40c7a3,_0x46cb70[_0x23f73f(0x182)])[_0x23f73f(0x176)],_0x5eb721=new Map(),_0x36cb23=new Map();let _0x452e13=0x0;const _0x445e2a=[];for(const _0x858872 of _0x52a63a||[]){const _0x3ecb98=_0x858872[_0x23f73f(0xee)]||null;let _0x13ca83;if(_0x46cb70[_0x23f73f(0x171)](_0x3ecb98,null)){if(_0x46cb70['iPmri'](_0x452e13,TestFrameworkConstants[_0x23f73f(0x122)]))continue;_0x13ca83=0x0,_0x452e13++;}else{const _0x52dbb3=_0x5eb721['get'](_0x3ecb98);if(_0x46cb70['nfLqy'](_0x52dbb3,undefined))continue;_0x13ca83=_0x46cb70[_0x23f73f(0x16d)](_0x52dbb3,0x1);if(_0x46cb70['KenZP'](_0x13ca83,TestFrameworkConstants[_0x23f73f(0xdc)]))continue;}_0x5eb721[_0x23f73f(0x17c)](_0x858872['id'],_0x13ca83),_0x36cb23[_0x23f73f(0x17c)](_0x858872['id'],_0x858872['text']),_0x445e2a['push']({'id':_0x858872['id'],'parent_id':_0x3ecb98,'parent_text':_0x3ecb98?_0x36cb23[_0x23f73f(0x7f)](_0x3ecb98)||'':'','text':_0x858872[_0x23f73f(0xb1)],'keyword':_0x858872[_0x23f73f(0xe0)]||null,'started_at':_0x858872['started_at'],'duration':_0x858872['duration']??null,'result':_0x858872['result'],'failure':_0x858872[_0x23f73f(0x16b)]||null,'failure_type':_0x858872[_0x23f73f(0x107)]||null});}const _0x1336e5={};_0x1336e5[_0x23f73f(0x176)]=_0x445e2a,_0x5cfba2[TestFrameworkConstants[_0x23f73f(0x14c)]]=_0x1336e5,logger[_0x23f73f(0x8f)](_0x23f73f(0x14a)+_0x445e2a[_0x23f73f(0xe3)]+_0x23f73f(0xcd)+_0x2f06f8);const _0x4e3d0d=[],_0x56f2ae=_0x46cb70[_0x23f73f(0x136)](findNestedKey,_0x1f7318,_0x46cb70[_0x23f73f(0xa8)]);if(_0x56f2ae&&_0x46cb70['lmxBC'](validateFilePath,_0x56f2ae))try{_0x4e3d0d['push']({'kind':_0x46cb70['mygtX'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x40c7a3,'file_name':path[_0x23f73f(0x153)](_0x56f2ae),'file_size':fs['statSync'](_0x56f2ae)[_0x23f73f(0xfa)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x488ea3){logger['error'](_0x23f73f(0x187)+_0x56f2ae+':\x20'+_0x488ea3[_0x23f73f(0xd5)]);}const _0xdf70c0=TestInfo['getTraceFilePaths'](),_0x5b8301=_0xdf70c0[_0x23f73f(0x90)](_0x28981e=>_0x28981e[_0x23f73f(0x189)]===_0x40c7a3);_0x5b8301[_0x23f73f(0xb0)](_0xea19d7=>{const _0xb3c63b=_0x23f73f;if(_0xea19d7[_0xb3c63b(0xf5)]&&_0x46cb70['KCaIN'](validateFilePath,_0xea19d7[_0xb3c63b(0xf5)])&&!_0x4e3d0d[_0xb3c63b(0x17a)](_0x3ca27b=>_0x3ca27b[_0xb3c63b(0x157)]===path[_0xb3c63b(0x153)](_0xea19d7[_0xb3c63b(0xf5)])))try{_0x4e3d0d[_0xb3c63b(0x10d)]({'kind':_0x46cb70[_0xb3c63b(0xf1)],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x40c7a3,'file_name':path[_0xb3c63b(0x153)](_0xea19d7['filePath']),'file_size':fs[_0xb3c63b(0x173)](_0xea19d7[_0xb3c63b(0xf5)])[_0xb3c63b(0xfa)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5de037){logger['error'](_0xb3c63b(0x178)+_0xea19d7[_0xb3c63b(0xf5)]+'\x20from\x20TestDetails:\x20'+_0x5de037[_0xb3c63b(0xd5)]);}});if(_0x46cb70['KenZP'](_0x4e3d0d[_0x23f73f(0xe3)],0x0)){const _0x3824aa=_0x5cfba2[TestFrameworkConstants[_0x23f73f(0x11d)]]||[];_0x5cfba2[TestFrameworkConstants['KEY_LOGS']]=[..._0x3824aa,..._0x4e3d0d];}const _0x4fc829=TestInfo[_0x23f73f(0xeb)](_0xb596e9)[TestFrameworkConstants[_0x23f73f(0xdb)]]||{},_0x49d780=_0x46cb70[_0x23f73f(0x172)](getManualUploadLogs,_0x4fc829,_0x4baf3e[_0x23f73f(0xcb)]()[_0x23f73f(0x7f)](_0xb596e9)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x46cb70[_0x23f73f(0xae)](_0x49d780[_0x23f73f(0xe3)],0x0)){const _0x4b548a=_0x5cfba2[TestFrameworkConstants[_0x23f73f(0x11d)]]||[];_0x5cfba2[TestFrameworkConstants[_0x23f73f(0x11d)]]=[..._0x4b548a,..._0x49d780];}const _0x1b636a=_0x1227d1[_0x23f73f(0x188)]||[],_0x4d3fc2=_0x5cfba2[TestFrameworkConstants[_0x23f73f(0x154)]]||{},_0x4e46f6=_0x46cb70[_0x23f73f(0x15c)](require,_0x46cb70[_0x23f73f(0x123)]);_0x1b636a[_0x23f73f(0xb0)](_0x1a2d51=>{const _0xaa775e=_0x23f73f,{type:_0x529247}=_0x1a2d51;let _0x35dd10=_0x1a2d51[_0xaa775e(0x92)];if(!_0x529247)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0xaa775e(0xc9)](_0x529247))return;(_0x46cb70[_0xaa775e(0x125)](_0x35dd10,undefined)||_0x46cb70[_0xaa775e(0x125)](_0x35dd10,null)||_0x46cb70[_0xaa775e(0x12f)](_0x46cb70[_0xaa775e(0x13a)](String,_0x35dd10)[_0xaa775e(0x89)](),''))&&(_0x35dd10=_0x46cb70['BuYIJ']);const _0x21af5c=helper[_0xaa775e(0xa5)](_0x46cb70[_0xaa775e(0x94)](String,_0x35dd10));_0x4e46f6[_0xaa775e(0x117)](_0x4d3fc2,_0x529247,_0x21af5c);}),_0x5cfba2[TestFrameworkConstants[_0x23f73f(0x154)]]=_0x4d3fc2,TestInfo[_0x23f73f(0x8e)](_0xb596e9,_0x5cfba2);const _0x4a7d4f={};return _0x4a7d4f[_0xb596e9]=_0x5cfba2,_0x4a7d4f;}['trackStepEvent'](_0x153e0e,_0x2462d6,_0x5d2c17){const _0x217fcd=a95_0x158069,_0xd8e2f5={'Hqtal':function(_0x15cf68,_0x24d7bd){return _0x15cf68||_0x24d7bd;},'WFKVV':function(_0x16b22d,_0xa07c4c,_0x3152e1){return _0x16b22d(_0xa07c4c,_0x3152e1);}};try{const {test:_0x1c611e,result:_0x110232,step:_0xd2e179}=_0x5d2c17;if(_0xd8e2f5[_0x217fcd(0xe7)](!_0x1c611e,!_0xd2e179)||!_0x110232)return;const _0x2f9bb8=_0xd8e2f5[_0x217fcd(0x141)](getTestRunIdentifier,_0x1c611e,_0x110232[_0x217fcd(0x184)]);logger[_0x217fcd(0x8f)]('trackStepEvent:\x20testId='+_0x2f9bb8+_0x217fcd(0xbe)+_0x2462d6+_0x217fcd(0xfe)+_0xd2e179[_0x217fcd(0xe1)]+'\x22');}catch(_0x531f89){logger[_0x217fcd(0xab)](_0x217fcd(0x134)+util[_0x217fcd(0x8d)](_0x531f89));}}async['trackHookEvent'](_0x5d2432,_0x115cc1,_0xe47ec5,_0x4d6134){const _0x19733d=a95_0x158069,_0x4ac110={'ZdWJD':function(_0x35f690,_0x5a6b1e,_0x312d91){return _0x35f690(_0x5a6b1e,_0x312d91);},'UJaBB':function(_0x4cf502,_0x148964){return _0x4cf502 in _0x148964;},'lqzIv':function(_0x3ac930,_0x1bfa56){return _0x3ac930(_0x1bfa56);},'fxGwV':function(_0x3d49cd,_0x458de1){return _0x3d49cd===_0x458de1;},'LsswN':function(_0x3c94f9){return _0x3c94f9();},'tDejt':function(_0x4ad015,_0x449492){return _0x4ad015===_0x449492;},'LOtmb':function(_0x70412,_0x38e19a){return _0x70412>_0x38e19a;},'TtTdz':_0x19733d(0x97),'lRtoC':function(_0x20f3c9,_0xc9c806){return _0x20f3c9(_0xc9c806);},'opfBF':_0x19733d(0x17e),'cYtqu':'passed','EcGMK':function(_0x6eec47,_0x2c9d6e){return _0x6eec47!==_0x2c9d6e;},'FuKbe':function(_0x26c700,_0x24cddc){return _0x26c700+_0x24cddc;},'iVgNE':_0x19733d(0x148)},_0x3011cc=_0x4d6134['test'],_0x342b7d=_0x4d6134[_0x19733d(0xd2)],_0x418384=_0x4ac110[_0x19733d(0x12e)](getTestRunIdentifier,_0x3011cc,_0x4d6134[_0x19733d(0xe5)]['retry']),_0x37cf0c=_0x115cc1['toString']()[_0x19733d(0x138)]('.')[0x1];let _0xec7e69=_0x5d2432[_0x19733d(0xcb)]()[_0x19733d(0x7f)](_0x418384)[TestFrameworkConstants[_0x19733d(0xe2)]];!_0xec7e69&&(_0xec7e69={});!_0x4ac110[_0x19733d(0x105)](_0x37cf0c,_0xec7e69)&&(_0xec7e69[_0x37cf0c]=[]);let _0x2213dc=_0x5d2432[_0x19733d(0xcb)]()[_0x19733d(0x7f)](_0x418384)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x2213dc&&(_0x2213dc={});!_0x4ac110[_0x19733d(0x105)](_0x37cf0c,_0x2213dc)&&(_0x2213dc[_0x37cf0c]=[]);const _0x306c3b={[TestFrameworkConstants[_0x19733d(0xe2)]]:_0xec7e69,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0x2213dc},_0x1672aa={};_0x1672aa[_0x418384]=_0x306c3b;const _0x549db1=_0x1672aa,_0x49947c=_0x4ac110[_0x19733d(0x144)](getPlaywrightTestFilePath,_0x3011cc),_0x37c378=_0x49947c,_0x4e9981=TestInfo[_0x19733d(0xeb)](_0x418384)[TestFrameworkConstants[_0x19733d(0x154)]]||{};if(_0x4ac110['fxGwV'](_0xe47ec5,HookState[_0x19733d(0xd0)])){const _0x13f230={'key':_0x37cf0c,[TestFrameworkConstants[_0x19733d(0x7e)]]:_0x4ac110[_0x19733d(0xd9)](uuidv4),[TestFrameworkConstants[_0x19733d(0xc6)]]:TestFrameworkConstants['DEFAULT_HOOK_RESULT'],[TestFrameworkConstants[_0x19733d(0x9a)]]:_0x342b7d[_0x19733d(0x168)],[TestFrameworkConstants[_0x19733d(0xbf)]]:[],[TestFrameworkConstants['KEY_HOOK_NAME']]:_0x342b7d['title'],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x49947c,[TestFrameworkConstants[_0x19733d(0xb4)]]:_0x37c378,[TestFrameworkConstants[_0x19733d(0x154)]]:_0x4e9981};_0xec7e69[_0x37cf0c]['push'](_0x13f230),_0x549db1[_0x418384][TestFrameworkConstants[_0x19733d(0x156)]]=_0x37cf0c,logger['debug'](_0x19733d(0xaa)+_0x37cf0c+_0x19733d(0xdd)+_0x13f230+'\x20\x20and\x20args\x20=\x20'+_0x4d6134);}else{if(_0x4ac110[_0x19733d(0x12a)](_0xe47ec5,HookState['POST'])){const _0x1c9534=await _0x4d6134[_0x19733d(0xe5)],_0x12038c=_0xec7e69[_0x37cf0c]||[],_0x571e1c=_0x4d6134[_0x19733d(0xd2)];logger[_0x19733d(0x8f)](_0x19733d(0x16c)+_0x12038c+_0x19733d(0x14f)+_0x4d6134);if(_0x4ac110[_0x19733d(0xa9)](_0x12038c[_0x19733d(0xe3)],0x0)){const _0x564b63=_0x12038c[_0x19733d(0x8c)]();if(_0x571e1c['error']){const _0x27f010=_0x4ac110['ZdWJD'](failureData,_0x571e1c[_0x19733d(0xab)],_0x4ac110[_0x19733d(0x121)]);_0x564b63[TestFrameworkConstants[_0x19733d(0x11b)]]=_0x4ac110[_0x19733d(0x101)](getFailureType,_0x571e1c?.[_0x19733d(0xab)][_0x19733d(0xd5)]),_0x564b63[TestFrameworkConstants[_0x19733d(0x87)]]=_0x4ac110[_0x19733d(0x101)](removeAnsiColors,_0x571e1c?.[_0x19733d(0xab)]['message']),_0x564b63[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x4ac110[_0x19733d(0x145)],_0x564b63[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x27f010;}else _0x564b63[TestFrameworkConstants[_0x19733d(0xc6)]]=_0x4ac110[_0x19733d(0xa6)];_0x4ac110[_0x19733d(0x133)](_0x1c9534,TestFrameworkConstants[_0x19733d(0x15f)])&&(_0x564b63[TestFrameworkConstants[_0x19733d(0xc6)]]=!_0x571e1c[_0x19733d(0xab)]?_0x4ac110[_0x19733d(0xa6)]:_0x4ac110[_0x19733d(0x145)]);const _0x28aab1=new Date(_0x571e1c[_0x19733d(0x168)]),_0x16bfae=new Date(_0x4ac110[_0x19733d(0x13f)](_0x28aab1['getTime'](),_0x571e1c[_0x19733d(0x15b)]));_0x564b63[TestFrameworkConstants[_0x19733d(0x85)]]=_0x16bfae[_0x19733d(0xa7)](),_0x564b63[TestFrameworkConstants[_0x19733d(0x154)]]=_0x4e9981;const _0x383659=_0x564b63[TestFrameworkConstants[_0x19733d(0x7e)]];await this[_0x19733d(0xe4)](_0x5d2432,_0x115cc1,_0x383659,_0x4ac110[_0x19733d(0xfb)],_0x4d6134),!_0x2213dc[_0x37cf0c]&&(_0x2213dc[_0x37cf0c]=[]),_0x2213dc[_0x37cf0c][_0x19733d(0x10d)](_0x564b63),_0x549db1[_0x418384][TestFrameworkConstants[_0x19733d(0xb3)]]=_0x37cf0c;}}}return _0x549db1;}async[a95_0x158069(0xe4)](_0x134bca,_0x3d456b,_0x4de7dd,_0x3d7ef5,_0x157e4a,_0x348fdb){const _0x4041c1=a95_0x158069,_0x3916a4={'fPzmu':function(_0x522397,_0x26c6bf){return _0x522397===_0x26c6bf;},'jFAHh':_0x4041c1(0x16f),'poZNj':function(_0x1f4286,_0x39bebe,_0x71e830){return _0x1f4286(_0x39bebe,_0x71e830);},'gPvEx':_0x4041c1(0x98),'nDKda':function(_0x738307,_0x1e30af,_0x1c1472,_0x1a57b0){return _0x738307(_0x1e30af,_0x1c1472,_0x1a57b0);},'kfLUi':function(_0x4d91c4,_0x1ed249,_0x135336){return _0x4d91c4(_0x1ed249,_0x135336);},'pnSqv':function(_0x28771d,_0x350137,_0x577629){return _0x28771d(_0x350137,_0x577629);},'uowSp':function(_0x537857,_0x5aabf2,_0x4e190b){return _0x537857(_0x5aabf2,_0x4e190b);},'AIyjG':function(_0x4dc835,_0x5ad6a7){return _0x4dc835/_0x5ad6a7;},'NAkYO':function(_0x2002cf,_0x47d786){return _0x2002cf<_0x47d786;},'EIqCo':function(_0x27a1ca,_0x9d8bf){return _0x27a1ca*_0x9d8bf;},'bKlrT':function(_0x16c7ce,_0x473771){return _0x16c7ce+_0x473771;},'NGiHr':function(_0x4b9e11,_0x5a4a3e,_0xdedac4,_0x40dd01,_0x359d66){return _0x4b9e11(_0x5a4a3e,_0xdedac4,_0x40dd01,_0x359d66);},'Nqpkd':_0x4041c1(0x148),'BAHxc':function(_0x50c8b4,_0x1fe2ad,_0x58f26f){return _0x50c8b4(_0x1fe2ad,_0x58f26f);}};try{if(_0x3916a4[_0x4041c1(0x126)](_0x3d7ef5,_0x3916a4[_0x4041c1(0x129)])){const _0x253419=await _0x157e4a[_0x4041c1(0xe5)],_0xd2d745=_0x3916a4[_0x4041c1(0x166)](getTestRunIdentifier,_0x157e4a[_0x4041c1(0x16f)],_0x157e4a[_0x4041c1(0xe5)][_0x4041c1(0x184)]),_0x12d2ec=_0x157e4a['test'];logger[_0x4041c1(0x8f)](_0x4041c1(0xc8)+_0xd2d745+'\x20result='+util[_0x4041c1(0xf2)](_0x253419));const _0x4c18c2=_0x134bca['getAllData']()[_0x4041c1(0x7f)](_0xd2d745)[TestFrameworkConstants[_0x4041c1(0x16e)]];await _0x3916a4['poZNj'](sendTraceZip,_0x253419,_0x4c18c2);const _0x597d4a=TestInfo[_0x4041c1(0xeb)](_0xd2d745)[_0x3916a4[_0x4041c1(0x180)]],_0x542bed={};if(_0x597d4a){!_0x253419['attachments']&&(_0x253419[_0x4041c1(0x98)]=[]);_0x542bed[_0x4041c1(0x98)]=_0x253419[_0x4041c1(0x98)][_0x4041c1(0x12b)](_0x597d4a||[]);const _0x57209f=TestInfo[_0x4041c1(0xeb)](_0xd2d745);delete _0x57209f[_0x3916a4[_0x4041c1(0x180)]],TestInfo['setTestDetails'](_0xd2d745,_0x57209f);}const _0x8f36ec=_0x348fdb||_0x3916a4['nDKda'](getStepsAndLogs,_0x253419[_0x4041c1(0x176)],_0x134bca[_0x4041c1(0xcb)]()[_0x4041c1(0x7f)](_0xd2d745)[TestFrameworkConstants['KEY_TEST_UUID']],_0x3916a4[_0x4041c1(0x129)])[_0x4041c1(0xd8)],_0x1e3712=_0x3916a4[_0x4041c1(0x140)](getScreenshots,_0x542bed,_0x134bca[_0x4041c1(0xcb)]()[_0x4041c1(0x7f)](_0xd2d745)[TestFrameworkConstants['KEY_TEST_UUID']]),_0xae3f62=_0x3916a4[_0x4041c1(0x137)](getVideos,_0x253419,_0x134bca['getAllData']()['get'](_0xd2d745)[TestFrameworkConstants[_0x4041c1(0x16e)]]),{_:_0x5e212d,logs:_0x153ab7}=_0x3916a4[_0x4041c1(0x174)](getFailureData,_0x253419[_0x4041c1(0x111)],{'test_run_uuid':_0x134bca[_0x4041c1(0xcb)]()[_0x4041c1(0x7f)](_0xd2d745)[TestFrameworkConstants[_0x4041c1(0x16e)]]}),_0x3176d7=TestInfo[_0x4041c1(0xeb)](_0xd2d745)[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0xe51af6=_0x3916a4['poZNj'](getMediaArtifactsLogs,_0x3176d7,_0x134bca['getAllData']()[_0x4041c1(0x7f)](_0xd2d745)[TestFrameworkConstants[_0x4041c1(0x16e)]]),_0x249c4d=_0x134bca[_0x4041c1(0xcb)]()['get'](_0xd2d745),{[TestFrameworkConstants[_0x4041c1(0x104)]]:_0x78d5b0='',[TestFrameworkConstants[_0x4041c1(0xcc)]]:_0x5e9cf6=''}=_0x249c4d,_0x3c5b5e=(_0x8f36ec||[])[_0x4041c1(0x12b)](_0x1e3712||[])['concat'](_0x153ab7||[])['concat'](_0xae3f62||[])[_0x4041c1(0x12b)](_0xe51af6||[]),_0x91b4aa=0x28,_0x3058d3=Math[_0x4041c1(0x119)](_0x3916a4[_0x4041c1(0x169)](_0x3c5b5e[_0x4041c1(0xe3)],_0x91b4aa));for(let _0x3d5e2a=0x0;_0x3916a4['NAkYO'](_0x3d5e2a,_0x3058d3);_0x3d5e2a++){const _0x35f82a=_0x3916a4[_0x4041c1(0x17f)](_0x3d5e2a,_0x91b4aa),_0x53b35a=_0x3916a4[_0x4041c1(0x17b)](_0x35f82a,_0x91b4aa),_0x43e4a1=_0x3c5b5e['slice'](_0x35f82a,_0x53b35a),_0x506fe1={'platformIndex':global?.['browserstackPlatformIndex']??0x0,'logs':_0x43e4a1,'testFrameworkName':_0x78d5b0,'testFrameworkVersion':_0x5e9cf6,'testFrameworkState':_0x3d456b['toString']()['split']('.')[0x1]};_0x3916a4[_0x4041c1(0x14d)](updatePayloadForTraceLogs,_0x506fe1,_0x157e4a,_0xd2d745,_0x134bca),logger['debug'](_0x4041c1(0xb9)+_0xd2d745+_0x4041c1(0x149)+_0x3916a4['bKlrT'](_0x3d5e2a,0x1)+'/'+_0x3058d3+_0x4041c1(0x10a)+util[_0x4041c1(0xf2)](_0x506fe1));const _0x5ae599=await GrpcClient[_0x4041c1(0xf0)]()[_0x4041c1(0x146)](_0x506fe1);logger[_0x4041c1(0x8f)](_0x4041c1(0xb9)+_0xd2d745+_0x4041c1(0x149)+_0x3916a4[_0x4041c1(0x17b)](_0x3d5e2a,0x1)+'/'+_0x3058d3+_0x4041c1(0xa0)+util[_0x4041c1(0xf2)](_0x5ae599));}}else{const {logs:_0x5bf097}=_0x3916a4[_0x4041c1(0x139)](getStepsAndLogs,_0x157e4a[_0x4041c1(0xd2)][_0x4041c1(0x176)],_0x4de7dd,_0x3916a4[_0x4041c1(0x150)]),_0x248d77=_0x3916a4['BAHxc'](getTestRunIdentifier,_0x157e4a[_0x4041c1(0x16f)],_0x157e4a[_0x4041c1(0xe5)][_0x4041c1(0x184)]);logger['debug'](_0x4041c1(0xc8)+_0x248d77);const _0x5d10fb=_0x134bca[_0x4041c1(0xcb)]()[_0x4041c1(0x7f)](_0x248d77),{[TestFrameworkConstants[_0x4041c1(0x104)]]:_0x2f09a5='',[TestFrameworkConstants[_0x4041c1(0xcc)]]:_0x3a857c=''}=_0x5d10fb,_0x42323b={'platformIndex':'0','logs':_0x5bf097,'testFrameworkName':_0x2f09a5,'testFrameworkVersion':_0x3a857c,'testFrameworkState':_0x3d456b[_0x4041c1(0xed)]()[_0x4041c1(0x138)]('.')[0x1]};_0x3916a4[_0x4041c1(0x14d)](updatePayloadForTraceLogs,_0x42323b,_0x157e4a,_0x248d77,_0x134bca),logger[_0x4041c1(0x8f)](_0x4041c1(0xb9)+_0x248d77+_0x4041c1(0x10a)+util['inspect'](_0x42323b));const _0x2a81c7=await GrpcClient[_0x4041c1(0xf0)]()['logCreatedEvent'](_0x42323b);}}catch(_0xe34ead){logger['error'](_0x4041c1(0xce)+util['format'](_0xe34ead));}}[a95_0x158069(0xe9)](_0x2fc663){const _0x140371=a95_0x158069,_0x57a2fe={'vxnWW':function(_0x234605,_0x2d5232,_0x1a09e5){return _0x234605(_0x2d5232,_0x1a09e5);},'woSJo':function(_0x116b33,_0x40dc55){return _0x116b33<_0x40dc55;},'IXGLg':_0x140371(0xfc)};try{const _0x2da89c=_0x2fc663[_0x140371(0x16f)]['id'],_0x533508=_0x57a2fe[_0x140371(0x17d)](getTestRunIdentifier,_0x2fc663[_0x140371(0x16f)],_0x2fc663[_0x140371(0xe5)]['retry']),_0x2bc7ad=_0x2fc663[_0x140371(0x10f)],_0x51106a=_0x2bc7ad[_0x140371(0xb7)](),_0x1a35f7=_0x2bc7ad[_0x140371(0xcb)]()[_0x140371(0x7f)](_0x533508);logger[_0x140371(0x8f)](_0x140371(0x124)+_0x2da89c);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x2cc294='',[TestFrameworkConstants[_0x140371(0xcc)]]:_0x4d7eb8='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x20d4c2='',[TestFrameworkConstants[_0x140371(0xda)]]:_0x1b3f35=''}=_0x1a35f7,_0x355ff5=_0x2bc7ad[_0x140371(0xd1)]()['toString']()['split']('.')[0x1],_0x11f545=_0x2bc7ad[_0x140371(0x135)]()['toString']()[_0x140371(0x138)]('.')[0x1],_0x419e2f=_0x57a2fe['woSJo'](_0x2fc663?.[_0x140371(0xe5)]?.[_0x140371(0xbc)]??0x0,0x0)?0x0:_0x2fc663?.[_0x140371(0xe5)]?.[_0x140371(0xbc)]??0x0,_0x1cf1fc=_0x2bc7ad[_0x140371(0xf3)](),_0xb27a6f=Buffer[_0x140371(0x147)](JSON[_0x140371(0x88)](_0x1a35f7))[_0x140371(0xed)](_0x57a2fe['IXGLg']),_0x396c46={'hash':_0x51106a[_0x140371(0x164)](),'threadId':_0x51106a['getThreadId']()[_0x140371(0xed)](),'processId':_0x51106a[_0x140371(0x120)]()[_0x140371(0xed)]()},_0x234851={};_0x234851[_0x140371(0x96)]=_0x419e2f,_0x234851[_0x140371(0x14b)]=_0x2cc294,_0x234851[_0x140371(0xd4)]=_0x4d7eb8,_0x234851[_0x140371(0x93)]=_0x355ff5,_0x234851['hookState']=_0x11f545,_0x234851[_0x140371(0xa3)]=_0x20d4c2,_0x234851[_0x140371(0xf8)]=_0x1b3f35,_0x234851[_0x140371(0x9c)]=_0x1cf1fc,_0x234851['eventJson']=_0xb27a6f,_0x234851['executionContext']=_0x396c46;const _0x2593e6=_0x234851;return logger[_0x140371(0x8f)](_0x140371(0x112)+_0x2da89c+_0x140371(0x10e)+_0x355ff5+_0x140371(0x114)+_0x11f545),_0x2593e6;}catch(_0x3bd4cd){return logger[_0x140371(0xab)](_0x140371(0x80)+util[_0x140371(0x8d)](_0x3bd4cd)),{};}}}module['exports']=PlaywrightTestFramework;
1
+ const a93_0x4f6b12=a93_0x5059;(function(_0x285c81,_0x4bb501){const _0x5b1e6f=a93_0x5059,_0x582658=_0x285c81();while(!![]){try{const _0x4087e7=-parseInt(_0x5b1e6f(0xe1))/0x1+-parseInt(_0x5b1e6f(0x18d))/0x2*(-parseInt(_0x5b1e6f(0xbc))/0x3)+-parseInt(_0x5b1e6f(0x1c4))/0x4*(parseInt(_0x5b1e6f(0x165))/0x5)+-parseInt(_0x5b1e6f(0x158))/0x6*(parseInt(_0x5b1e6f(0x110))/0x7)+-parseInt(_0x5b1e6f(0x1b6))/0x8*(-parseInt(_0x5b1e6f(0x162))/0x9)+parseInt(_0x5b1e6f(0x13d))/0xa*(-parseInt(_0x5b1e6f(0xd0))/0xb)+parseInt(_0x5b1e6f(0xef))/0xc*(parseInt(_0x5b1e6f(0x10c))/0xd);if(_0x4087e7===_0x4bb501)break;else _0x582658['push'](_0x582658['shift']());}catch(_0x37639b){_0x582658['push'](_0x582658['shift']());}}}(a93_0xb2a0,0x9f31e));function a93_0x5059(_0x527023,_0x587baa){const _0xb2a01b=a93_0xb2a0();return a93_0x5059=function(_0x50599b,_0x2d2f2f){_0x50599b=_0x50599b-0xbc;let _0x25cb29=_0xb2a01b[_0x50599b];return _0x25cb29;},a93_0x5059(_0x527023,_0x587baa);}const TestFramework=require('./testFramework'),TestFrameworkState=require(a93_0x4f6b12(0xe0)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a93_0x4f6b12(0x140)),TestFrameworkInstance=require(a93_0x4f6b12(0x120)),CLIUtils=require(a93_0x4f6b12(0x153)),TrackedInstance=require(a93_0x4f6b12(0xdd)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require('uuid'),util=require(a93_0x4f6b12(0x18b)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a93_0x4f6b12(0x191)),TestInfo=require(a93_0x4f6b12(0x13e)),GrpcClient=require(a93_0x4f6b12(0xd9)),{removeAnsiColors,getFailureType,failureData}=require(a93_0x4f6b12(0x123)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a93_0x4f6b12(0xdf)),{findNestedKey,sendTraceZip,validateFilePath}=require(a93_0x4f6b12(0xdf)),path=require(a93_0x4f6b12(0xe5)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require('../../utils/constants'),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a93_0x4f6b12(0x194),a93_0x4f6b12(0x1a6),a93_0x4f6b12(0xf0),a93_0x4f6b12(0x193)]);class PlaywrightTestFramework extends TestFramework{constructor(_0x352844,_0x11ba81,_0x2cf5f2){super(_0x352844,_0x11ba81,_0x2cf5f2);}async[a93_0x4f6b12(0x12e)](_0x466ea3,_0x2c33bd,_0x17dbb7={}){const _0x222670=a93_0x4f6b12,_0x42fe14={'BzIkq':function(_0x103f70,_0x4958f2){return _0x103f70===_0x4958f2;},'VFBWH':function(_0x2eeda9,_0x2904fd){return _0x2eeda9===_0x2904fd;},'VPoTH':function(_0x33f45c,_0x44c440,_0x12debb){return _0x33f45c(_0x44c440,_0x12debb);},'pmAkU':function(_0x502619,_0x26d1bf){return _0x502619===_0x26d1bf;},'GKyyY':function(_0x1d957e,_0x5286e9){return _0x1d957e===_0x5286e9;},'goywe':function(_0x1bcd9d,_0x34a8bd,_0xbe8931){return _0x1bcd9d(_0x34a8bd,_0xbe8931);},'MjvjU':function(_0x166b85,_0x4d7da0,_0x100ad1,_0x15e8d4){return _0x166b85(_0x4d7da0,_0x100ad1,_0x15e8d4);},'zOkyO':_0x222670(0x188),'qwafd':'trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s'};super[_0x222670(0x12e)](_0x466ea3,_0x2c33bd,_0x17dbb7);if(_0x42fe14[_0x222670(0x121)](_0x466ea3,TestFrameworkState[_0x222670(0x143)])){const _0x469bb8=TestInfo[_0x222670(0x146)](_0x17dbb7[_0x222670(0x188)],_0x17dbb7[_0x222670(0x188)][_0x222670(0x185)]);TestInfo[_0x222670(0x189)](_0x469bb8,_0x17dbb7['result'],!![]);}if(_0x42fe14[_0x222670(0x121)](_0x466ea3,TestFrameworkState[_0x222670(0x13b)])){this[_0x222670(0x1ae)](_0x466ea3,_0x2c33bd,_0x17dbb7);return;}const _0x5aecc0=this['resolveInstance'](_0x466ea3,_0x2c33bd,_0x17dbb7);if(!_0x5aecc0)return;logger[_0x222670(0xce)](_0x222670(0x16e)+_0x466ea3+_0x222670(0xfe)+_0x2c33bd+_0x222670(0x16f)+_0x5aecc0[_0x222670(0x139)]());try{if(_0x42fe14['BzIkq'](_0x2c33bd,HookState[_0x222670(0x13c)])&&_0x42fe14[_0x222670(0x186)](_0x466ea3,TestFrameworkState['TEST'])){const _0x3daec0=_0x17dbb7['test'];logger[_0x222670(0xce)](_0x222670(0x192)+_0x3daec0['id']+'}');const _0x59d46d=TestInfo[_0x222670(0xe8)](_0x42fe14['VPoTH'](getTestRunIdentifier,_0x3daec0,_0x17dbb7[_0x222670(0x177)]['retry']));_0x5aecc0[_0x222670(0xc0)](this[_0x222670(0x145)](_0x59d46d,_0x3daec0,_0x17dbb7[_0x222670(0x177)])),logger[_0x222670(0xce)](_0x222670(0xd6)+_0x3daec0['id']+',\x20testFrameworkState='+_0x466ea3+'\x20testHookState='+_0x2c33bd+'\x20instance='+_0x5aecc0[_0x222670(0x139)]());}if(_0x42fe14[_0x222670(0x157)](_0x2c33bd,HookState[_0x222670(0x183)])&&_0x42fe14['GKyyY'](_0x466ea3,TestFrameworkState['TEST'])){const _0x36200d=_0x17dbb7[_0x222670(0x188)],_0x2fe5e4=_0x17dbb7[_0x222670(0x177)];logger[_0x222670(0xce)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x36200d['id']);const _0x2b5a61=_0x42fe14[_0x222670(0x131)](getTestRunIdentifier,_0x36200d,_0x2fe5e4[_0x222670(0x185)]),_0xe68de2=_0x5aecc0[_0x222670(0xc1)]()[_0x222670(0x19c)](_0x2b5a61)[TestFrameworkConstants[_0x222670(0x114)]],{steps:_0x4a2c33,logs:_0x3c7169}=_0x42fe14[_0x222670(0x1a1)](getStepsAndLogs,_0x2fe5e4[_0x222670(0x18e)],_0xe68de2,_0x42fe14[_0x222670(0x190)]);_0x5aecc0[_0x222670(0xc0)](this[_0x222670(0xfb)](_0x36200d['id'],_0x2fe5e4,_0x36200d,_0x4a2c33)),await this[_0x222670(0x197)](_0x5aecc0,_0x466ea3,_0x2c33bd,_0x42fe14[_0x222670(0x190)],_0x17dbb7,_0x3c7169);}if(CLIUtils['matchHookRegex'](_0x466ea3['toString']()[_0x222670(0x14a)]('.')[0x1])){const _0x13df23=await this[_0x222670(0xc2)](_0x5aecc0,_0x466ea3,_0x2c33bd,_0x17dbb7);_0x5aecc0[_0x222670(0xc0)](_0x13df23);}}catch(_0x4bb29e){logger['error'](util[_0x222670(0x128)](_0x42fe14['qwafd'],_0x466ea3,_0x2c33bd,_0x17dbb7['length'],_0x4bb29e));}_0x17dbb7[_0x222670(0x19e)]=_0x5aecc0,await this['runHooks'](_0x5aecc0,_0x466ea3,_0x2c33bd,_0x17dbb7);}[a93_0x4f6b12(0x160)](_0xb3aa81,_0x414a3e,_0xf63622={}){const _0x63ca3=a93_0x4f6b12,_0x50504e={};_0x50504e[_0x63ca3(0x11e)]=function(_0x101ed9,_0x3e471d){return _0x101ed9===_0x3e471d;},_0x50504e[_0x63ca3(0x19f)]=function(_0x56d5a2,_0x108dfd){return _0x56d5a2===_0x108dfd;};const _0x451b23=_0x50504e;let _0x5474a6=null;return(_0x451b23[_0x63ca3(0x11e)](_0xb3aa81,TestFrameworkState[_0x63ca3(0xc6)])||_0x451b23['bjhmC'](_0xb3aa81,TestFrameworkState['NONE']))&&this[_0x63ca3(0x170)](_0xb3aa81,_0xf63622),_0x5474a6=TestFramework[_0x63ca3(0x1b5)](),_0x5474a6;}[a93_0x4f6b12(0x170)](_0x792f62,_0x4cd4fe){const _0x3fc7d2=a93_0x4f6b12,_0x376ff5=CLIUtils[_0x3fc7d2(0x141)](),_0x28a290=TrackedInstance['createContext'](_0x376ff5);let _0x2d47d8=null;logger[_0x3fc7d2(0x108)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x376ff5+_0x3fc7d2(0x11b)+_0x792f62),_0x2d47d8=new TestFrameworkInstance(_0x28a290,this[_0x3fc7d2(0xd1)](),this[_0x3fc7d2(0xe3)](),_0x792f62,HookState[_0x3fc7d2(0x174)]),TestFramework[_0x3fc7d2(0x1a9)](_0x28a290,_0x2d47d8),logger[_0x3fc7d2(0x108)](_0x3fc7d2(0x171)+_0x28a290['getId']()+_0x3fc7d2(0x144)+_0x376ff5);}[a93_0x4f6b12(0x145)](_0x5e6750,_0x2d4177,_0x4638bf){const _0x52a08a=a93_0x4f6b12,_0x5ab18e={'jqOUF':function(_0x424611,_0x31af03){return _0x424611(_0x31af03);},'sGhsF':function(_0x2c3975,_0x52c6de){return _0x2c3975(_0x52c6de);},'pWpuU':function(_0x11ca47,_0xae8cee){return _0x11ca47(_0xae8cee);},'WdYIm':function(_0x5dea2f,_0x34c60a){return _0x5dea2f(_0x34c60a);},'PtFTW':function(_0x551675,_0x11380b){return _0x551675(_0x11380b);},'ltpgF':function(_0x4f2bf2,_0x1e49c3,_0x9454c3){return _0x4f2bf2(_0x1e49c3,_0x9454c3);},'bwmKl':function(_0x11557c,_0x549443){return _0x11557c(_0x549443);}},_0x4315b4=_0x5ab18e[_0x52a08a(0x167)](getPlaywrightTestId,_0x2d4177),_0x16b001=_0x5ab18e[_0x52a08a(0xe6)](getPlaywrightTestTitle,_0x2d4177),_0x131267=_0x5ab18e[_0x52a08a(0x167)](getTestTags,_0x2d4177),_0x508d9c=_0x5ab18e['pWpuU'](getPlaywrightTestCode,_0x2d4177),_0x10c7b7=_0x5ab18e[_0x52a08a(0x130)](getPlaywrightTestFilePath,_0x2d4177),_0x4016da=_0x10c7b7,_0x325fbc=_0x5ab18e['WdYIm'](getPlaywrightTestScope,_0x2d4177),_0x43a862=_0x5ab18e['PtFTW'](getPlaywrightTestScopes,_0x2d4177),_0x5d3525=_0x5ab18e[_0x52a08a(0x130)](getPlaywrightSessionName,_0x2d4177),_0x44c78d=this[_0x52a08a(0xd1)]()[0x0],_0xef5e2a=_0x5ab18e[_0x52a08a(0x127)](getTestRunIdentifier,_0x2d4177,_0x4638bf[_0x52a08a(0x185)]),_0x221369={[TestFrameworkConstants[_0x52a08a(0x11a)]]:_0x44c78d,[TestFrameworkConstants[_0x52a08a(0x150)]]:this[_0x52a08a(0xe3)]()[_0x44c78d],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x52a08a(0xbe)]]:{},[TestFrameworkConstants[_0x52a08a(0x173)]]:{},[TestFrameworkConstants[_0x52a08a(0x114)]]:_0x5e6750,[TestFrameworkConstants['KEY_TEST_RESULT']]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x52a08a(0x17c)]]:_0x5d3525,[TestFrameworkConstants[_0x52a08a(0x184)]]:_0x10c7b7,[TestFrameworkConstants[_0x52a08a(0x1af)]]:_0x4315b4,[TestFrameworkConstants[_0x52a08a(0xf9)]]:_0x16b001,[TestFrameworkConstants[_0x52a08a(0x195)]]:_0x4016da,[TestFrameworkConstants[_0x52a08a(0xf8)]]:_0x508d9c,[TestFrameworkConstants['KEY_TEST_TAGS']]:_0x131267,[TestFrameworkConstants[_0x52a08a(0x166)]]:_0x2d4177[_0x52a08a(0x19b)][0x0][_0x52a08a(0x138)],[TestFrameworkConstants[_0x52a08a(0x1bf)]]:_0x325fbc,[TestFrameworkConstants[_0x52a08a(0xee)]]:_0x43a862,[TestFrameworkConstants[_0x52a08a(0x16d)]]:_0x5ab18e['bwmKl'](getPlaywrightCustomRerunParam,_0x2d4177)};TestInfo[_0x52a08a(0x189)](_0xef5e2a,_0x221369);const _0x2b76b4={};return _0x2b76b4[_0xef5e2a]=_0x221369,_0x2b76b4;}[a93_0x4f6b12(0xfb)](_0x263c11,_0x10d1b6,_0x489046,_0x358159){const _0x1882c4=a93_0x4f6b12,_0x36c039={'WsFcz':function(_0x560e4d,_0x3f5f13){return _0x560e4d(_0x3f5f13);},'QqRAm':'TEST_ATTACHMENT','HcqCI':function(_0x53f4cc,_0x5b20bb){return _0x53f4cc===_0x5b20bb;},'JvHQC':function(_0x123d0b,_0x4969bf){return _0x123d0b===_0x4969bf;},'HKVFt':_0x1882c4(0x13f),'AhMni':function(_0x2953e5,_0x50aee5){return _0x2953e5(_0x50aee5);},'wYuzU':function(_0x51792f,_0x1dc929,_0x10de58){return _0x51792f(_0x1dc929,_0x10de58);},'vaNLq':function(_0x5cb081,_0x227d93){return _0x5cb081===_0x227d93;},'xDnRA':_0x1882c4(0x154),'hrsKN':_0x1882c4(0x10a),'eKIvn':'failed','aJQTa':function(_0x2f72f5,_0xb07b0d){return _0x2f72f5===_0xb07b0d;},'eNGUY':_0x1882c4(0xde),'AkEAe':_0x1882c4(0x168),'KtXKy':function(_0x5557a5,_0x11acc0,_0x182092){return _0x5557a5(_0x11acc0,_0x182092);},'zLdLO':function(_0x406942,_0x19019f){return _0x406942||_0x19019f;},'qkOhr':function(_0x271c61,_0x32c61a){return _0x271c61>_0x32c61a;},'YSlDh':function(_0x44aa57,_0x3ac00c,_0xc7d3e7){return _0x44aa57(_0x3ac00c,_0xc7d3e7);},'yqtoE':function(_0x3f6d66,_0x3db2b6){return _0x3f6d66-_0x3db2b6;},'Weozi':function(_0x2975e7,_0x1b7852,_0x139550,_0x3eac22){return _0x2975e7(_0x1b7852,_0x139550,_0x3eac22);},'gSTIY':'test','ekiaR':function(_0x1bb722,_0x5ac36f){return _0x1bb722===_0x5ac36f;},'hjdYw':function(_0x59808b,_0x20392f){return _0x59808b>=_0x20392f;},'iJSIX':function(_0x1aebc5,_0x519074){return _0x1aebc5+_0x519074;},'hYAoN':function(_0xa5d37b,_0x236157){return _0xa5d37b>_0x236157;},'LOJdb':function(_0x25e9b9,_0x2b1b9d,_0x5e3140){return _0x25e9b9(_0x2b1b9d,_0x5e3140);},'nYauz':_0x1882c4(0xe5),'HRgoo':function(_0x282e66,_0x332b69){return _0x282e66(_0x332b69);},'uiPBd':function(_0x5aad18,_0x1febdf,_0x147922){return _0x5aad18(_0x1febdf,_0x147922);},'MqjGq':function(_0x3288a6,_0x5d2115){return _0x3288a6(_0x5d2115);},'Lzrpg':_0x1882c4(0x1b4)};logger['debug'](_0x1882c4(0x16b)+_0x263c11);const _0x2a181e=_0x36c039[_0x1882c4(0x181)](getTestRunIdentifier,_0x489046,_0x10d1b6[_0x1882c4(0x185)]),_0x502300=new Date(),_0x395079=_0x10d1b6[_0x1882c4(0x12f)],_0x5c73e3=TestInfo[_0x1882c4(0x196)](_0x2a181e)[TestFrameworkConstants[_0x1882c4(0x1ba)]]||{};let _0x29a1be=_0x395079;if(_0x36c039['vaNLq'](_0x10d1b6[_0x1882c4(0x12f)],_0x489046['expectedStatus']))_0x29a1be=_0x36c039['HcqCI'](_0x10d1b6['status'],_0x36c039[_0x1882c4(0xf1)])?_0x36c039[_0x1882c4(0xf1)]:_0x36c039[_0x1882c4(0x1bb)];else{(_0x36c039[_0x1882c4(0x105)](_0x29a1be,_0x36c039[_0x1882c4(0x1bb)])||_0x36c039['HcqCI'](_0x29a1be,_0x36c039[_0x1882c4(0xf4)])||_0x36c039[_0x1882c4(0x18a)](_0x29a1be,_0x36c039[_0x1882c4(0x148)]))&&(_0x29a1be=_0x36c039['eKIvn']);if(_0x36c039[_0x1882c4(0x18a)](_0x10d1b6[_0x1882c4(0x12f)],_0x36c039[_0x1882c4(0x1bb)])&&_0x36c039['aJQTa'](_0x489046[_0x1882c4(0x11d)],_0x36c039[_0x1882c4(0xf4)])){const _0x397518={};_0x397518[_0x1882c4(0xec)]=_0x36c039[_0x1882c4(0xfc)],_0x397518[_0x1882c4(0x1ab)]=_0x36c039[_0x1882c4(0xfc)],_0x10d1b6[_0x1882c4(0xf7)]=_0x397518,_0x10d1b6[_0x1882c4(0x109)]=[_0x10d1b6[_0x1882c4(0xf7)]];}}const {failureData:_0xd80e5c,logs:_0x30ae17}=_0x36c039[_0x1882c4(0x12b)](getFailureData,_0x10d1b6?.[_0x1882c4(0x109)],{}),_0x3e63c8={[TestFrameworkConstants['KEY_TEST_FAILURE']]:_0x36c039['zLdLO'](_0xd80e5c,null),[TestFrameworkConstants[_0x1882c4(0x106)]]:_0x10d1b6?.['error']&&_0x36c039['WsFcz'](getFailureType,_0x10d1b6['error']['message']),[TestFrameworkConstants[_0x1882c4(0x10d)]]:_0x10d1b6?.['error']&&_0x36c039['AhMni'](removeAnsiColors,_0x10d1b6['error']['message']),[TestFrameworkConstants[_0x1882c4(0x125)]]:[],[TestFrameworkConstants[_0x1882c4(0x1b8)]]:_0x29a1be,[TestFrameworkConstants[_0x1882c4(0x15c)]]:_0x502300[_0x1882c4(0x15f)](),[TestFrameworkConstants[_0x1882c4(0xcf)]]:new Date()[_0x1882c4(0x15f)](),[TestFrameworkConstants[_0x1882c4(0x1ba)]]:_0x5c73e3};if(_0x10d1b6&&_0x36c039[_0x1882c4(0x136)](_0x10d1b6['retry'],0x0)){const _0x2d0d06=TestInfo['getTestUUID'](_0x36c039[_0x1882c4(0x119)](getTestRunIdentifier,_0x489046,_0x36c039[_0x1882c4(0x132)](_0x10d1b6[_0x1882c4(0x185)],0x1)));_0x3e63c8[TestFrameworkConstants[_0x1882c4(0x161)]]=_0x2d0d06;}const _0x46091b={};_0x46091b[_0x1882c4(0x188)]=_0x489046;const _0x49a5bd=this['resolveInstance'](TestFrameworkState['TEST'],HookState['POST'],_0x46091b),_0x42c839=_0x49a5bd[_0x1882c4(0xc1)]()[_0x1882c4(0x19c)](_0x2a181e)[TestFrameworkConstants[_0x1882c4(0x114)]],_0x1f7c2b=_0x358159||_0x36c039[_0x1882c4(0x1c2)](getStepsAndLogs,_0x10d1b6[_0x1882c4(0x18e)],_0x42c839,_0x36c039['gSTIY'])[_0x1882c4(0x18e)],_0x44b013=new Map(),_0x28ed9b=new Map();let _0x1a7680=0x0;const _0x1ff79f=[];for(const _0x26dc84 of _0x1f7c2b||[]){const _0x20d006=_0x26dc84[_0x1882c4(0xcb)]||null;let _0xd613d8;if(_0x36c039[_0x1882c4(0x14e)](_0x20d006,null)){if(_0x36c039[_0x1882c4(0x179)](_0x1a7680,TestFrameworkConstants[_0x1882c4(0x1c0)]))continue;_0xd613d8=0x0,_0x1a7680++;}else{const _0x342066=_0x44b013[_0x1882c4(0x19c)](_0x20d006);if(_0x36c039[_0x1882c4(0x126)](_0x342066,undefined))continue;_0xd613d8=_0x36c039[_0x1882c4(0x15e)](_0x342066,0x1);if(_0x36c039[_0x1882c4(0xd8)](_0xd613d8,TestFrameworkConstants[_0x1882c4(0x149)]))continue;}_0x44b013[_0x1882c4(0x17b)](_0x26dc84['id'],_0xd613d8),_0x28ed9b[_0x1882c4(0x17b)](_0x26dc84['id'],_0x26dc84[_0x1882c4(0x1a8)]),_0x1ff79f['push']({'id':_0x26dc84['id'],'parent_id':_0x20d006,'parent_text':_0x20d006?_0x28ed9b['get'](_0x20d006)||'':'','text':_0x26dc84[_0x1882c4(0x1a8)],'keyword':_0x26dc84[_0x1882c4(0x163)]||null,'started_at':_0x26dc84[_0x1882c4(0x1b3)],'duration':_0x26dc84[_0x1882c4(0x1b9)]??null,'result':_0x26dc84[_0x1882c4(0x177)],'failure':_0x26dc84[_0x1882c4(0xea)]||null,'failure_type':_0x26dc84[_0x1882c4(0x1c3)]||null});}const _0x5f2b90={};_0x5f2b90[_0x1882c4(0x18e)]=_0x1ff79f,_0x3e63c8[TestFrameworkConstants[_0x1882c4(0x1a3)]]=_0x5f2b90,logger[_0x1882c4(0xce)](_0x1882c4(0x172)+_0x1ff79f['length']+_0x1882c4(0x11f)+_0x263c11);const _0x1314b4=[],_0x3f081d=_0x36c039['LOJdb'](findNestedKey,_0x10d1b6,_0x36c039[_0x1882c4(0x12c)]);if(_0x3f081d&&_0x36c039[_0x1882c4(0x19a)](validateFilePath,_0x3f081d))try{_0x1314b4['push']({'kind':_0x36c039[_0x1882c4(0x152)],'timestamp':new Date()[_0x1882c4(0x15f)](),'test_run_uuid':_0x42c839,'file_name':path[_0x1882c4(0x115)](_0x3f081d),'file_size':fs['statSync'](_0x3f081d)[_0x1882c4(0x1bc)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x3c46d5){logger[_0x1882c4(0xf7)](_0x1882c4(0x15b)+_0x3f081d+':\x20'+_0x3c46d5[_0x1882c4(0xec)]);}const _0x418a76=TestInfo['getTraceFilePaths'](),_0x242558=_0x418a76['filter'](_0x1cc98f=>_0x1cc98f[_0x1882c4(0xf2)]===_0x42c839);_0x242558['forEach'](_0x115ca3=>{const _0x97ae0f=_0x1882c4;if(_0x115ca3[_0x97ae0f(0x1aa)]&&_0x36c039['WsFcz'](validateFilePath,_0x115ca3[_0x97ae0f(0x1aa)])&&!_0x1314b4[_0x97ae0f(0x135)](_0x5a3c5d=>_0x5a3c5d[_0x97ae0f(0x137)]===path[_0x97ae0f(0x115)](_0x115ca3['filePath'])))try{_0x1314b4[_0x97ae0f(0xc4)]({'kind':_0x36c039[_0x97ae0f(0x152)],'timestamp':new Date()[_0x97ae0f(0x15f)](),'test_run_uuid':_0x42c839,'file_name':path[_0x97ae0f(0x115)](_0x115ca3[_0x97ae0f(0x1aa)]),'file_size':fs[_0x97ae0f(0xda)](_0x115ca3[_0x97ae0f(0x1aa)])[_0x97ae0f(0x1bc)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0xe7661f){logger[_0x97ae0f(0xf7)](_0x97ae0f(0x15a)+_0x115ca3[_0x97ae0f(0x1aa)]+_0x97ae0f(0xd2)+_0xe7661f['message']);}});if(_0x36c039['qkOhr'](_0x1314b4['length'],0x0)){const _0x1e86ec=_0x3e63c8[TestFrameworkConstants['KEY_LOGS']]||[];_0x3e63c8[TestFrameworkConstants[_0x1882c4(0x125)]]=[..._0x1e86ec,..._0x1314b4];}const _0x5bc5fc=TestInfo[_0x1882c4(0x196)](_0x2a181e)[TestFrameworkConstants[_0x1882c4(0x107)]]||{},_0x435d21=_0x36c039['uiPBd'](getManualUploadLogs,_0x5bc5fc,_0x49a5bd[_0x1882c4(0xc1)]()[_0x1882c4(0x19c)](_0x2a181e)[TestFrameworkConstants[_0x1882c4(0x114)]]);if(_0x36c039[_0x1882c4(0xd8)](_0x435d21[_0x1882c4(0xed)],0x0)){const _0x126323=_0x3e63c8[TestFrameworkConstants[_0x1882c4(0x125)]]||[];_0x3e63c8[TestFrameworkConstants[_0x1882c4(0x125)]]=[..._0x126323,..._0x435d21];}const _0x283029=_0x489046[_0x1882c4(0x199)]||[],_0x356dd4=_0x3e63c8[TestFrameworkConstants[_0x1882c4(0x1ba)]]||{},_0x5a9075=_0x36c039[_0x1882c4(0x1be)](require,_0x36c039['Lzrpg']);_0x283029['forEach'](_0x3c1b0e=>{const _0x528c8e=_0x1882c4,{type:_0x131b21}=_0x3c1b0e;let _0x1ab420=_0x3c1b0e[_0x528c8e(0x151)];if(!_0x131b21)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x528c8e(0x111)](_0x131b21))return;(_0x36c039[_0x528c8e(0xd7)](_0x1ab420,undefined)||_0x36c039['HcqCI'](_0x1ab420,null)||_0x36c039[_0x528c8e(0x126)](_0x36c039[_0x528c8e(0x118)](String,_0x1ab420)[_0x528c8e(0x1a0)](),''))&&(_0x1ab420=_0x36c039[_0x528c8e(0x1a5)]);const _0x3e86cc=helper[_0x528c8e(0xdc)](_0x36c039[_0x528c8e(0x1bd)](String,_0x1ab420));_0x5a9075[_0x528c8e(0xc7)](_0x356dd4,_0x131b21,_0x3e86cc);}),_0x3e63c8[TestFrameworkConstants[_0x1882c4(0x1ba)]]=_0x356dd4,TestInfo[_0x1882c4(0x189)](_0x2a181e,_0x3e63c8);const _0x28c264={};return _0x28c264[_0x2a181e]=_0x3e63c8,_0x28c264;}[a93_0x4f6b12(0x1ae)](_0x2b5c00,_0x4932fb,_0x4c8f94){const _0xd5be61=a93_0x4f6b12,_0x49b6b9={'XXwGr':function(_0x37538f,_0x2a8a45){return _0x37538f||_0x2a8a45;},'HQyjz':function(_0x231335,_0x3913ba,_0x1a288e){return _0x231335(_0x3913ba,_0x1a288e);}};try{const {test:_0x397041,result:_0x20ae48,step:_0x1fe82a}=_0x4c8f94;if(_0x49b6b9['XXwGr'](!_0x397041,!_0x1fe82a)||!_0x20ae48)return;const _0x542a95=_0x49b6b9[_0xd5be61(0x164)](getTestRunIdentifier,_0x397041,_0x20ae48[_0xd5be61(0x185)]);logger[_0xd5be61(0xce)](_0xd5be61(0xe7)+_0x542a95+_0xd5be61(0xfe)+_0x4932fb+'\x20step=\x22'+_0x1fe82a[_0xd5be61(0xc9)]+'\x22');}catch(_0x212da7){logger[_0xd5be61(0xf7)]('trackStepEvent:\x20exception='+util[_0xd5be61(0x128)](_0x212da7));}}async['trackHookEvent'](_0x1c4258,_0x2baf3d,_0x21204d,_0x2afdc4){const _0x2154cc=a93_0x4f6b12,_0x2d7d02={'geJIQ':function(_0x20ce6f,_0x125055,_0x485cc0){return _0x20ce6f(_0x125055,_0x485cc0);},'ATOdm':function(_0x5b3276,_0x448668){return _0x5b3276 in _0x448668;},'qSwnm':function(_0x2f531c,_0x49fdcc){return _0x2f531c in _0x49fdcc;},'amDaQ':function(_0x502cd4,_0x38be73){return _0x502cd4(_0x38be73);},'aztjw':function(_0x187f18,_0x2e3b40){return _0x187f18===_0x2e3b40;},'STHrW':function(_0x53583f){return _0x53583f();},'dZdpL':function(_0x444ffc,_0x23b23e){return _0x444ffc>_0x23b23e;},'SddFL':'err','gAXUr':function(_0x3882af,_0x38aaaf){return _0x3882af(_0x38aaaf);},'kWjLQ':function(_0x568f0c,_0x2426c7){return _0x568f0c(_0x2426c7);},'mBkUc':_0x2154cc(0xbf),'TVvFe':_0x2154cc(0x10a),'FoHJq':function(_0x5d70b1,_0x26fe1e){return _0x5d70b1!==_0x26fe1e;},'bullb':function(_0x5e8833,_0x59d9d3){return _0x5e8833+_0x59d9d3;},'xEHwk':_0x2154cc(0x116)},_0x2a7802=_0x2afdc4[_0x2154cc(0x188)],_0x1f1a2f=_0x2afdc4[_0x2154cc(0x18f)],_0x50ffff=_0x2d7d02[_0x2154cc(0x18c)](getTestRunIdentifier,_0x2a7802,_0x2afdc4['result'][_0x2154cc(0x185)]),_0x3db727=_0x2baf3d[_0x2154cc(0x112)]()[_0x2154cc(0x14a)]('.')[0x1];let _0x56fa9c=_0x1c4258[_0x2154cc(0xc1)]()[_0x2154cc(0x19c)](_0x50ffff)[TestFrameworkConstants[_0x2154cc(0x173)]];!_0x56fa9c&&(_0x56fa9c={});!_0x2d7d02[_0x2154cc(0x12d)](_0x3db727,_0x56fa9c)&&(_0x56fa9c[_0x3db727]=[]);let _0xef98c3=_0x1c4258[_0x2154cc(0xc1)]()[_0x2154cc(0x19c)](_0x50ffff)[TestFrameworkConstants[_0x2154cc(0xbe)]];!_0xef98c3&&(_0xef98c3={});!_0x2d7d02[_0x2154cc(0xd5)](_0x3db727,_0xef98c3)&&(_0xef98c3[_0x3db727]=[]);const _0x1f3a9d={[TestFrameworkConstants[_0x2154cc(0x173)]]:_0x56fa9c,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0xef98c3},_0x3586bd={};_0x3586bd[_0x50ffff]=_0x1f3a9d;const _0x54d0ba=_0x3586bd,_0x21962a=_0x2d7d02[_0x2154cc(0xcc)](getPlaywrightTestFilePath,_0x2a7802),_0x3b91aa=_0x21962a,_0x26eab3=TestInfo['getTestDetails'](_0x50ffff)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};if(_0x2d7d02['aztjw'](_0x21204d,HookState[_0x2154cc(0x13c)])){const _0x5436ed={'key':_0x3db727,[TestFrameworkConstants[_0x2154cc(0x1c1)]]:_0x2d7d02[_0x2154cc(0x124)](uuidv4),[TestFrameworkConstants[_0x2154cc(0x1a2)]]:TestFrameworkConstants[_0x2154cc(0x176)],[TestFrameworkConstants[_0x2154cc(0x101)]]:_0x1f1a2f[_0x2154cc(0x138)],[TestFrameworkConstants[_0x2154cc(0x159)]]:[],[TestFrameworkConstants[_0x2154cc(0xf3)]]:_0x1f1a2f['title'],[TestFrameworkConstants[_0x2154cc(0x184)]]:_0x21962a,[TestFrameworkConstants[_0x2154cc(0x195)]]:_0x3b91aa,[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x26eab3};_0x56fa9c[_0x3db727][_0x2154cc(0xc4)](_0x5436ed),_0x54d0ba[_0x50ffff][TestFrameworkConstants[_0x2154cc(0x1ad)]]=_0x3db727,logger['debug']('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x3db727+_0x2154cc(0xf5)+_0x5436ed+_0x2154cc(0x187)+_0x2afdc4);}else{if(_0x2d7d02['aztjw'](_0x21204d,HookState['POST'])){const _0xa05d2f=await _0x2afdc4['result'],_0x15c291=_0x56fa9c[_0x3db727]||[],_0x2d815e=_0x2afdc4[_0x2154cc(0x18f)];logger[_0x2154cc(0xce)]('Hook\x20List\x20in\x20Post\x20'+_0x15c291+'\x20and\x20args\x20=\x20'+_0x2afdc4);if(_0x2d7d02[_0x2154cc(0x100)](_0x15c291[_0x2154cc(0xed)],0x0)){const _0x34a542=_0x15c291[_0x2154cc(0x1b7)]();if(_0x2d815e['error']){const _0x21b8c3=_0x2d7d02['geJIQ'](failureData,_0x2d815e[_0x2154cc(0xf7)],_0x2d7d02[_0x2154cc(0x103)]);_0x34a542[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x2d7d02[_0x2154cc(0xe2)](getFailureType,_0x2d815e?.[_0x2154cc(0xf7)][_0x2154cc(0xec)]),_0x34a542[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x2d7d02['kWjLQ'](removeAnsiColors,_0x2d815e?.[_0x2154cc(0xf7)]['message']),_0x34a542[TestFrameworkConstants[_0x2154cc(0x1a2)]]=_0x2d7d02['mBkUc'],_0x34a542[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x21b8c3;}else _0x34a542[TestFrameworkConstants[_0x2154cc(0x1a2)]]=_0x2d7d02[_0x2154cc(0x113)];_0x2d7d02[_0x2154cc(0x129)](_0xa05d2f,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x34a542[TestFrameworkConstants[_0x2154cc(0x1a2)]]=!_0x2d815e['error']?_0x2d7d02[_0x2154cc(0x113)]:_0x2d7d02[_0x2154cc(0x134)]);const _0x1ded12=new Date(_0x2d815e[_0x2154cc(0x138)]),_0x487525=new Date(_0x2d7d02[_0x2154cc(0x182)](_0x1ded12[_0x2154cc(0x169)](),_0x2d815e['duration']));_0x34a542[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x487525['toISOString'](),_0x34a542[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x26eab3;const _0x4ffb21=_0x34a542[TestFrameworkConstants['KEY_HOOK_ID']];await this[_0x2154cc(0x197)](_0x1c4258,_0x2baf3d,_0x4ffb21,_0x2d7d02[_0x2154cc(0xc3)],_0x2afdc4),!_0xef98c3[_0x3db727]&&(_0xef98c3[_0x3db727]=[]),_0xef98c3[_0x3db727][_0x2154cc(0xc4)](_0x34a542),_0x54d0ba[_0x50ffff][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x3db727;}}}return _0x54d0ba;}async[a93_0x4f6b12(0x197)](_0x59334e,_0x31126d,_0x2b5de7,_0x50796e,_0x31c5b9,_0x3d1471){const _0x5bbce0=a93_0x4f6b12,_0x3e786a={'pBVHZ':function(_0x1f50eb,_0x220b91){return _0x1f50eb===_0x220b91;},'loXKk':_0x5bbce0(0x188),'rnuYM':function(_0x573b52,_0x14ab06,_0xdccd71){return _0x573b52(_0x14ab06,_0xdccd71);},'UmYUL':function(_0x105c3f,_0x23afb0,_0x440603){return _0x105c3f(_0x23afb0,_0x440603);},'lKKqK':_0x5bbce0(0x175),'QkJTR':function(_0x43e144,_0x34fd65,_0x2e37eb,_0x119ab1){return _0x43e144(_0x34fd65,_0x2e37eb,_0x119ab1);},'QcAYV':function(_0xa89a6,_0x4652e3,_0x18302d){return _0xa89a6(_0x4652e3,_0x18302d);},'NFqiQ':function(_0x130b52,_0x14716b){return _0x130b52/_0x14716b;},'OlWms':function(_0x3773e6,_0xd6f460){return _0x3773e6<_0xd6f460;},'laFvO':function(_0x3da2da,_0x3ad184){return _0x3da2da*_0x3ad184;},'sQjom':function(_0x23abbc,_0x43b4b1){return _0x23abbc+_0x43b4b1;},'NCKEg':function(_0x55cf24,_0x482ffe,_0x399881,_0x45cd39,_0x53d6cf){return _0x55cf24(_0x482ffe,_0x399881,_0x45cd39,_0x53d6cf);},'BkgVb':function(_0x4c0ee7,_0x5c110b){return _0x4c0ee7+_0x5c110b;},'gUoqn':_0x5bbce0(0x116),'jDKdh':function(_0x1f200d,_0x16fdca,_0x464f80,_0x20603c,_0x31a689){return _0x1f200d(_0x16fdca,_0x464f80,_0x20603c,_0x31a689);}};try{if(_0x3e786a[_0x5bbce0(0x14c)](_0x50796e,_0x3e786a['loXKk'])){const _0x279558=await _0x31c5b9[_0x5bbce0(0x177)],_0x3902b1=_0x3e786a[_0x5bbce0(0x17a)](getTestRunIdentifier,_0x31c5b9[_0x5bbce0(0x188)],_0x31c5b9[_0x5bbce0(0x177)][_0x5bbce0(0x185)]),_0x48ca09=_0x31c5b9[_0x5bbce0(0x188)];logger[_0x5bbce0(0xce)](_0x5bbce0(0x117)+_0x3902b1+_0x5bbce0(0x155)+util[_0x5bbce0(0xf6)](_0x279558));const _0x2bbb09=_0x59334e[_0x5bbce0(0xc1)]()[_0x5bbce0(0x19c)](_0x3902b1)[TestFrameworkConstants[_0x5bbce0(0x114)]];await _0x3e786a[_0x5bbce0(0xdb)](sendTraceZip,_0x279558,_0x2bbb09);const _0x4c3836=TestInfo[_0x5bbce0(0x196)](_0x3902b1)[_0x3e786a[_0x5bbce0(0x198)]],_0x4597bb={};if(_0x4c3836){!_0x279558[_0x5bbce0(0x175)]&&(_0x279558[_0x5bbce0(0x175)]=[]);_0x4597bb[_0x5bbce0(0x175)]=_0x279558[_0x5bbce0(0x175)][_0x5bbce0(0x1ac)](_0x4c3836||[]);const _0x36aec5=TestInfo[_0x5bbce0(0x196)](_0x3902b1);delete _0x36aec5[_0x3e786a[_0x5bbce0(0x198)]],TestInfo[_0x5bbce0(0x189)](_0x3902b1,_0x36aec5);}const _0x58896a=_0x3d1471||_0x3e786a[_0x5bbce0(0xe4)](getStepsAndLogs,_0x279558[_0x5bbce0(0x18e)],_0x59334e[_0x5bbce0(0xc1)]()[_0x5bbce0(0x19c)](_0x3902b1)[TestFrameworkConstants['KEY_TEST_UUID']],_0x3e786a[_0x5bbce0(0xc8)])[_0x5bbce0(0x178)],_0xab7797=_0x3e786a[_0x5bbce0(0xdb)](getScreenshots,_0x4597bb,_0x59334e[_0x5bbce0(0xc1)]()[_0x5bbce0(0x19c)](_0x3902b1)[TestFrameworkConstants[_0x5bbce0(0x114)]]),_0x228d77=_0x3e786a[_0x5bbce0(0x17a)](getVideos,_0x279558,_0x59334e['getAllData']()[_0x5bbce0(0x19c)](_0x3902b1)[TestFrameworkConstants[_0x5bbce0(0x114)]]),{_:_0x3c83a8,logs:_0x39110e}=_0x3e786a[_0x5bbce0(0xdb)](getFailureData,_0x279558[_0x5bbce0(0x109)],{'test_run_uuid':_0x59334e['getAllData']()[_0x5bbce0(0x19c)](_0x3902b1)[TestFrameworkConstants[_0x5bbce0(0x114)]]}),_0x5ffee7=TestInfo[_0x5bbce0(0x196)](_0x3902b1)[TestFrameworkConstants[_0x5bbce0(0x107)]]||{},_0x34b461=_0x3e786a[_0x5bbce0(0xeb)](getMediaArtifactsLogs,_0x5ffee7,_0x59334e[_0x5bbce0(0xc1)]()[_0x5bbce0(0x19c)](_0x3902b1)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x30d262=_0x59334e['getAllData']()[_0x5bbce0(0x19c)](_0x3902b1),{[TestFrameworkConstants[_0x5bbce0(0x11a)]]:_0x32449a='',[TestFrameworkConstants[_0x5bbce0(0x150)]]:_0x476585=''}=_0x30d262,_0x30c72c=(_0x58896a||[])[_0x5bbce0(0x1ac)](_0xab7797||[])[_0x5bbce0(0x1ac)](_0x39110e||[])[_0x5bbce0(0x1ac)](_0x228d77||[])[_0x5bbce0(0x1ac)](_0x34b461||[]),_0x5b5f47=0x28,_0x3253a5=Math['ceil'](_0x3e786a[_0x5bbce0(0x1b0)](_0x30c72c[_0x5bbce0(0xed)],_0x5b5f47));for(let _0x1cad63=0x0;_0x3e786a[_0x5bbce0(0x14d)](_0x1cad63,_0x3253a5);_0x1cad63++){const _0x40aae2=_0x3e786a['laFvO'](_0x1cad63,_0x5b5f47),_0x5d9942=_0x3e786a[_0x5bbce0(0x12a)](_0x40aae2,_0x5b5f47),_0x276e04=_0x30c72c[_0x5bbce0(0x16a)](_0x40aae2,_0x5d9942),_0x37df13={'platformIndex':global?.[_0x5bbce0(0x14f)]??0x0,'logs':_0x276e04,'testFrameworkName':_0x32449a,'testFrameworkVersion':_0x476585,'testFrameworkState':_0x31126d['toString']()[_0x5bbce0(0x14a)]('.')[0x1]};_0x3e786a['NCKEg'](updatePayloadForTraceLogs,_0x37df13,_0x31c5b9,_0x3902b1,_0x59334e),logger[_0x5bbce0(0xce)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x3902b1+'\x20batch\x20'+_0x3e786a[_0x5bbce0(0x1a7)](_0x1cad63,0x1)+'/'+_0x3253a5+_0x5bbce0(0xe9)+util[_0x5bbce0(0xf6)](_0x37df13));const _0x487c32=await GrpcClient['getInstance']()[_0x5bbce0(0x147)](_0x37df13);logger['debug'](_0x5bbce0(0x16c)+_0x3902b1+_0x5bbce0(0x1a4)+_0x3e786a[_0x5bbce0(0x1a7)](_0x1cad63,0x1)+'/'+_0x3253a5+_0x5bbce0(0x104)+util[_0x5bbce0(0xf6)](_0x487c32));}}else{const {logs:_0x4be3a3}=_0x3e786a[_0x5bbce0(0xe4)](getStepsAndLogs,_0x31c5b9[_0x5bbce0(0x18f)]['steps'],_0x2b5de7,_0x3e786a['gUoqn']),_0x15eb4e=_0x3e786a[_0x5bbce0(0xeb)](getTestRunIdentifier,_0x31c5b9[_0x5bbce0(0x188)],_0x31c5b9[_0x5bbce0(0x177)][_0x5bbce0(0x185)]);logger[_0x5bbce0(0xce)](_0x5bbce0(0x117)+_0x15eb4e);const _0x37dda1=_0x59334e[_0x5bbce0(0xc1)]()[_0x5bbce0(0x19c)](_0x15eb4e),{[TestFrameworkConstants[_0x5bbce0(0x11a)]]:_0x9a3c16='',[TestFrameworkConstants[_0x5bbce0(0x150)]]:_0x499e61=''}=_0x37dda1,_0x2563e9={'platformIndex':'0','logs':_0x4be3a3,'testFrameworkName':_0x9a3c16,'testFrameworkVersion':_0x499e61,'testFrameworkState':_0x31126d[_0x5bbce0(0x112)]()[_0x5bbce0(0x14a)]('.')[0x1]};_0x3e786a[_0x5bbce0(0x10f)](updatePayloadForTraceLogs,_0x2563e9,_0x31c5b9,_0x15eb4e,_0x59334e),logger[_0x5bbce0(0xce)](_0x5bbce0(0x16c)+_0x15eb4e+_0x5bbce0(0xe9)+util['inspect'](_0x2563e9));const _0x3267a6=await GrpcClient[_0x5bbce0(0x180)]()[_0x5bbce0(0x147)](_0x2563e9);}}catch(_0x311261){logger[_0x5bbce0(0xf7)](_0x5bbce0(0x133)+util[_0x5bbce0(0x128)](_0x311261));}}[a93_0x4f6b12(0xca)](_0x3717e8){const _0x5865f4=a93_0x4f6b12,_0x5b7478={'MtNNn':function(_0xfb15e6,_0x4f6461,_0x5d325c){return _0xfb15e6(_0x4f6461,_0x5d325c);},'NTySW':function(_0x47ddd0,_0x1a1d48){return _0x47ddd0<_0x1a1d48;},'tQwEb':_0x5865f4(0x156)};try{const _0x5b2874=_0x3717e8[_0x5865f4(0x188)]['id'],_0x4fe816=_0x5b7478[_0x5865f4(0xd3)](getTestRunIdentifier,_0x3717e8['test'],_0x3717e8[_0x5865f4(0x177)][_0x5865f4(0x185)]),_0x429941=_0x3717e8[_0x5865f4(0x19e)],_0x2cf56d=_0x429941[_0x5865f4(0x15d)](),_0x2829b2=_0x429941[_0x5865f4(0xc1)]()[_0x5865f4(0x19c)](_0x4fe816);logger[_0x5865f4(0xce)](_0x5865f4(0xd4)+_0x5b2874);const {[TestFrameworkConstants[_0x5865f4(0x11a)]]:_0x3d83b7='',[TestFrameworkConstants[_0x5865f4(0x150)]]:_0x515ea1='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x4489ad='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x57fe10=''}=_0x2829b2,_0x1efe07=_0x429941[_0x5865f4(0x10e)]()[_0x5865f4(0x112)]()[_0x5865f4(0x14a)]('.')[0x1],_0x3971d0=_0x429941['getCurrentHookState']()[_0x5865f4(0x112)]()['split']('.')[0x1],_0x300161=_0x5b7478['NTySW'](_0x3717e8?.['result']?.['parallelIndex']??0x0,0x0)?0x0:_0x3717e8?.[_0x5865f4(0x177)]?.[_0x5865f4(0x142)]??0x0,_0x23bf91=_0x429941[_0x5865f4(0x139)](),_0x861050=Buffer[_0x5865f4(0xbd)](JSON[_0x5865f4(0xfa)](_0x2829b2))[_0x5865f4(0x112)](_0x5b7478[_0x5865f4(0x14b)]),_0x584ef4={'hash':_0x2cf56d[_0x5865f4(0x17d)](),'threadId':_0x2cf56d['getThreadId']()['toString'](),'processId':_0x2cf56d[_0x5865f4(0x10b)]()[_0x5865f4(0x112)]()},_0x3f4dec={};_0x3f4dec[_0x5865f4(0x11c)]=_0x300161,_0x3f4dec[_0x5865f4(0xcd)]=_0x3d83b7,_0x3f4dec[_0x5865f4(0x1b2)]=_0x515ea1,_0x3f4dec[_0x5865f4(0xc5)]=_0x1efe07,_0x3f4dec[_0x5865f4(0x17f)]=_0x3971d0,_0x3f4dec[_0x5865f4(0x19d)]=_0x4489ad,_0x3f4dec[_0x5865f4(0x1b1)]=_0x57fe10,_0x3f4dec[_0x5865f4(0xfd)]=_0x23bf91,_0x3f4dec[_0x5865f4(0x17e)]=_0x861050,_0x3f4dec[_0x5865f4(0xff)]=_0x584ef4;const _0x5844d3=_0x3f4dec;return logger[_0x5865f4(0xce)](_0x5865f4(0x122)+_0x5b2874+'\x20testState:\x20'+_0x1efe07+'\x20hookState:\x20'+_0x3971d0),_0x5844d3;}catch(_0x323f04){return logger['error'](_0x5865f4(0x102)+util[_0x5865f4(0x128)](_0x323f04)),{};}}}module[a93_0x4f6b12(0x13a)]=PlaywrightTestFramework;function a93_0xb2a0(){const _0x57890f=['pBVHZ','OlWms','ekiaR','browserstackPlatformIndex','KEY_TEST_FRAMEWORK_VERSION','description','QqRAm','../cliUtils.js','skipped','\x20result=','base64','pmAkU','12IOOBMB','KEY_HOOK_LOGS','Error\x20processing\x20trace\x20file\x20','Error\x20processing\x20direct\x20trace\x20file\x20','KEY_TEST_ENDED_AT','getContext','iJSIX','toISOString','resolveInstance','KEY_TEST_RETRY_OF','153zxDiGl','keyword','HQyjz','8065CSmWYp','KEY_TEST_STARTED_AT','jqOUF','Expected\x20to\x20fail,\x20but\x20passed.','getTime','slice','parsePlaywrightTestResult:\x20testId=','sendLogCreatedEvent\x20for\x20testId:\x20','KEY_TEST_RERUN_NAME','trackEvent:\x20found\x20instance,\x20testFrameworkState=','\x20instanceId=','trackPlaywrightInstance','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','parsePlaywrightTestResult:\x20extracted\x20','KEY_HOOKS_STARTED','NONE','attachments','DEFAULT_HOOK_RESULT','result','logs','hjdYw','rnuYM','set','KEY_AUTOMATE_SESSION_NAME','getId','eventJson','hookState','getInstance','wYuzU','bullb','POST','KEY_TEST_FILE_PATH','retry','VFBWH','\x20\x20and\x20args\x20=\x20','test','setTestDetails','aJQTa','util','geJIQ','268mxWdRr','steps','step','zOkyO','../../../helpers/helper.js','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','fail','skip','KEY_TEST_LOCATION','getTestDetails','sendLogCreatedEvent','lKKqK','annotations','HRgoo','results','get','startedAt','instance','bjhmC','trim','MjvjU','KEY_HOOK_RESULT','KEY_TEST_META','\x20batch\x20','HKVFt','fixme','BkgVb','text','setTrackedInstance','filePath','stack','concat','KEY_HOOK_LAST_STARTED','trackStepEvent','KEY_TEST_ID','NFqiQ','endedAt','testFrameworkVersion','started_at','../customTagManager','getTrackedInstance','122776iBamqZ','pop','KEY_TEST_RESULT','duration','KEY_CUSTOM_TAGS','hrsKN','size','AhMni','MqjGq','KEY_TEST_SCOPE','MAX_TOP_LEVEL_STEPS','KEY_HOOK_ID','Weozi','failure_type','556wGUVhK','5574AHzuLk','from','KEY_HOOKS_FINISHED','failed','addMultipleEntries','getAllData','trackHookEvent','xEHwk','push','testFrameworkState','INIT_TEST','mergeIntoTags','loXKk','title','createTestFrameworkEventPayload','parent_id','amDaQ','testFrameworkName','debug','KEY_TEST_RESULT_AT','14178263DWdOOT','getTestFrameworks','\x20from\x20TestDetails:\x20','MtNNn','createTestFrameworkEventPayload\x20testId:\x20','qSwnm','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','HcqCI','hYAoN','../grpcClient','statSync','UmYUL','parseCommaSeparatedValues','../instances/trackedInstance.js','timedOut','../../playwright/reporter/pwUtils','../state/testFrameworkState.js','66460LIivSs','gAXUr','getTestFrameworksVersions','QkJTR','path','sGhsF','trackStepEvent:\x20testId=','getTestUUID','\x20payload=','failure','QcAYV','message','length','KEY_TEST_SCOPES','531396bKJMyR','slow','xDnRA','testUId','KEY_HOOK_NAME','eKIvn','\x20&\x20hook\x20=\x20','inspect','error','KEY_TEST_CODE','KEY_TEST_NAME','stringify','parsePlaywrightTestResult','AkEAe','uuid','\x20hookState=','executionContext','dZdpL','KEY_EVENT_STARTED_AT','Error\x20in\x20createTestFrameworkEventPayload:\x20','SddFL','\x20response=','vaNLq','KEY_TEST_FAILURE_TYPE','KEY_TEST_ATTACHMENTS','info','errors','passed','getProcessId','611PMvmxX','KEY_TEST_FAILURE_REASON','getCurrentTestState','jDKdh','1258285XzWHkl','has','toString','TVvFe','KEY_TEST_UUID','basename','hook','sendLogCreatedEvent:\x20testId=','WsFcz','YSlDh','KEY_TEST_FRAMEWORK_NAME',',\x20state=','platformIndex','expectedStatus','yYNql','\x20steps\x20for\x20testId=','../instances/testFrameworkInstance.js','BzIkq','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','../../../helpers/test-observability/utils','STHrW','KEY_LOGS','JvHQC','ltpgF','format','FoHJq','sQjom','KtXKy','nYauz','ATOdm','trackEvent','status','pWpuU','goywe','yqtoE','Error\x20in\x20sendLogCreatedEvent:\x20','mBkUc','some','qkOhr','file_name','startTime','getRef','exports','TEST_STEP','PRE','10gVwUzG','../TestInfo.js','No\x20reason\x20provided','../../../helpers/classLogger.js','getCurrentInstanceName','parallelIndex','TEST_SCREENSHOT','\x20target=','parsePlaywrightTest','getTestIdentifierFromTestInfo','logCreatedEvent','eNGUY','MAX_NESTED_STEP_DEPTH','split','tQwEb'];a93_0xb2a0=function(){return _0x57890f;};return a93_0xb2a0();}
@@ -1 +1 @@
1
- const a96_0x414988=a96_0x222e;function a96_0x11cf(){const _0x27adea=['11HOBtGI','getTrackedInstance','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','\x20target=','63tFEVOg','123aWnXmO','./automationFramework.js','getId','info','createContext','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','resolveInstance','trackEvent','284024LxyafL','5GQSasQ','JKQAH','setTrackedInstance','../instances/automationFrameworkInstance.js','trackPuppeteerInstance:\x20instance\x20already\x20exists','PuppeteerAutomationFramework','../cliUtils.js','17222bkJtEx','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','debug','logger','\x20hookState=','14763220BsbGkN','getAutomationFrameworkName','PRE','../state/automationFrameworkState.js','2276608theLzg','2447052BgAtFm','../../../helpers/classLogger.js','getAutomationFrameworkVersion','CREATE','UquKA','3787173knBGJS','WXhgn','MxRsD','233781jXCcGY','trackPuppeteerInstance'];a96_0x11cf=function(){return _0x27adea;};return a96_0x11cf();}(function(_0x190c97,_0x2600a8){const _0x2657b0=a96_0x222e,_0x28804d=_0x190c97();while(!![]){try{const _0x26359e=-parseInt(_0x2657b0(0x128))/0x1+-parseInt(_0x2657b0(0x116))/0x2*(parseInt(_0x2657b0(0x12f))/0x3)+parseInt(_0x2657b0(0x11f))/0x4+-parseInt(_0x2657b0(0x10f))/0x5*(parseInt(_0x2657b0(0x120))/0x6)+-parseInt(_0x2657b0(0x12e))/0x7*(parseInt(_0x2657b0(0x10e))/0x8)+-parseInt(_0x2657b0(0x125))/0x9+-parseInt(_0x2657b0(0x11b))/0xa*(-parseInt(_0x2657b0(0x12a))/0xb);if(_0x26359e===_0x2600a8)break;else _0x28804d['push'](_0x28804d['shift']());}catch(_0x5de222){_0x28804d['push'](_0x28804d['shift']());}}}(a96_0x11cf,0x4bccc));function a96_0x222e(_0x566eb8,_0x2e77a2){const _0x11cf08=a96_0x11cf();return a96_0x222e=function(_0x222e00,_0x3b13a6){_0x222e00=_0x222e00-0x10a;let _0xc5a171=_0x11cf08[_0x222e00];return _0xc5a171;},a96_0x222e(_0x566eb8,_0x2e77a2);}const AutomationFramework=require(a96_0x414988(0x130)),{createClassLogger}=require(a96_0x414988(0x121)),AutomationFrameworkState=require(a96_0x414988(0x11e)),HookState=require('../state/hookState.js'),CLIUtils=require(a96_0x414988(0x115)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a96_0x414988(0x112));class PuppeteerAutomationFramework extends AutomationFramework{[a96_0x414988(0x119)]=createClassLogger(a96_0x414988(0x114));constructor(_0x17b368,_0x28cb15){super(_0x17b368,_0x28cb15);}async[a96_0x414988(0x10d)](_0x278f1a,_0x611733,_0x1e86ff={}){const _0x572aa7=a96_0x414988,_0x6818db={};_0x6818db['IXPzd']=function(_0x300d82,_0x2473df){return _0x300d82===_0x2473df;},_0x6818db[_0x572aa7(0x127)]=_0x572aa7(0x10b);const _0x3989f9=_0x6818db;this[_0x572aa7(0x119)]['debug']('trackEvent:\x20automationFrameworkState='+_0x278f1a+_0x572aa7(0x11a)+_0x611733),await super['trackEvent'](_0x278f1a,_0x611733,_0x1e86ff);const _0x17386d=this[_0x572aa7(0x10c)](_0x278f1a,_0x611733,_0x1e86ff);if(_0x3989f9['IXPzd'](_0x17386d,null)){this[_0x572aa7(0x119)][_0x572aa7(0x118)](_0x3989f9[_0x572aa7(0x127)]);return;}_0x1e86ff['instance']=_0x17386d,await this['runHooks'](_0x17386d,_0x278f1a,_0x611733,_0x1e86ff);}[a96_0x414988(0x10c)](_0x3d3f50,_0x45d7de,_0x4ecf48={}){const _0x4aa424=a96_0x414988,_0x598fab={};_0x598fab[_0x4aa424(0x110)]=function(_0x5752fa,_0x211e19){return _0x5752fa===_0x211e19;},_0x598fab['WXhgn']=function(_0x19a879,_0x5f3813){return _0x19a879===_0x5f3813;};const _0xc18307=_0x598fab;let _0x2d465f=null;return(_0xc18307[_0x4aa424(0x110)](_0x3d3f50,AutomationFrameworkState[_0x4aa424(0x123)])&&_0xc18307[_0x4aa424(0x126)](_0x45d7de,HookState[_0x4aa424(0x11d)])||_0xc18307[_0x4aa424(0x110)](_0x3d3f50,AutomationFrameworkState['NONE']))&&this[_0x4aa424(0x129)](_0x3d3f50,_0x4ecf48),_0x2d465f=AutomationFramework[_0x4aa424(0x12b)](),_0x2d465f;}[a96_0x414988(0x129)](_0x4c7a06,_0x4cebd9){const _0x1dc074=a96_0x414988,_0xc7b965={};_0xc7b965[_0x1dc074(0x124)]=_0x1dc074(0x113);const _0x170d83=_0xc7b965;if(AutomationFramework[_0x1dc074(0x12b)]()){this[_0x1dc074(0x119)][_0x1dc074(0x132)](_0x170d83[_0x1dc074(0x124)]);return;}const _0x5ea439=CLIUtils['getCurrentInstanceName'](),_0x21db8a=TrackedInstance[_0x1dc074(0x10a)](_0x5ea439);let _0x507b1e=null;this[_0x1dc074(0x119)][_0x1dc074(0x132)](_0x1dc074(0x117)+_0x5ea439+',\x20state='+_0x4c7a06),_0x507b1e=new AutomationFrameworkInstance(_0x21db8a,this[_0x1dc074(0x11c)](),this[_0x1dc074(0x122)](),_0x4c7a06),AutomationFramework[_0x1dc074(0x111)](_0x21db8a,_0x507b1e),this[_0x1dc074(0x119)][_0x1dc074(0x132)](_0x1dc074(0x12c)+_0x21db8a[_0x1dc074(0x131)]()+_0x1dc074(0x12d)+_0x5ea439);}}module['exports']=PuppeteerAutomationFramework;
1
+ function a94_0x3479(_0x41370a,_0x205333){const _0x14ce7e=a94_0x14ce();return a94_0x3479=function(_0x3479d8,_0x278c79){_0x3479d8=_0x3479d8-0xa0;let _0x4ad854=_0x14ce7e[_0x3479d8];return _0x4ad854;},a94_0x3479(_0x41370a,_0x205333);}const a94_0x4529db=a94_0x3479;(function(_0x4a54fd,_0x30483d){const _0x1599a0=a94_0x3479,_0x26eb56=_0x4a54fd();while(!![]){try{const _0x4b4ae2=parseInt(_0x1599a0(0xb5))/0x1+-parseInt(_0x1599a0(0xb6))/0x2+parseInt(_0x1599a0(0xa0))/0x3*(-parseInt(_0x1599a0(0xc4))/0x4)+-parseInt(_0x1599a0(0xb0))/0x5*(parseInt(_0x1599a0(0xa9))/0x6)+-parseInt(_0x1599a0(0xad))/0x7*(parseInt(_0x1599a0(0xbb))/0x8)+parseInt(_0x1599a0(0xaf))/0x9*(parseInt(_0x1599a0(0xae))/0xa)+-parseInt(_0x1599a0(0xb9))/0xb*(-parseInt(_0x1599a0(0xa3))/0xc);if(_0x4b4ae2===_0x30483d)break;else _0x26eb56['push'](_0x26eb56['shift']());}catch(_0x258597){_0x26eb56['push'](_0x26eb56['shift']());}}}(a94_0x14ce,0xe3cca));function a94_0x14ce(){const _0x6e804d=['getAutomationFrameworkName','37866279QAENWw','NONE','8gEOtoy','../cliUtils.js','runHooks','zUJlj','getId','../../../helpers/classLogger.js','createContext','instance','../instances/trackedInstance.js','28xqcfOI','\x20target=','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','getTrackedInstance','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','iLIPW','trackPuppeteerInstance:\x20instance\x20already\x20exists','getAutomationFrameworkVersion','debug','xDrvh','info','685149mGTzkx','../state/hookState.js','logger','12RPQWgy','./automationFramework.js','setTrackedInstance','dKktD','../instances/automationFrameworkInstance.js','CREATE','12UEOtmh','\x20hookState=','PuppeteerAutomationFramework','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','2459443IfGEUq','100bzETAI','540639TZQZsn','2623465xRQoxJ','getCurrentInstanceName',',\x20state=','IgdFA','resolveInstance','1296050kjgTsz','2813334xDMWJF','exports'];a94_0x14ce=function(){return _0x6e804d;};return a94_0x14ce();}const AutomationFramework=require(a94_0x4529db(0xa4)),{createClassLogger}=require(a94_0x4529db(0xc0)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),HookState=require(a94_0x4529db(0xa1)),CLIUtils=require(a94_0x4529db(0xbc)),TrackedInstance=require(a94_0x4529db(0xc3)),AutomationFrameworkInstance=require(a94_0x4529db(0xa7));class PuppeteerAutomationFramework extends AutomationFramework{[a94_0x4529db(0xa2)]=createClassLogger(a94_0x4529db(0xab));constructor(_0x4f7eb8,_0x19259f){super(_0x4f7eb8,_0x19259f);}async['trackEvent'](_0xe3948b,_0x41c484,_0x5e76e0={}){const _0x388617=a94_0x4529db,_0x4d1256={};_0x4d1256[_0x388617(0xbe)]=function(_0x2f5e94,_0x68142a){return _0x2f5e94===_0x68142a;},_0x4d1256[_0x388617(0xcd)]=_0x388617(0xc8);const _0x2cce67=_0x4d1256;this[_0x388617(0xa2)][_0x388617(0xcc)]('trackEvent:\x20automationFrameworkState='+_0xe3948b+_0x388617(0xaa)+_0x41c484),await super['trackEvent'](_0xe3948b,_0x41c484,_0x5e76e0);const _0x1dfa6e=this[_0x388617(0xb4)](_0xe3948b,_0x41c484,_0x5e76e0);if(_0x2cce67[_0x388617(0xbe)](_0x1dfa6e,null)){this['logger']['debug'](_0x2cce67[_0x388617(0xcd)]);return;}_0x5e76e0[_0x388617(0xc2)]=_0x1dfa6e,await this[_0x388617(0xbd)](_0x1dfa6e,_0xe3948b,_0x41c484,_0x5e76e0);}[a94_0x4529db(0xb4)](_0x5f4c77,_0x15d333,_0xcf7c60={}){const _0x5c0a62=a94_0x4529db,_0x3b76ec={};_0x3b76ec[_0x5c0a62(0xc9)]=function(_0x4c0037,_0x3c3927){return _0x4c0037===_0x3c3927;},_0x3b76ec[_0x5c0a62(0xa6)]=function(_0x197bd8,_0x17f9fc){return _0x197bd8===_0x17f9fc;};const _0x4e9fab=_0x3b76ec;let _0x5da02b=null;return(_0x4e9fab[_0x5c0a62(0xc9)](_0x5f4c77,AutomationFrameworkState[_0x5c0a62(0xa8)])&&_0x4e9fab[_0x5c0a62(0xa6)](_0x15d333,HookState['PRE'])||_0x4e9fab[_0x5c0a62(0xa6)](_0x5f4c77,AutomationFrameworkState[_0x5c0a62(0xba)]))&&this['trackPuppeteerInstance'](_0x5f4c77,_0xcf7c60),_0x5da02b=AutomationFramework[_0x5c0a62(0xc7)](),_0x5da02b;}['trackPuppeteerInstance'](_0x5b8d1c,_0x3adc79){const _0xcf6949=a94_0x4529db,_0x3d8436={};_0x3d8436[_0xcf6949(0xb3)]=_0xcf6949(0xca);const _0x40a770=_0x3d8436;if(AutomationFramework[_0xcf6949(0xc7)]()){this[_0xcf6949(0xa2)][_0xcf6949(0xce)](_0x40a770[_0xcf6949(0xb3)]);return;}const _0x5c72c1=CLIUtils[_0xcf6949(0xb1)](),_0x1bd1be=TrackedInstance[_0xcf6949(0xc1)](_0x5c72c1);let _0x42fb32=null;this[_0xcf6949(0xa2)][_0xcf6949(0xce)](_0xcf6949(0xac)+_0x5c72c1+_0xcf6949(0xb2)+_0x5b8d1c),_0x42fb32=new AutomationFrameworkInstance(_0x1bd1be,this[_0xcf6949(0xb8)](),this[_0xcf6949(0xcb)](),_0x5b8d1c),AutomationFramework[_0xcf6949(0xa5)](_0x1bd1be,_0x42fb32),this['logger'][_0xcf6949(0xce)](_0xcf6949(0xc6)+_0x1bd1be[_0xcf6949(0xbf)]()+_0xcf6949(0xc5)+_0x5c72c1);}}module[a94_0x4529db(0xb7)]=PuppeteerAutomationFramework;
@@ -1 +1 @@
1
- const a97_0x2af2bb=a97_0x4fcb;(function(_0x126b78,_0x8725e1){const _0x4d09dc=a97_0x4fcb,_0x53f58e=_0x126b78();while(!![]){try{const _0x41b9f8=-parseInt(_0x4d09dc(0x123))/0x1*(parseInt(_0x4d09dc(0x12e))/0x2)+parseInt(_0x4d09dc(0x127))/0x3+-parseInt(_0x4d09dc(0x13f))/0x4*(-parseInt(_0x4d09dc(0x125))/0x5)+-parseInt(_0x4d09dc(0x14a))/0x6*(-parseInt(_0x4d09dc(0x13b))/0x7)+parseInt(_0x4d09dc(0x147))/0x8*(parseInt(_0x4d09dc(0x143))/0x9)+parseInt(_0x4d09dc(0x11f))/0xa*(parseInt(_0x4d09dc(0x12f))/0xb)+-parseInt(_0x4d09dc(0x142))/0xc;if(_0x41b9f8===_0x8725e1)break;else _0x53f58e['push'](_0x53f58e['shift']());}catch(_0x4fa785){_0x53f58e['push'](_0x53f58e['shift']());}}}(a97_0x497c,0xc52e3));function a97_0x4fcb(_0x2986f7,_0x2bc50d){const _0x497ca3=a97_0x497c();return a97_0x4fcb=function(_0x4fcb37,_0x5f1ede){_0x4fcb37=_0x4fcb37-0x11f;let _0x1ad009=_0x497ca3[_0x4fcb37];return _0x1ad009;},a97_0x4fcb(_0x2986f7,_0x2bc50d);}function a97_0x497c(){const _0x1cdec2=['__bstack_test_framework_instances__','getTrackedInstance','binSessionId','10097488dUWxha','getAllData',';\x20hookState=','12vrAqjf','2810230jXYOkY','set','setTrackedInstance','registerObserver','18qrdwLw','getTestFrameworks','458750Indjku','../instances/testFrameworkInstance','4737723AEUWqL','testFrameworkVersions','../state/hookState','setInstance','getState','../../../helpers/classLogger','getCurrentInstanceName','61474ErrrVd','11AVATep','../eventDispatcher','testFrameworks','../instances/trackedInstance','TestFramework','getHookRegistryKey','getId','get','hasState','instances','getInstances','exports','4106473bjLzWE','trackEvent','runHooks','createContext','52isVmVt','../state/testFrameworkState','../instances/trackedContext','49530732mMAhYp','9agEsAN'];a97_0x497c=function(){return _0x1cdec2;};return a97_0x497c();}const CLIUtils=require('../cliUtils'),eventDispatcher=require(a97_0x2af2bb(0x130)),TestFrameworkInstance=require(a97_0x2af2bb(0x126)),TrackedContext=require(a97_0x2af2bb(0x141)),TestFrameworkState=require(a97_0x2af2bb(0x140)),HookState=require(a97_0x2af2bb(0x129)),{createClassLogger}=require(a97_0x2af2bb(0x12c)),TrackedInstance=require(a97_0x2af2bb(0x132)),logger=createClassLogger(a97_0x2af2bb(0x133));!global['__bstack_test_framework_instances__']&&(global[a97_0x2af2bb(0x144)]=new Map());class TestFramework{static get[a97_0x2af2bb(0x138)](){return global['__bstack_test_framework_instances__'];}[a97_0x2af2bb(0x131)]=[];[a97_0x2af2bb(0x128)]={};[a97_0x2af2bb(0x146)]=null;constructor(_0x47c70f,_0x274b13,_0x21dadc){const _0x14f109=a97_0x2af2bb;this[_0x14f109(0x131)]=_0x47c70f,this['testFrameworkVersions']=_0x274b13,this[_0x14f109(0x146)]=_0x21dadc;}[a97_0x2af2bb(0x139)](){const _0x4387e8=a97_0x2af2bb;return TestFramework[_0x4387e8(0x138)];}[a97_0x2af2bb(0x12a)](_0x442014,_0x42dc53){const _0x49aeda=a97_0x2af2bb;TestFramework['instances'][_0x49aeda(0x120)](_0x442014[_0x49aeda(0x135)],_0x42dc53);}static[a97_0x2af2bb(0x145)](){const _0x17b7b2=a97_0x2af2bb,_0x313a02=TrackedInstance[_0x17b7b2(0x13e)](CLIUtils[_0x17b7b2(0x12d)]());return TestFramework[_0x17b7b2(0x138)][_0x17b7b2(0x136)](_0x313a02[_0x17b7b2(0x135)]());}static[a97_0x2af2bb(0x121)](_0x2cd607,_0x5c42a7){const _0x49d35b=a97_0x2af2bb;TestFramework[_0x49d35b(0x138)]['set'](_0x2cd607[_0x49d35b(0x135)](),_0x5c42a7);}['getTestFrameworksVersions'](){const _0x5105df=a97_0x2af2bb;return this[_0x5105df(0x128)];}[a97_0x2af2bb(0x124)](){const _0x82d1ce=a97_0x2af2bb;return this[_0x82d1ce(0x131)];}[a97_0x2af2bb(0x13c)](_0x44a738,_0x309ee9,_0x50ed4d={}){const _0x1337f7=a97_0x2af2bb;logger['debug']('trackEvent:\x20testFrameworkState='+_0x44a738+_0x1337f7(0x149)+_0x309ee9);}async[a97_0x2af2bb(0x13d)](_0x3a2c00,_0x51dd4b,_0x48bf66,_0x282cee={}){const _0x552f73=a97_0x2af2bb,_0x4e7be1=CLIUtils[_0x552f73(0x134)](_0x51dd4b,_0x48bf66);_0x3a2c00['setCurrentTestState'](_0x51dd4b),_0x3a2c00['setCurrentHookState'](_0x48bf66),await eventDispatcher['notifyObserver'](_0x4e7be1,_0x282cee);}static[a97_0x2af2bb(0x122)](_0x50719f,_0x4789ae,_0x3f5b4f){const _0x2e53ac=a97_0x2af2bb;eventDispatcher[_0x2e53ac(0x122)](CLIUtils['getHookRegistryKey'](_0x50719f,_0x4789ae),_0x3f5b4f);}static[a97_0x2af2bb(0x12b)](_0x1c79fe,_0x42d240){const _0x35d855=a97_0x2af2bb;return _0x1c79fe[_0x35d855(0x148)]()[_0x35d855(0x136)](_0x42d240);}static['setState'](_0x3a2200,_0x3a0ca8,_0xdae6dd){const _0x142080=a97_0x2af2bb;_0x3a2200[_0x142080(0x148)]()[_0x142080(0x120)](_0x3a0ca8,_0xdae6dd);}static[a97_0x2af2bb(0x137)](_0x5a1cae,_0x51c7e2){const _0xf9d4a1=a97_0x2af2bb;return _0x5a1cae[_0xf9d4a1(0x148)]()['has'](_0x51c7e2);}}module[a97_0x2af2bb(0x13a)]=TestFramework;
1
+ function a95_0xd69a(_0x5eede0,_0x56a99b){const _0x6ed492=a95_0x6ed4();return a95_0xd69a=function(_0xd69ac1,_0xd63129){_0xd69ac1=_0xd69ac1-0x7c;let _0xdae19b=_0x6ed492[_0xd69ac1];return _0xdae19b;},a95_0xd69a(_0x5eede0,_0x56a99b);}const a95_0x1916ea=a95_0xd69a;(function(_0x3b337a,_0x542f86){const _0x4ce3f3=a95_0xd69a,_0x47b447=_0x3b337a();while(!![]){try{const _0x1648b9=-parseInt(_0x4ce3f3(0x97))/0x1+parseInt(_0x4ce3f3(0x8d))/0x2*(parseInt(_0x4ce3f3(0x7e))/0x3)+-parseInt(_0x4ce3f3(0xa3))/0x4+parseInt(_0x4ce3f3(0x7c))/0x5+-parseInt(_0x4ce3f3(0x95))/0x6*(parseInt(_0x4ce3f3(0x87))/0x7)+-parseInt(_0x4ce3f3(0x98))/0x8*(-parseInt(_0x4ce3f3(0x8e))/0x9)+-parseInt(_0x4ce3f3(0x9e))/0xa;if(_0x1648b9===_0x542f86)break;else _0x47b447['push'](_0x47b447['shift']());}catch(_0x52f0f){_0x47b447['push'](_0x47b447['shift']());}}}(a95_0x6ed4,0xad526));const CLIUtils=require(a95_0x1916ea(0xa2)),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require('../instances/testFrameworkInstance'),TrackedContext=require(a95_0x1916ea(0x9d)),TestFrameworkState=require(a95_0x1916ea(0x93)),HookState=require('../state/hookState'),{createClassLogger}=require(a95_0x1916ea(0x81)),TrackedInstance=require(a95_0x1916ea(0x8c)),logger=createClassLogger('TestFramework');!global[a95_0x1916ea(0x9f)]&&(global[a95_0x1916ea(0x9f)]=new Map());function a95_0x6ed4(){const _0x5089ee=['debug','1033474PIaeXB','328BlJmSI','instances','has','getAllData','hasState','../instances/trackedContext','972510QrVqUk','__bstack_test_framework_instances__','getCurrentInstanceName','testFrameworks','../cliUtils','2371328ivPmro','notifyObserver',';\x20hookState=','testFrameworkVersions','getHookRegistryKey','set','4983720fypUzh','get','273GTScky','setCurrentHookState','setTrackedInstance','../../../helpers/classLogger','getTestFrameworks','setInstance','createContext','trackEvent:\x20testFrameworkState=','runHooks','18151VEYGAk','setState','getId','trackEvent','getTrackedInstance','../instances/trackedInstance','21234OyGZHg','112977AWXUuw','setCurrentTestState','getTestFrameworksVersions','binSessionId','registerObserver','../state/testFrameworkState','getState','102QlENWQ'];a95_0x6ed4=function(){return _0x5089ee;};return a95_0x6ed4();}class TestFramework{static get[a95_0x1916ea(0x99)](){const _0x3f4ebf=a95_0x1916ea;return global[_0x3f4ebf(0x9f)];}[a95_0x1916ea(0xa1)]=[];[a95_0x1916ea(0xa6)]={};[a95_0x1916ea(0x91)]=null;constructor(_0x4f34de,_0x132008,_0x46c8cb){const _0x5cd6ac=a95_0x1916ea;this[_0x5cd6ac(0xa1)]=_0x4f34de,this['testFrameworkVersions']=_0x132008,this[_0x5cd6ac(0x91)]=_0x46c8cb;}['getInstances'](){const _0x1bb769=a95_0x1916ea;return TestFramework[_0x1bb769(0x99)];}[a95_0x1916ea(0x83)](_0x2c315d,_0x50d40e){const _0x358f0a=a95_0x1916ea;TestFramework[_0x358f0a(0x99)]['set'](_0x2c315d['getId'],_0x50d40e);}static[a95_0x1916ea(0x8b)](){const _0x246396=a95_0x1916ea,_0x38eb66=TrackedInstance[_0x246396(0x84)](CLIUtils[_0x246396(0xa0)]());return TestFramework[_0x246396(0x99)][_0x246396(0x7d)](_0x38eb66['getId']());}static[a95_0x1916ea(0x80)](_0x1e56c9,_0x443288){const _0x199275=a95_0x1916ea;TestFramework[_0x199275(0x99)]['set'](_0x1e56c9[_0x199275(0x89)](),_0x443288);}[a95_0x1916ea(0x90)](){return this['testFrameworkVersions'];}[a95_0x1916ea(0x82)](){const _0x28784a=a95_0x1916ea;return this[_0x28784a(0xa1)];}[a95_0x1916ea(0x8a)](_0x54747f,_0x4a0045,_0x4b2606={}){const _0x3fd6c3=a95_0x1916ea;logger[_0x3fd6c3(0x96)](_0x3fd6c3(0x85)+_0x54747f+_0x3fd6c3(0xa5)+_0x4a0045);}async[a95_0x1916ea(0x86)](_0x2691e4,_0x58e8c2,_0xfef695,_0x4fba9f={}){const _0x1e490f=a95_0x1916ea,_0x303b3c=CLIUtils[_0x1e490f(0xa7)](_0x58e8c2,_0xfef695);_0x2691e4[_0x1e490f(0x8f)](_0x58e8c2),_0x2691e4[_0x1e490f(0x7f)](_0xfef695),await eventDispatcher[_0x1e490f(0xa4)](_0x303b3c,_0x4fba9f);}static[a95_0x1916ea(0x92)](_0x3702de,_0x2a3bdb,_0x33c1c4){const _0x211db9=a95_0x1916ea;eventDispatcher[_0x211db9(0x92)](CLIUtils[_0x211db9(0xa7)](_0x3702de,_0x2a3bdb),_0x33c1c4);}static[a95_0x1916ea(0x94)](_0x227b3b,_0x4d4b65){const _0x25c014=a95_0x1916ea;return _0x227b3b[_0x25c014(0x9b)]()['get'](_0x4d4b65);}static[a95_0x1916ea(0x88)](_0x513984,_0x67610,_0x124042){const _0x54268f=a95_0x1916ea;_0x513984[_0x54268f(0x9b)]()[_0x54268f(0xa8)](_0x67610,_0x124042);}static[a95_0x1916ea(0x9c)](_0x106ec6,_0x51a718){const _0x1a7e0a=a95_0x1916ea;return _0x106ec6[_0x1a7e0a(0x9b)]()[_0x1a7e0a(0x9a)](_0x51a718);}}module['exports']=TestFramework;
@@ -1 +1 @@
1
- 'use strict';const a98_0x323e8c=a98_0x3d24;function a98_0x3d24(_0x4bd230,_0x44320e){const _0x29749e=a98_0x2974();return a98_0x3d24=function(_0x3d2482,_0x36903d){_0x3d2482=_0x3d2482-0x8d;let _0x1038dc=_0x29749e[_0x3d2482];return _0x1038dc;},a98_0x3d24(_0x4bd230,_0x44320e);}function a98_0x2974(){const _0x5bd1e7=['lastIndexOf','trackEvent','getAutomationFrameworkName','getTrackedInstance','createContext','instance','get','entries','string','gHPOy','../../../helpers/classLogger.js','parseInt','\x20hookState=','ynSkp','warn','50495rkUgva','7PyBdXg','1665918GbgeiI','iterAllInstances','getInstanceByUserAgent','10uwsvZd','userAgent','3erWAUC','testcafe:','set','debug','KKuOE','qJtAd','371NJzVHi','CREATE','csypG','./automationFramework.js','NONE','startsWith','ZwbJY','info','VMfod','../instances/automationFrameworkInstance.js','../instances/trackedInstance.js','platformIndex','instances','isInteger','95172XyPKEl','\x22\x20platformIndex=','trackEvent:\x20no\x20instance\x20for\x20state=','2582208zvouWY','TestCafeAutomationFramework','resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22','exports','\x20→\x20','9360076NZxvQx','522724qCQsJm','27736uCwUtI','../state/automationFrameworkState.js','length','slice'];a98_0x2974=function(){return _0x5bd1e7;};return a98_0x2974();}(function(_0x2c508e,_0x199dad){const _0x14a84c=a98_0x3d24,_0x337757=_0x2c508e();while(!![]){try{const _0x339fe0=parseInt(_0x14a84c(0xbe))/0x1*(parseInt(_0x14a84c(0xa0))/0x2)+-parseInt(_0x14a84c(0xc4))/0x3*(parseInt(_0x14a84c(0xa9))/0x4)+-parseInt(_0x14a84c(0xbd))/0x5+-parseInt(_0x14a84c(0xa3))/0x6+parseInt(_0x14a84c(0x92))/0x7*(-parseInt(_0x14a84c(0xaa))/0x8)+-parseInt(_0x14a84c(0xbf))/0x9+parseInt(_0x14a84c(0xc2))/0xa*(parseInt(_0x14a84c(0xa8))/0xb);if(_0x339fe0===_0x199dad)break;else _0x337757['push'](_0x337757['shift']());}catch(_0x1a67db){_0x337757['push'](_0x337757['shift']());}}}(a98_0x2974,0x3b931));const AutomationFramework=require(a98_0x323e8c(0x95)),AutomationFrameworkInstance=require(a98_0x323e8c(0x9b)),AutomationFrameworkState=require(a98_0x323e8c(0xab)),TrackedInstance=require(a98_0x323e8c(0x9c)),{createClassLogger}=require(a98_0x323e8c(0xb8)),logger=createClassLogger(a98_0x323e8c(0xa4));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x5a765f,_0x254e28){super(_0x5a765f,_0x254e28);}async[a98_0x323e8c(0xaf)](_0xb104a2,_0x549ced,_0x388b67={}){const _0x408aaa=a98_0x323e8c;await super['trackEvent'](_0xb104a2,_0x549ced,_0x388b67);const _0x46ac5e=this['resolveInstance'](_0xb104a2,_0x549ced,_0x388b67);if(!_0x46ac5e){logger[_0x408aaa(0x8f)](_0x408aaa(0xa2)+_0xb104a2+_0x408aaa(0xba)+_0x549ced);return;}_0x388b67[_0x408aaa(0xb3)]=_0x46ac5e,await this['runHooks'](_0x46ac5e,_0xb104a2,_0x549ced,_0x388b67);}['resolveInstance'](_0x52ca32,_0x54ca0f,_0x5568ec={}){const _0x3195a4=a98_0x323e8c,_0x5e9f13={};_0x5e9f13['csypG']='resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance',_0x5e9f13['ynSkp']=function(_0x5b533c,_0x20d37b){return _0x5b533c===_0x20d37b;},_0x5e9f13['gHPOy']=function(_0x16da18,_0x54e004){return _0x16da18||_0x54e004;};const _0x1b6e21=_0x5e9f13,_0x1e2fa8=_0x5568ec[_0x3195a4(0xc3)]||null;if(!_0x1e2fa8)return logger[_0x3195a4(0xbc)](_0x1b6e21[_0x3195a4(0x94)]),AutomationFramework[_0x3195a4(0xb1)]();const _0x444fea=Number[_0x3195a4(0x9f)](_0x5568ec['platformIndex'])?_0x5568ec[_0x3195a4(0x9d)]:0x0,_0x36d88a=_0x3195a4(0x8d)+_0x1e2fa8+'#'+_0x444fea;let _0x14152a=AutomationFramework[_0x3195a4(0x9e)][_0x3195a4(0xb4)](_0x36d88a);if(!_0x14152a&&(_0x1b6e21[_0x3195a4(0xbb)](_0x52ca32,AutomationFrameworkState[_0x3195a4(0x93)])||_0x1b6e21[_0x3195a4(0xbb)](_0x52ca32,AutomationFrameworkState[_0x3195a4(0x96)]))){const _0xf9136d=TrackedInstance[_0x3195a4(0xb2)](_0x36d88a);_0x14152a=new AutomationFrameworkInstance(_0xf9136d,this[_0x3195a4(0xb0)](),this['getAutomationFrameworkVersion'](),_0x52ca32),AutomationFramework['instances'][_0x3195a4(0x8e)](_0x36d88a,_0x14152a),logger[_0x3195a4(0x99)](_0x3195a4(0xa5)+_0x1e2fa8+_0x3195a4(0xa1)+_0x444fea+_0x3195a4(0xa7)+_0x36d88a);}return _0x1b6e21[_0x3195a4(0xb7)](_0x14152a,null);}static['removeInstance'](_0x2790ce,_0x1d485b=0x0){const _0x3ee07a=a98_0x323e8c,_0x306b63=_0x3ee07a(0x8d)+_0x2790ce+'#'+_0x1d485b;return AutomationFramework[_0x3ee07a(0x9e)]['delete'](_0x306b63);}static[a98_0x323e8c(0xc1)](_0x455e4e,_0x32b3f4=0x0){const _0x1cca43=a98_0x323e8c;return AutomationFramework[_0x1cca43(0x9e)][_0x1cca43(0xb4)](_0x1cca43(0x8d)+_0x455e4e+'#'+_0x32b3f4)||null;}static*[a98_0x323e8c(0xc0)](){const _0x4d99d0=a98_0x323e8c,_0x3b41a9={};_0x3b41a9[_0x4d99d0(0x9a)]=function(_0x2293f0,_0x5787d4){return _0x2293f0===_0x5787d4;},_0x3b41a9[_0x4d99d0(0x91)]=_0x4d99d0(0xb6),_0x3b41a9[_0x4d99d0(0x98)]=_0x4d99d0(0x8d),_0x3b41a9[_0x4d99d0(0x90)]=function(_0x2d9f4a,_0x170a8c){return _0x2d9f4a+_0x170a8c;};const _0x1a0280=_0x3b41a9;for(const [_0xc8bc98,_0x2f43eb]of AutomationFramework[_0x4d99d0(0x9e)][_0x4d99d0(0xb5)]()){if(_0x1a0280[_0x4d99d0(0x9a)](typeof _0xc8bc98,_0x1a0280[_0x4d99d0(0x91)])&&_0xc8bc98[_0x4d99d0(0x97)](_0x1a0280[_0x4d99d0(0x98)])){const _0x5d985d=_0xc8bc98[_0x4d99d0(0xad)](_0x1a0280[_0x4d99d0(0x98)][_0x4d99d0(0xac)]),_0x4bf0b8=_0x5d985d[_0x4d99d0(0xae)]('#');if(_0x1a0280[_0x4d99d0(0x9a)](_0x4bf0b8,-0x1)){const _0x27d007={};_0x27d007[_0x4d99d0(0xc3)]=_0x5d985d,_0x27d007[_0x4d99d0(0x9d)]=0x0,_0x27d007[_0x4d99d0(0xb3)]=_0x2f43eb,yield _0x27d007;}else{const _0x4e5ba7=_0x5d985d[_0x4d99d0(0xad)](0x0,_0x4bf0b8),_0x165c0e=Number[_0x4d99d0(0xb9)](_0x5d985d[_0x4d99d0(0xad)](_0x1a0280[_0x4d99d0(0x90)](_0x4bf0b8,0x1)),0xa)||0x0,_0x24d9e4={};_0x24d9e4[_0x4d99d0(0xc3)]=_0x4e5ba7,_0x24d9e4[_0x4d99d0(0x9d)]=_0x165c0e,_0x24d9e4[_0x4d99d0(0xb3)]=_0x2f43eb,yield _0x24d9e4;}}}}}module[a98_0x323e8c(0xa6)]=TestCafeAutomationFramework;
1
+ 'use strict';function a96_0xaaec(_0x19ae56,_0x1440f7){const _0x40cbb9=a96_0x40cb();return a96_0xaaec=function(_0xaaecae,_0x22a8ea){_0xaaecae=_0xaaecae-0xff;let _0x4fe78d=_0x40cbb9[_0xaaecae];return _0x4fe78d;},a96_0xaaec(_0x19ae56,_0x1440f7);}const a96_0x2c6fb3=a96_0xaaec;(function(_0x1c0bca,_0x18ddfa){const _0x169438=a96_0xaaec,_0x3d692f=_0x1c0bca();while(!![]){try{const _0x11073c=-parseInt(_0x169438(0x124))/0x1*(-parseInt(_0x169438(0x119))/0x2)+-parseInt(_0x169438(0x105))/0x3*(parseInt(_0x169438(0x12c))/0x4)+parseInt(_0x169438(0x10e))/0x5*(parseInt(_0x169438(0x11b))/0x6)+parseInt(_0x169438(0x118))/0x7+-parseInt(_0x169438(0x10a))/0x8*(-parseInt(_0x169438(0x113))/0x9)+-parseInt(_0x169438(0x110))/0xa*(parseInt(_0x169438(0x129))/0xb)+parseInt(_0x169438(0x125))/0xc*(-parseInt(_0x169438(0x131))/0xd);if(_0x11073c===_0x18ddfa)break;else _0x3d692f['push'](_0x3d692f['shift']());}catch(_0x2552f8){_0x3d692f['push'](_0x3d692f['shift']());}}}(a96_0x40cb,0xa2cfa));const AutomationFramework=require(a96_0x2c6fb3(0x127)),AutomationFrameworkInstance=require(a96_0x2c6fb3(0x101)),AutomationFrameworkState=require(a96_0x2c6fb3(0x108)),TrackedInstance=require(a96_0x2c6fb3(0x11c)),{createClassLogger}=require(a96_0x2c6fb3(0x120)),logger=createClassLogger(a96_0x2c6fb3(0x114));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x415ab9,_0x7e502d){super(_0x415ab9,_0x7e502d);}async['trackEvent'](_0x17f17b,_0x2ca138,_0x109fe9={}){const _0x4caeed=a96_0x2c6fb3;await super[_0x4caeed(0x11d)](_0x17f17b,_0x2ca138,_0x109fe9);const _0x17e1af=this[_0x4caeed(0x109)](_0x17f17b,_0x2ca138,_0x109fe9);if(!_0x17e1af){logger[_0x4caeed(0x100)](_0x4caeed(0x135)+_0x17f17b+'\x20hookState='+_0x2ca138);return;}_0x109fe9['instance']=_0x17e1af,await this['runHooks'](_0x17e1af,_0x17f17b,_0x2ca138,_0x109fe9);}[a96_0x2c6fb3(0x109)](_0x3687f7,_0x1072bc,_0x13117f={}){const _0x4d21de=a96_0x2c6fb3,_0x2b695b={};_0x2b695b[_0x4d21de(0x12a)]=_0x4d21de(0x103),_0x2b695b[_0x4d21de(0x12b)]=function(_0x2780ce,_0x596b51){return _0x2780ce===_0x596b51;},_0x2b695b[_0x4d21de(0x123)]=function(_0xaefae5,_0x4c9588){return _0xaefae5===_0x4c9588;},_0x2b695b[_0x4d21de(0x12f)]=function(_0x5f2971,_0x2ee2d9){return _0x5f2971||_0x2ee2d9;};const _0x30b7cf=_0x2b695b,_0x2cfee1=_0x13117f[_0x4d21de(0x136)]||null;if(!_0x2cfee1)return logger[_0x4d21de(0x115)](_0x30b7cf[_0x4d21de(0x12a)]),AutomationFramework[_0x4d21de(0x121)]();const _0x22422f=Number[_0x4d21de(0x122)](_0x13117f[_0x4d21de(0x132)])?_0x13117f[_0x4d21de(0x132)]:0x0,_0x35a34e=_0x4d21de(0x104)+_0x2cfee1+'#'+_0x22422f;let _0x3e5a8f=AutomationFramework['instances'][_0x4d21de(0x126)](_0x35a34e);if(!_0x3e5a8f&&(_0x30b7cf[_0x4d21de(0x12b)](_0x3687f7,AutomationFrameworkState[_0x4d21de(0x112)])||_0x30b7cf[_0x4d21de(0x123)](_0x3687f7,AutomationFrameworkState['NONE']))){const _0x392ee1=TrackedInstance['createContext'](_0x35a34e);_0x3e5a8f=new AutomationFrameworkInstance(_0x392ee1,this[_0x4d21de(0x130)](),this['getAutomationFrameworkVersion'](),_0x3687f7),AutomationFramework['instances'][_0x4d21de(0x137)](_0x35a34e,_0x3e5a8f),logger['info'](_0x4d21de(0x102)+_0x2cfee1+_0x4d21de(0x10c)+_0x22422f+'\x20→\x20'+_0x35a34e);}return _0x30b7cf[_0x4d21de(0x12f)](_0x3e5a8f,null);}static[a96_0x2c6fb3(0x128)](_0x555c14,_0x2e265e=0x0){const _0x1bc3fe=a96_0x2c6fb3,_0x37466b=_0x1bc3fe(0x104)+_0x555c14+'#'+_0x2e265e;return AutomationFramework[_0x1bc3fe(0x117)][_0x1bc3fe(0xff)](_0x37466b);}static[a96_0x2c6fb3(0x111)](_0x130c3d,_0x2a4b9e=0x0){const _0xa59021=a96_0x2c6fb3;return AutomationFramework['instances'][_0xa59021(0x126)](_0xa59021(0x104)+_0x130c3d+'#'+_0x2a4b9e)||null;}static*[a96_0x2c6fb3(0x107)](){const _0x431546=a96_0x2c6fb3,_0x58d779={};_0x58d779[_0x431546(0x11f)]=function(_0xcc126f,_0x5a28d5){return _0xcc126f===_0x5a28d5;},_0x58d779['abZyX']=_0x431546(0x133),_0x58d779[_0x431546(0x11e)]='testcafe:',_0x58d779[_0x431546(0x10b)]=function(_0x2cf21e,_0x35de03){return _0x2cf21e+_0x35de03;};const _0x308355=_0x58d779;for(const [_0x52239d,_0x268881]of AutomationFramework['instances'][_0x431546(0x11a)]()){if(_0x308355[_0x431546(0x11f)](typeof _0x52239d,_0x308355[_0x431546(0x12d)])&&_0x52239d[_0x431546(0x12e)](_0x308355[_0x431546(0x11e)])){const _0x51641f=_0x52239d[_0x431546(0x10f)](_0x308355[_0x431546(0x11e)][_0x431546(0x134)]),_0x413721=_0x51641f[_0x431546(0x116)]('#');if(_0x308355[_0x431546(0x11f)](_0x413721,-0x1)){const _0x495841={};_0x495841[_0x431546(0x136)]=_0x51641f,_0x495841['platformIndex']=0x0,_0x495841[_0x431546(0x10d)]=_0x268881,yield _0x495841;}else{const _0x3c9912=_0x51641f[_0x431546(0x10f)](0x0,_0x413721),_0x38762d=Number['parseInt'](_0x51641f[_0x431546(0x10f)](_0x308355[_0x431546(0x10b)](_0x413721,0x1)),0xa)||0x0,_0x4019ca={};_0x4019ca[_0x431546(0x136)]=_0x3c9912,_0x4019ca[_0x431546(0x132)]=_0x38762d,_0x4019ca[_0x431546(0x10d)]=_0x268881,yield _0x4019ca;}}}}}function a96_0x40cb(){const _0x4e7a6f=['trackEvent','uVNtD','rIoit','../../../helpers/classLogger.js','getTrackedInstance','isInteger','HlSzo','1233723DcAFaQ','12pDYqcF','get','./automationFramework.js','removeInstance','225929dlGlgb','jOvdu','uCfIZ','7340SHnfmV','abZyX','startsWith','Nevds','getAutomationFrameworkName','3145766waTTeU','platformIndex','string','length','trackEvent:\x20no\x20instance\x20for\x20state=','userAgent','set','delete','debug','../instances/automationFrameworkInstance.js','resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','testcafe:','1074eztUGI','exports','iterAllInstances','../state/automationFrameworkState.js','resolveInstance','56yfPOkO','lfMOH','\x22\x20platformIndex=','instance','722445WlrOVD','slice','460OUZCrK','getInstanceByUserAgent','CREATE','1004778dDQDNT','TestCafeAutomationFramework','warn','lastIndexOf','instances','433272WyOEAo','2uUURHs','entries','18xEwtUQ','../instances/trackedInstance.js'];a96_0x40cb=function(){return _0x4e7a6f;};return a96_0x40cb();}module[a96_0x2c6fb3(0x106)]=TestCafeAutomationFramework;