browserstack-node-sdk 1.65.6 → 1.65.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (216) hide show
  1. package/ats/src/cloudproviders/AWS.js +1 -1
  2. package/ats/src/cloudproviders/Azure.js +1 -1
  3. package/ats/src/cloudproviders/CloudProvider.js +1 -1
  4. package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
  5. package/ats/src/cloudproviders/utils.js +1 -1
  6. package/ats/src/commands/configure.js +1 -1
  7. package/ats/src/commands/connect.js +1 -1
  8. package/ats/src/commands/connect_commands/grid.js +1 -1
  9. package/ats/src/commands/create.js +1 -1
  10. package/ats/src/commands/create_commands/grid.js +1 -1
  11. package/ats/src/commands/delete.js +1 -1
  12. package/ats/src/commands/delete_commands/grid.js +1 -1
  13. package/ats/src/commands/init.js +1 -1
  14. package/ats/src/commands/list.js +1 -1
  15. package/ats/src/commands/list_commands/grid_profiles.js +1 -1
  16. package/ats/src/commands/list_commands/grids.js +1 -1
  17. package/ats/src/commands/precheck.js +1 -1
  18. package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
  19. package/ats/src/commands/start.js +1 -1
  20. package/ats/src/commands/start_commands/grid.js +1 -1
  21. package/ats/src/commands/stop.js +1 -1
  22. package/ats/src/commands/stop_commands/grid.js +1 -1
  23. package/ats/src/config/constants.js +1 -1
  24. package/ats/src/config/logger.js +1 -1
  25. package/ats/src/index.js +1 -1
  26. package/ats/src/utils/AWSUtils.js +1 -1
  27. package/ats/src/utils/createAutoscalerStack.js +1 -1
  28. package/ats/src/utils/createClusterStack.js +1 -1
  29. package/ats/src/utils/createHubHaStack.js +1 -1
  30. package/ats/src/utils/createk8sClient.js +1 -1
  31. package/ats/src/utils/deleteEFSMountTargets.js +1 -1
  32. package/ats/src/utils/deleteStack.js +1 -1
  33. package/ats/src/utils/describeStack.js +1 -1
  34. package/ats/src/utils/gridComponents.js +1 -1
  35. package/ats/src/utils/hstUtils.js +1 -1
  36. package/ats/src/utils/instrumentationUtils.js +1 -1
  37. package/ats/src/utils/userInput.js +1 -1
  38. package/ats/src/utils/utilityMethods.js +1 -1
  39. package/ats/src/utils/webSocketUtils.js +1 -1
  40. package/package.json +1 -1
  41. package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
  42. package/src/bin/codeceptjs/command.js +1 -1
  43. package/src/bin/codeceptjs/helper.js +1 -1
  44. package/src/bin/codeceptjs/o11yHelper.js +1 -1
  45. package/src/bin/cucumber-js/command.js +1 -1
  46. package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
  47. package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
  48. package/src/bin/cucumber-js/test-observability.js +1 -1
  49. package/src/bin/cucumber-js/test.setup.js +1 -1
  50. package/src/bin/cucumber-js/test_old.setup.js +1 -1
  51. package/src/bin/cucumber-js/timeout.setup.js +1 -1
  52. package/src/bin/integrations/command.js +1 -1
  53. package/src/bin/integrations/constants.js +1 -1
  54. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  55. package/src/bin/jasmine/command.js +1 -1
  56. package/src/bin/jasmine/test.setup.js +1 -1
  57. package/src/bin/jasmine/testRunMap.js +1 -1
  58. package/src/bin/jest/command.js +1 -1
  59. package/src/bin/jest/customImplements/customCircus.js +1 -1
  60. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  61. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  62. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  63. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  64. package/src/bin/jest/jest.setup.js +1 -1
  65. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  66. package/src/bin/jest/test-observability/helper.js +1 -1
  67. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  68. package/src/bin/jest/test-observability/test-details.js +1 -1
  69. package/src/bin/jest/test.setup.js +1 -1
  70. package/src/bin/jest/test_before.setup.js +1 -1
  71. package/src/bin/launcher/launcher.js +1 -1
  72. package/src/bin/load/index.js +1 -1
  73. package/src/bin/load/loadErrors.js +1 -1
  74. package/src/bin/load/loadUtils.js +1 -1
  75. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  76. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  77. package/src/bin/mocha/command.js +1 -1
  78. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  79. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  80. package/src/bin/mocha/test.setup.js +1 -1
  81. package/src/bin/newman/command.js +1 -1
  82. package/src/bin/newman/helper.js +1 -1
  83. package/src/bin/newman/reporter/index.js +1 -1
  84. package/src/bin/newman/scriptRunner.js +1 -1
  85. package/src/bin/nightwatch/command.js +1 -1
  86. package/src/bin/node-generic/client.js +1 -1
  87. package/src/bin/playwright/accessibility-helper.js +1 -1
  88. package/src/bin/playwright/command.js +1 -1
  89. package/src/bin/playwright/globalSetup.js +1 -1
  90. package/src/bin/playwright/mock-process.js +1 -1
  91. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  92. package/src/bin/playwright/patches.js +1 -1
  93. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  94. package/src/bin/playwright/reporter/reporter.js +1 -1
  95. package/src/bin/playwright/reporter/test-details.js +1 -1
  96. package/src/bin/playwright/reporterArgs.js +1 -1
  97. package/src/bin/playwright/sessionDetails.js +1 -1
  98. package/src/bin/puppeteer/patches.js +1 -1
  99. package/src/bin/puppeteer/sessionDetails.js +1 -1
  100. package/src/bin/puppeteer/test.setup.js +1 -1
  101. package/src/bin/runner.js +1 -1
  102. package/src/bin/setup.js +1 -1
  103. package/src/bin/test-runner/index.js +1 -1
  104. package/src/bin/test-runner/runTest.js +1 -1
  105. package/src/bin/test-runner/testWorker.js +1 -1
  106. package/src/bin/testcafe/a11y-runner.js +1 -1
  107. package/src/bin/testcafe/command.js +1 -1
  108. package/src/bin/testcafe/reporter/index.js +1 -1
  109. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  110. package/src/bin/testcafe/session-registry.js +1 -1
  111. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  112. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  113. package/src/bin/testcafe/w3c-driver.js +1 -1
  114. package/src/bin/utils/apiUtilityMethods.js +1 -1
  115. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  116. package/src/bin/utils/constants.js +1 -1
  117. package/src/bin/utils/log4jsAppender.js +1 -1
  118. package/src/bin/utils/logPatcher.js +1 -1
  119. package/src/bin/utils/logReportingAPI.js +1 -1
  120. package/src/bin/utils/playwright-patcher.js +1 -1
  121. package/src/bin/utils/puppeteer-patcher.js +1 -1
  122. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  123. package/src/bin/utils/sharedUtils.js +1 -1
  124. package/src/bin/v2/TestInfo.js +1 -1
  125. package/src/bin/v2/browserstackCLI.js +1 -1
  126. package/src/bin/v2/cliUtils.js +1 -1
  127. package/src/bin/v2/customTagManager.js +1 -1
  128. package/src/bin/v2/eventDispatcher.js +1 -1
  129. package/src/bin/v2/framework/automationFramework.js +1 -1
  130. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  131. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  132. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  133. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  134. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  135. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  136. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  137. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  138. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  139. package/src/bin/v2/framework/testFramework.js +1 -1
  140. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  141. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  142. package/src/bin/v2/grpcClient.js +1 -1
  143. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  144. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  145. package/src/bin/v2/instances/trackedContext.js +1 -1
  146. package/src/bin/v2/instances/trackedInstance.js +1 -1
  147. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  148. package/src/bin/v2/modules/baseModule.js +1 -1
  149. package/src/bin/v2/modules/loadTestModule.js +1 -1
  150. package/src/bin/v2/modules/observabilityModule.js +1 -1
  151. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  152. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  153. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  154. package/src/bin/v2/modules/testhubModule.js +1 -1
  155. package/src/bin/v2/sdkErrorHandler.js +1 -1
  156. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  157. package/src/bin/v2/state/hookState.js +1 -1
  158. package/src/bin/v2/state/testFrameworkState.js +1 -1
  159. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  160. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  161. package/src/bin/v2/utils/jest-utils.js +1 -1
  162. package/src/bin/vanilla-js/command.js +1 -1
  163. package/src/browserStackSdk.js +1 -1
  164. package/src/helpers/BrowserStackSetup.js +1 -1
  165. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  166. package/src/helpers/accessibility-automation/constants.js +1 -1
  167. package/src/helpers/accessibility-automation/helper.js +1 -1
  168. package/src/helpers/accessibility-automation/scripts.js +1 -1
  169. package/src/helpers/ats/constants.js +1 -1
  170. package/src/helpers/ats/helper.js +1 -1
  171. package/src/helpers/caCertHelper.js +1 -1
  172. package/src/helpers/capsMapping.js +1 -1
  173. package/src/helpers/central-scanner/constants.js +1 -1
  174. package/src/helpers/central-scanner/helpers.js +1 -1
  175. package/src/helpers/classLogger.js +1 -1
  176. package/src/helpers/driverInitErrorReporter.js +1 -1
  177. package/src/helpers/globals.js +1 -1
  178. package/src/helpers/helper.js +1 -1
  179. package/src/helpers/logger.js +1 -1
  180. package/src/helpers/metadata.js +1 -1
  181. package/src/helpers/patchHelper.js +1 -1
  182. package/src/helpers/patchHelpers.js +1 -1
  183. package/src/helpers/percy/Percy.js +1 -1
  184. package/src/helpers/percy/PercyBinary.js +1 -1
  185. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  186. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  187. package/src/helpers/percy/PercySDK.js +1 -1
  188. package/src/helpers/percy/index.js +1 -1
  189. package/src/helpers/percy/utils.js +1 -1
  190. package/src/helpers/performance/constants.js +1 -1
  191. package/src/helpers/performance/performance-tester.js +1 -1
  192. package/src/helpers/playwright-helper.js +1 -1
  193. package/src/helpers/processHelper.js +1 -1
  194. package/src/helpers/puppeteer-helper.js +1 -1
  195. package/src/helpers/request-spy.js +1 -1
  196. package/src/helpers/setKeepAlive.js +1 -1
  197. package/src/helpers/stackFrameUtils.js +1 -1
  198. package/src/helpers/test-observability/constants.js +1 -1
  199. package/src/helpers/test-observability/error-handler.js +1 -1
  200. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  201. package/src/helpers/test-observability/sessionHandler.js +1 -1
  202. package/src/helpers/test-observability/utils.js +1 -1
  203. package/src/helpers/test-orchestration/constants.js +1 -1
  204. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  205. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  206. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  207. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  208. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  209. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  210. package/src/helpers/testhub/constants.js +1 -1
  211. package/src/helpers/testhub/testhubHandler.js +1 -1
  212. package/src/helpers/testhub/utils.js +1 -1
  213. package/src/helpers/utilities.js +1 -1
  214. package/src/helpers/w3cMapping.js +1 -1
  215. package/src/hubAllocationMethods.js +1 -1
  216. package/src/index.js +1 -1
@@ -1 +1 @@
1
- const a96_0x5bb4bd=a96_0x43b1;function a96_0x1425(){const _0xd41bce=['KEY_TEST_NAME','\x20hookState:\x20','KEY_TEST_TAGS','KEY_TEST_ID','getTestFrameworksVersions','rzQxQ','trackPlaywrightInstance','qxhcU','ceil','trackStepEvent:\x20testId=','annotations','KEY_HOOKS_FINISHED','XrtJO','logCreatedEvent','HUAmw','runHooks','KEY_TEST_ENDED_AT','duration','testFrameworkState','result','message','kDwFs','dHzlv','FdAGH','pop','trackStepEvent:\x20exception=','../../utils/constants','tnxBH','failed','Error\x20processing\x20direct\x20trace\x20file\x20','getCurrentTestState','parseCommaSeparatedValues','KEY_HOOKS_STARTED','format','AAIBP','exports','getTraceFilePaths','retry','\x20steps\x20for\x20testId=','qvWVD','testFrameworkVersion','KEY_TEST_RESULT','KEY_HOOK_FAILURE_REASON','KEY_TEST_LOGS','trackStepEvent','skipped','KEY_TEST_RETRY_OF','AuHYV','fixme','FAkZg','createTestFrameworkEventPayload\x20testId:\x20','../../../../src/helpers/helper','resolveInstance','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','filter','wYtdu','getRef','KEY_HOOK_ID','purBh','nXLaO','YFSyd','concat','KEY_TEST_RERUN_NAME','10VZKkIo','step','XyKKS','matchHookRegex','startTime','VLNJr','pELqh','test','1776214iSUijd','util','browserstackPlatformIndex','set','uuid','NONE','mergeIntoTags','DEFAULT_HOOK_RESULT','\x20result=','some','trackHookEvent','from','parsePlaywrightTestResult','Zugip','mVEen','BuSvR','platformIndex','basename','2nykSUj','steps','getTime','../TestInfo.js','PQVKx','status','KEY_HOOK_FAILURE','XCUmw','POST','ZcbLs','attachments','tRGXJ','eventJson','logs','8226gnzmgp','filePath','KEY_TEST_FAILURE','err','debug','KEY_TEST_FAILURE_REASON','KEY_EVENT_STARTED_AT','YPNpZ','nkMQB','TWXTh','size','\x20payload=','lBSMy','push','statSync','eGhbS','EQvIM','sendLogCreatedEvent','zhfTl','../cliUtils.js','kiMNg','getProcessId',',\x20testFrameworkState=','KEY_TEST_ATTACHMENTS',',\x20state=','KEY_HOOK_LAST_STARTED','../instances/testFrameworkInstance.js','addMultipleEntries','mdaDr','parsePlaywrightTestResult:\x20extracted\x20','pArEZ','error','\x20&\x20hook\x20=\x20','KEY_CUSTOM_TAGS','HxuTZ','get','\x20testHookState=','KEY_TEST_LOCATION','KEY_HOOK_NAME','getId','\x20batch\x20','sjdtJ','getTrackedInstance','KEY_TEST_FILE_PATH','PlaywrightTestFramework','getInstance','KEY_TEST_SCOPE','DyBiU','PRE','../instances/trackedInstance.js','getCurrentInstanceName','createContext','kfQRl','failure','length','parsePlaywrightTest','TEST','description','2170756gomiKg','parallelIndex','inspect','Ijdal','../../../helpers/classLogger.js','FABfc','testFrameworkName','hook','mGIxY','toString','FDNlw','skip','LlFOg','MAX_NESTED_STEP_DEPTH','1864KTTNHF','slice','KEY_TEST_FRAMEWORK_VERSION','../state/hookState.js','KEY_TEST_META','czQKa','passed','KEY_LOGS','\x20from\x20TestDetails:\x20','fEFlI','toISOString','7857216fMYvKz','KEY_HOOK_FAILURE_TYPE','RPTdR','getAllData','KEY_TEST_UUID','PUBHA','split','testUId','started_at','KEY_TEST_STARTED_AT','failure_type','ASqQL','TEST_SCREENSHOT','getTestDetails','sCnpi','\x20instanceId=','errors','../../../helpers/helper.js','EFIaN','KEY_HOOK_LOGS','setTestDetails','info','stringify','6TWLiPH','SkKsF','ZYTAn','SqIlk','BRqYV','KEY_AUTOMATE_SESSION_NAME','ZjoCU','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','KEY_TEST_FAILURE_TYPE','XDKqR','instance','executionContext','VTunv','DEFAULT_TEST_RESULT','getThreadId','KEY_HOOK_RESULT','\x20testState:\x20','trim','getTestUUID','sendLogCreatedEvent:\x20testId=','getCurrentHookState','3tsIFQU','pTEuv','JqUGM','KEY_TEST_RESULT_AT','bryqP','BFDSu','endedAt','QwVfK','parent_id','jGgYP','2605595FEupdh','sendLogCreatedEvent\x20for\x20testId:\x20','KEY_TEST_SCOPES','forEach','setTrackedInstance','text','slow','1466836oBRACj','\x20response=','path','KEY_TEST_FRAMEWORK_NAME','title','No\x20reason\x20provided','expectedStatus','NbwLe','sBrQK','EzjcN','473901ThKaRB','\x20hookState=','swGtH','stack','Expected\x20to\x20fail,\x20but\x20passed.','trackEvent:\x20found\x20instance,\x20testFrameworkState=','Error\x20in\x20sendLogCreatedEvent:\x20'];a96_0x1425=function(){return _0xd41bce;};return a96_0x1425();}(function(_0x5250bc,_0x424a92){const _0x3ad483=a96_0x43b1,_0x5a0bd7=_0x5250bc();while(!![]){try{const _0x46a542=-parseInt(_0x3ad483(0x2a1))/0x1*(parseInt(_0x3ad483(0x1f9))/0x2)+parseInt(_0x3ad483(0x286))/0x3*(-parseInt(_0x3ad483(0x297))/0x4)+parseInt(_0x3ad483(0x290))/0x5*(parseInt(_0x3ad483(0x271))/0x6)+parseInt(_0x3ad483(0x241))/0x7+-parseInt(_0x3ad483(0x24f))/0x8*(parseInt(_0x3ad483(0x207))/0x9)+-parseInt(_0x3ad483(0x1df))/0xa*(-parseInt(_0x3ad483(0x1e7))/0xb)+parseInt(_0x3ad483(0x25a))/0xc;if(_0x46a542===_0x424a92)break;else _0x5a0bd7['push'](_0x5a0bd7['shift']());}catch(_0x56133e){_0x5a0bd7['push'](_0x5a0bd7['shift']());}}}(a96_0x1425,0x90fe9));function a96_0x43b1(_0x39aa7b,_0x3ec8f3){const _0x1425a6=a96_0x1425();return a96_0x43b1=function(_0x43b163,_0x14e60d){_0x43b163=_0x43b163-0x1b6;let _0x75d204=_0x1425a6[_0x43b163];return _0x75d204;},a96_0x43b1(_0x39aa7b,_0x3ec8f3);}const TestFramework=require('./testFramework'),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a96_0x5bb4bd(0x252)),{createClassLogger}=require(a96_0x5bb4bd(0x245)),TestFrameworkInstance=require(a96_0x5bb4bd(0x221)),CLIUtils=require(a96_0x5bb4bd(0x21a)),TrackedInstance=require(a96_0x5bb4bd(0x238)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a96_0x5bb4bd(0x233)),{v4:uuidv4}=require(a96_0x5bb4bd(0x1eb)),util=require(a96_0x5bb4bd(0x1e8)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a96_0x5bb4bd(0x26b)),TestInfo=require(a96_0x5bb4bd(0x1fc)),GrpcClient=require('../grpcClient'),{removeAnsiColors,getFailureType,failureData}=require('../../../helpers/test-observability/utils'),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require('../../playwright/reporter/pwUtils'),path=require(a96_0x5bb4bd(0x299)),fs=require('fs'),helper=require(a96_0x5bb4bd(0x1d3)),{PLAYWRIGHT_TRACE_LOGS}=require(a96_0x5bb4bd(0x1ba)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a96_0x5bb4bd(0x24c),a96_0x5bb4bd(0x1d0),a96_0x5bb4bd(0x296),'fail']);class PlaywrightTestFramework extends TestFramework{constructor(_0x39cbe0,_0x8b9123,_0x190b5d){super(_0x39cbe0,_0x8b9123,_0x190b5d);}async['trackEvent'](_0x4a7fab,_0x48c4fa,_0x5c282c={}){const _0x1b529b=a96_0x5bb4bd,_0x25e101={'nkMQB':function(_0x53849b,_0x17310f){return _0x53849b===_0x17310f;},'AuHYV':function(_0x2547c2,_0x5b5ab8){return _0x2547c2===_0x5b5ab8;},'fEFlI':function(_0x2ef70f,_0x231320){return _0x2ef70f===_0x231320;},'zvmxJ':function(_0x526944,_0x49f0a3,_0x3ee2be){return _0x526944(_0x49f0a3,_0x3ee2be);},'LlFOg':function(_0x31f2ca,_0x443a46){return _0x31f2ca===_0x443a46;},'sjdtJ':function(_0x2ec3b0,_0x893bda,_0x27aaa0){return _0x2ec3b0(_0x893bda,_0x27aaa0);},'bFnWt':function(_0x673816,_0xe77c6d,_0x332743,_0x1a3414){return _0x673816(_0xe77c6d,_0x332743,_0x1a3414);},'mVEen':_0x1b529b(0x1e6),'FdAGH':_0x1b529b(0x1d5)};super['trackEvent'](_0x4a7fab,_0x48c4fa,_0x5c282c);if(_0x25e101[_0x1b529b(0x20f)](_0x4a7fab,TestFrameworkState[_0x1b529b(0x266)])){const _0x2bf2e3=TestInfo['getTestIdentifierFromTestInfo'](_0x5c282c['test'],_0x5c282c[_0x1b529b(0x1e6)][_0x1b529b(0x1c5)]);TestInfo[_0x1b529b(0x26e)](_0x2bf2e3,_0x5c282c[_0x1b529b(0x2bb)],!![]);}if(_0x25e101['nkMQB'](_0x4a7fab,TestFrameworkState['TEST_STEP'])){this[_0x1b529b(0x1cc)](_0x4a7fab,_0x48c4fa,_0x5c282c);return;}const _0xa736ad=this[_0x1b529b(0x1d4)](_0x4a7fab,_0x48c4fa,_0x5c282c);if(!_0xa736ad)return;logger[_0x1b529b(0x20b)](_0x1b529b(0x2a6)+_0x4a7fab+_0x1b529b(0x2a2)+_0x48c4fa+_0x1b529b(0x269)+_0xa736ad[_0x1b529b(0x1d8)]());try{if(_0x25e101[_0x1b529b(0x1cf)](_0x48c4fa,HookState['PRE'])&&_0x25e101[_0x1b529b(0x258)](_0x4a7fab,TestFrameworkState[_0x1b529b(0x23f)])){const _0x28d8c0=_0x5c282c[_0x1b529b(0x1e6)];logger[_0x1b529b(0x20b)](_0x1b529b(0x278)+_0x28d8c0['id']+'}');const _0x18e252=TestInfo[_0x1b529b(0x283)](_0x25e101['zvmxJ'](getTestRunIdentifier,_0x28d8c0,_0x5c282c[_0x1b529b(0x2bb)][_0x1b529b(0x1c5)]));_0xa736ad[_0x1b529b(0x222)](this[_0x1b529b(0x23e)](_0x18e252,_0x28d8c0,_0x5c282c['result'])),logger[_0x1b529b(0x20b)]('trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20'+_0x28d8c0['id']+_0x1b529b(0x21d)+_0x4a7fab+_0x1b529b(0x22b)+_0x48c4fa+'\x20instance='+_0xa736ad[_0x1b529b(0x1d8)]());}if(_0x25e101[_0x1b529b(0x258)](_0x48c4fa,HookState['POST'])&&_0x25e101[_0x1b529b(0x24d)](_0x4a7fab,TestFrameworkState['TEST'])){const _0x3bc522=_0x5c282c[_0x1b529b(0x1e6)],_0x2db26e=_0x5c282c[_0x1b529b(0x2bb)];logger[_0x1b529b(0x20b)]('trackEvent\x20loading\x20testResults\x20for\x20testId:\x20'+_0x3bc522['id']);const _0xe75b5=_0x25e101[_0x1b529b(0x230)](getTestRunIdentifier,_0x3bc522,_0x2db26e[_0x1b529b(0x1c5)]),_0x3f22ca=_0xa736ad['getAllData']()[_0x1b529b(0x22a)](_0xe75b5)[TestFrameworkConstants[_0x1b529b(0x25e)]],{steps:_0x185416,logs:_0x444e0d}=_0x25e101['bFnWt'](getStepsAndLogs,_0x2db26e[_0x1b529b(0x1fa)],_0x3f22ca,_0x25e101[_0x1b529b(0x1f5)]);_0xa736ad[_0x1b529b(0x222)](this['parsePlaywrightTestResult'](_0x3bc522['id'],_0x2db26e,_0x3bc522,_0x185416)),await this[_0x1b529b(0x218)](_0xa736ad,_0x4a7fab,_0x48c4fa,_0x25e101[_0x1b529b(0x1f5)],_0x5c282c,_0x444e0d);}if(CLIUtils[_0x1b529b(0x1e2)](_0x4a7fab[_0x1b529b(0x24a)]()[_0x1b529b(0x260)]('.')[0x1])){const _0x578cf5=await this[_0x1b529b(0x1f1)](_0xa736ad,_0x4a7fab,_0x48c4fa,_0x5c282c);_0xa736ad['addMultipleEntries'](_0x578cf5);}}catch(_0x59d061){logger['error'](util[_0x1b529b(0x1c1)](_0x25e101[_0x1b529b(0x1b7)],_0x4a7fab,_0x48c4fa,_0x5c282c[_0x1b529b(0x23d)],_0x59d061));}_0x5c282c[_0x1b529b(0x27b)]=_0xa736ad,await this[_0x1b529b(0x2b7)](_0xa736ad,_0x4a7fab,_0x48c4fa,_0x5c282c);}[a96_0x5bb4bd(0x1d4)](_0x42ae77,_0x2dd6b5,_0x39b784={}){const _0x4e8bdb=a96_0x5bb4bd,_0xd8e080={};_0xd8e080[_0x4e8bdb(0x213)]=function(_0x4c8537,_0x2993bf){return _0x4c8537===_0x2993bf;},_0xd8e080[_0x4e8bdb(0x2a0)]=function(_0x4c5f38,_0x3fc239){return _0x4c5f38===_0x3fc239;};const _0x566c0e=_0xd8e080;let _0x5bd234=null;return(_0x566c0e[_0x4e8bdb(0x213)](_0x42ae77,TestFrameworkState['INIT_TEST'])||_0x566c0e[_0x4e8bdb(0x2a0)](_0x42ae77,TestFrameworkState[_0x4e8bdb(0x1ec)]))&&this[_0x4e8bdb(0x2ae)](_0x42ae77,_0x39b784),_0x5bd234=TestFramework[_0x4e8bdb(0x231)](),_0x5bd234;}['trackPlaywrightInstance'](_0x2b1f84,_0x224c30){const _0xb25bbc=a96_0x5bb4bd,_0x1d1b7b=CLIUtils[_0xb25bbc(0x239)](),_0x1d6493=TrackedInstance[_0xb25bbc(0x23a)](_0x1d1b7b);let _0xe6047e=null;logger[_0xb25bbc(0x26f)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x1d1b7b+_0xb25bbc(0x21f)+_0x2b1f84),_0xe6047e=new TestFrameworkInstance(_0x1d6493,this['getTestFrameworks'](),this['getTestFrameworksVersions'](),_0x2b1f84,HookState[_0xb25bbc(0x1ec)]),TestFramework[_0xb25bbc(0x294)](_0x1d6493,_0xe6047e),logger['info']('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x1d6493[_0xb25bbc(0x22e)]()+'\x20target='+_0x1d1b7b);}[a96_0x5bb4bd(0x23e)](_0x4a2fee,_0x3b24f3,_0x166a3a){const _0x1cb08c=a96_0x5bb4bd,_0x37f1b1={'nXLaO':function(_0x2eba0a,_0x235d1c){return _0x2eba0a(_0x235d1c);},'XDKqR':function(_0x3a076f,_0x4a0c27){return _0x3a076f(_0x4a0c27);},'DyBiU':function(_0xd39663,_0xc393be){return _0xd39663(_0xc393be);},'sBrQK':function(_0x243d32,_0x298b97,_0x4b9f89){return _0x243d32(_0x298b97,_0x4b9f89);}},_0x11ead5=_0x37f1b1[_0x1cb08c(0x1db)](getPlaywrightTestId,_0x3b24f3),_0x16f16f=_0x37f1b1[_0x1cb08c(0x27a)](getPlaywrightTestTitle,_0x3b24f3),_0x26b6a8=_0x37f1b1[_0x1cb08c(0x236)](getTestTags,_0x3b24f3),_0x4fe460=_0x37f1b1['DyBiU'](getPlaywrightTestCode,_0x3b24f3),_0x219c40=_0x37f1b1[_0x1cb08c(0x236)](getPlaywrightTestFilePath,_0x3b24f3),_0x4adfd9=_0x219c40,_0x853f50=_0x37f1b1['DyBiU'](getPlaywrightTestScope,_0x3b24f3),_0x1c3827=_0x37f1b1[_0x1cb08c(0x1db)](getPlaywrightTestScopes,_0x3b24f3),_0x25a4ee=_0x37f1b1['DyBiU'](getPlaywrightSessionName,_0x3b24f3),_0x2bc9bf=this['getTestFrameworks']()[0x0],_0x55274c=_0x37f1b1[_0x1cb08c(0x29f)](getTestRunIdentifier,_0x3b24f3,_0x166a3a['retry']),_0x593fff={[TestFrameworkConstants[_0x1cb08c(0x29a)]]:_0x2bc9bf,[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:this[_0x1cb08c(0x2ac)]()[_0x2bc9bf],[TestFrameworkConstants[_0x1cb08c(0x1cb)]]:[],[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants[_0x1cb08c(0x25e)]]:_0x4a2fee,[TestFrameworkConstants[_0x1cb08c(0x1c9)]]:TestFrameworkConstants[_0x1cb08c(0x27e)],[TestFrameworkConstants[_0x1cb08c(0x276)]]:_0x25a4ee,[TestFrameworkConstants[_0x1cb08c(0x232)]]:_0x219c40,[TestFrameworkConstants[_0x1cb08c(0x2ab)]]:_0x11ead5,[TestFrameworkConstants[_0x1cb08c(0x2a8)]]:_0x16f16f,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x4adfd9,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x4fe460,[TestFrameworkConstants[_0x1cb08c(0x2aa)]]:_0x26b6a8,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x3b24f3['results'][0x0][_0x1cb08c(0x1e3)],[TestFrameworkConstants[_0x1cb08c(0x235)]]:_0x853f50,[TestFrameworkConstants[_0x1cb08c(0x292)]]:_0x1c3827,[TestFrameworkConstants[_0x1cb08c(0x1de)]]:_0x37f1b1[_0x1cb08c(0x27a)](getPlaywrightCustomRerunParam,_0x3b24f3)};TestInfo[_0x1cb08c(0x26e)](_0x55274c,_0x593fff);const _0x36cece={};return _0x36cece[_0x55274c]=_0x593fff,_0x36cece;}[a96_0x5bb4bd(0x1f3)](_0x133612,_0xffcbe7,_0x5c170e,_0x50280a){const _0x5b26b1=a96_0x5bb4bd,_0x509db6={'tnxBH':function(_0x19a383,_0x2f9751){return _0x19a383(_0x2f9751);},'HUAmw':'TEST_ATTACHMENT','SkKsF':function(_0x9180b4,_0x34f487){return _0x9180b4===_0x34f487;},'NbwLe':function(_0x230c59,_0x26d4f3){return _0x230c59(_0x26d4f3);},'wYtdu':_0x5b26b1(0x29c),'Ijdal':function(_0x4c4961,_0x534dab){return _0x4c4961(_0x534dab);},'czQKa':function(_0x455704,_0x1da5a0,_0x13e7d6){return _0x455704(_0x1da5a0,_0x13e7d6);},'EGhhs':_0x5b26b1(0x1cd),'BuSvR':_0x5b26b1(0x255),'EQvIM':function(_0x253abc,_0x15653b){return _0x253abc===_0x15653b;},'kfQRl':_0x5b26b1(0x1bc),'UciyP':'timedOut','mdaDr':_0x5b26b1(0x2a5),'sCnpi':function(_0xa53427,_0x540a09){return _0xa53427||_0x540a09;},'jtGLC':function(_0xce86c0,_0x1eb6ad){return _0xce86c0(_0x1eb6ad);},'BRqYV':function(_0x11a4be,_0x5b11c6){return _0x11a4be>_0x5b11c6;},'YFSyd':function(_0x278383,_0x292589){return _0x278383-_0x292589;},'mGIxY':function(_0x222696,_0x11cccd,_0x155875,_0x525843){return _0x222696(_0x11cccd,_0x155875,_0x525843);},'EFIaN':_0x5b26b1(0x1e6),'rzdTo':function(_0x50d407,_0xe5d5ef){return _0x50d407===_0xe5d5ef;},'pArEZ':function(_0x2171e6,_0xe7c8a4){return _0x2171e6>=_0xe7c8a4;},'dHzlv':function(_0x4e39c0,_0x178b60){return _0x4e39c0===_0x178b60;},'ASqQL':function(_0xd827c9,_0x5b932a){return _0xd827c9+_0x5b932a;},'ZYTAn':function(_0xbc66be,_0x4c0d06){return _0xbc66be>_0x4c0d06;},'qxhcU':_0x5b26b1(0x299),'JqUGM':function(_0x272dc8,_0x4d6d5b){return _0x272dc8(_0x4d6d5b);},'zkoWb':function(_0x21cce6,_0x5ec8a3){return _0x21cce6>_0x5ec8a3;},'ymqRc':function(_0x2095a9,_0x2d9119){return _0x2095a9(_0x2d9119);},'VLNJr':'../customTagManager'};logger['debug']('parsePlaywrightTestResult:\x20testId='+_0x133612);const _0x257c14=_0x509db6[_0x5b26b1(0x254)](getTestRunIdentifier,_0x5c170e,_0xffcbe7[_0x5b26b1(0x1c5)]),_0x1b4733=new Date(),_0x21e20e=_0xffcbe7[_0x5b26b1(0x1fe)],_0xf07c9b=TestInfo[_0x5b26b1(0x267)](_0x257c14)[TestFrameworkConstants[_0x5b26b1(0x228)]]||{};let _0x18f434=_0x21e20e;if(_0x509db6[_0x5b26b1(0x272)](_0xffcbe7[_0x5b26b1(0x1fe)],_0x5c170e[_0x5b26b1(0x29d)]))_0x18f434=_0x509db6['SkKsF'](_0xffcbe7[_0x5b26b1(0x1fe)],_0x509db6['EGhhs'])?_0x509db6['EGhhs']:_0x509db6['BuSvR'];else{(_0x509db6[_0x5b26b1(0x272)](_0x18f434,_0x509db6[_0x5b26b1(0x1f6)])||_0x509db6[_0x5b26b1(0x217)](_0x18f434,_0x509db6['kfQRl'])||_0x509db6[_0x5b26b1(0x272)](_0x18f434,_0x509db6['UciyP']))&&(_0x18f434=_0x509db6[_0x5b26b1(0x23b)]);if(_0x509db6[_0x5b26b1(0x272)](_0xffcbe7[_0x5b26b1(0x1fe)],_0x509db6[_0x5b26b1(0x1f6)])&&_0x509db6[_0x5b26b1(0x272)](_0x5c170e[_0x5b26b1(0x29d)],_0x509db6[_0x5b26b1(0x23b)])){const _0x2b6cf7={};_0x2b6cf7[_0x5b26b1(0x2bc)]=_0x509db6['mdaDr'],_0x2b6cf7[_0x5b26b1(0x2a4)]=_0x509db6[_0x5b26b1(0x223)],_0xffcbe7['error']=_0x2b6cf7,_0xffcbe7[_0x5b26b1(0x26a)]=[_0xffcbe7[_0x5b26b1(0x226)]];}}const {failureData:_0x24c95e,logs:_0xe8bee1}=_0x509db6[_0x5b26b1(0x254)](getFailureData,_0xffcbe7?.[_0x5b26b1(0x26a)],{}),_0x529af2={[TestFrameworkConstants[_0x5b26b1(0x209)]]:_0x509db6[_0x5b26b1(0x268)](_0x24c95e,null),[TestFrameworkConstants[_0x5b26b1(0x279)]]:_0xffcbe7?.[_0x5b26b1(0x226)]&&_0x509db6[_0x5b26b1(0x29e)](getFailureType,_0xffcbe7[_0x5b26b1(0x226)][_0x5b26b1(0x2bc)]),[TestFrameworkConstants[_0x5b26b1(0x20c)]]:_0xffcbe7?.[_0x5b26b1(0x226)]&&_0x509db6['jtGLC'](removeAnsiColors,_0xffcbe7[_0x5b26b1(0x226)][_0x5b26b1(0x2bc)]),[TestFrameworkConstants[_0x5b26b1(0x256)]]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x18f434,[TestFrameworkConstants[_0x5b26b1(0x2b8)]]:_0x1b4733[_0x5b26b1(0x259)](),[TestFrameworkConstants[_0x5b26b1(0x289)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x5b26b1(0x228)]]:_0xf07c9b};if(_0xffcbe7&&_0x509db6[_0x5b26b1(0x275)](_0xffcbe7['retry'],0x0)){const _0x4e64eb=TestInfo[_0x5b26b1(0x283)](_0x509db6['czQKa'](getTestRunIdentifier,_0x5c170e,_0x509db6[_0x5b26b1(0x1dc)](_0xffcbe7[_0x5b26b1(0x1c5)],0x1)));_0x529af2[TestFrameworkConstants[_0x5b26b1(0x1ce)]]=_0x4e64eb;}const _0x6ad3b={};_0x6ad3b[_0x5b26b1(0x1e6)]=_0x5c170e;const _0x1c7197=this[_0x5b26b1(0x1d4)](TestFrameworkState[_0x5b26b1(0x23f)],HookState[_0x5b26b1(0x201)],_0x6ad3b),_0x370776=_0x1c7197[_0x5b26b1(0x25d)]()['get'](_0x257c14)[TestFrameworkConstants[_0x5b26b1(0x25e)]],_0x30a643=_0x50280a||_0x509db6[_0x5b26b1(0x249)](getStepsAndLogs,_0xffcbe7[_0x5b26b1(0x1fa)],_0x370776,_0x509db6[_0x5b26b1(0x26c)])[_0x5b26b1(0x1fa)],_0x545ab9=new Map(),_0x46bb71=new Map();let _0x469f9a=0x0;const _0x85a924=[];for(const _0x24166f of _0x30a643||[]){const _0xc76ac4=_0x24166f[_0x5b26b1(0x28e)]||null;let _0x31288c;if(_0x509db6['rzdTo'](_0xc76ac4,null)){if(_0x509db6[_0x5b26b1(0x225)](_0x469f9a,TestFrameworkConstants['MAX_TOP_LEVEL_STEPS']))continue;_0x31288c=0x0,_0x469f9a++;}else{const _0x3d327e=_0x545ab9[_0x5b26b1(0x22a)](_0xc76ac4);if(_0x509db6[_0x5b26b1(0x1b6)](_0x3d327e,undefined))continue;_0x31288c=_0x509db6[_0x5b26b1(0x265)](_0x3d327e,0x1);if(_0x509db6[_0x5b26b1(0x273)](_0x31288c,TestFrameworkConstants[_0x5b26b1(0x24e)]))continue;}_0x545ab9[_0x5b26b1(0x1ea)](_0x24166f['id'],_0x31288c),_0x46bb71[_0x5b26b1(0x1ea)](_0x24166f['id'],_0x24166f['text']),_0x85a924[_0x5b26b1(0x214)]({'id':_0x24166f['id'],'parent_id':_0xc76ac4,'parent_text':_0xc76ac4?_0x46bb71['get'](_0xc76ac4)||'':'','text':_0x24166f[_0x5b26b1(0x295)],'keyword':_0x24166f['keyword']||null,'started_at':_0x24166f[_0x5b26b1(0x262)],'duration':_0x24166f[_0x5b26b1(0x2b9)]??null,'result':_0x24166f['result'],'failure':_0x24166f[_0x5b26b1(0x23c)]||null,'failure_type':_0x24166f[_0x5b26b1(0x264)]||null});}const _0x29e482={};_0x29e482['steps']=_0x85a924,_0x529af2[TestFrameworkConstants[_0x5b26b1(0x253)]]=_0x29e482,logger[_0x5b26b1(0x20b)](_0x5b26b1(0x224)+_0x85a924['length']+_0x5b26b1(0x1c6)+_0x133612);const _0x333e73=[],_0xe79676=_0x509db6[_0x5b26b1(0x254)](findNestedKey,_0xffcbe7,_0x509db6[_0x5b26b1(0x2af)]);if(_0xe79676&&_0x509db6[_0x5b26b1(0x288)](validateFilePath,_0xe79676))try{_0x333e73[_0x5b26b1(0x214)]({'kind':_0x509db6[_0x5b26b1(0x2b6)],'timestamp':new Date()[_0x5b26b1(0x259)](),'test_run_uuid':_0x370776,'file_name':path[_0x5b26b1(0x1f8)](_0xe79676),'file_size':fs[_0x5b26b1(0x215)](_0xe79676)['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x48c8ac){logger['error'](_0x5b26b1(0x1bd)+_0xe79676+':\x20'+_0x48c8ac[_0x5b26b1(0x2bc)]);}const _0xf2e6a8=TestInfo[_0x5b26b1(0x1c4)](),_0x191c5a=_0xf2e6a8[_0x5b26b1(0x1d6)](_0x46ba7d=>_0x46ba7d[_0x5b26b1(0x261)]===_0x370776);_0x191c5a[_0x5b26b1(0x293)](_0x1b9617=>{const _0xc5ec3f=_0x5b26b1;if(_0x1b9617['filePath']&&_0x509db6[_0xc5ec3f(0x1bb)](validateFilePath,_0x1b9617['filePath'])&&!_0x333e73[_0xc5ec3f(0x1f0)](_0x3dfb76=>_0x3dfb76['file_name']===path[_0xc5ec3f(0x1f8)](_0x1b9617[_0xc5ec3f(0x208)])))try{_0x333e73[_0xc5ec3f(0x214)]({'kind':_0x509db6[_0xc5ec3f(0x2b6)],'timestamp':new Date()[_0xc5ec3f(0x259)](),'test_run_uuid':_0x370776,'file_name':path[_0xc5ec3f(0x1f8)](_0x1b9617[_0xc5ec3f(0x208)]),'file_size':fs['statSync'](_0x1b9617['filePath'])[_0xc5ec3f(0x211)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x5ea3e6){logger[_0xc5ec3f(0x226)]('Error\x20processing\x20trace\x20file\x20'+_0x1b9617['filePath']+_0xc5ec3f(0x257)+_0x5ea3e6[_0xc5ec3f(0x2bc)]);}});if(_0x509db6['zkoWb'](_0x333e73[_0x5b26b1(0x23d)],0x0)){const _0x561a75=_0x529af2[TestFrameworkConstants[_0x5b26b1(0x256)]]||[];_0x529af2[TestFrameworkConstants[_0x5b26b1(0x256)]]=[..._0x561a75,..._0x333e73];}const _0x40e83b=TestInfo[_0x5b26b1(0x267)](_0x257c14)[TestFrameworkConstants[_0x5b26b1(0x21e)]]||{},_0x59e6d0=_0x509db6[_0x5b26b1(0x254)](getManualUploadLogs,_0x40e83b,_0x1c7197['getAllData']()['get'](_0x257c14)[TestFrameworkConstants[_0x5b26b1(0x25e)]]);if(_0x509db6[_0x5b26b1(0x275)](_0x59e6d0[_0x5b26b1(0x23d)],0x0)){const _0x1c3af7=_0x529af2[TestFrameworkConstants[_0x5b26b1(0x256)]]||[];_0x529af2[TestFrameworkConstants[_0x5b26b1(0x256)]]=[..._0x1c3af7,..._0x59e6d0];}const _0x14ed82=_0x5c170e[_0x5b26b1(0x2b2)]||[],_0x58095d=_0x529af2[TestFrameworkConstants[_0x5b26b1(0x228)]]||{},_0x39e9d1=_0x509db6['ymqRc'](require,_0x509db6[_0x5b26b1(0x1e4)]);_0x14ed82[_0x5b26b1(0x293)](_0xac43da=>{const _0x38ddca=_0x5b26b1,{type:_0x935ea8}=_0xac43da;let _0x16d07f=_0xac43da[_0x38ddca(0x240)];if(!_0x935ea8)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS['has'](_0x935ea8))return;(_0x509db6[_0x38ddca(0x272)](_0x16d07f,undefined)||_0x509db6[_0x38ddca(0x272)](_0x16d07f,null)||_0x509db6[_0x38ddca(0x272)](_0x509db6[_0x38ddca(0x29e)](String,_0x16d07f)[_0x38ddca(0x282)](),''))&&(_0x16d07f=_0x509db6[_0x38ddca(0x1d7)]);const _0x2316ea=helper[_0x38ddca(0x1bf)](_0x509db6[_0x38ddca(0x244)](String,_0x16d07f));_0x39e9d1[_0x38ddca(0x1ed)](_0x58095d,_0x935ea8,_0x2316ea);}),_0x529af2[TestFrameworkConstants[_0x5b26b1(0x228)]]=_0x58095d,TestInfo[_0x5b26b1(0x26e)](_0x257c14,_0x529af2);const _0x3476af={};return _0x3476af[_0x257c14]=_0x529af2,_0x3476af;}[a96_0x5bb4bd(0x1cc)](_0x575cce,_0x17ebf6,_0x1fc4b5){const _0x47ade1=a96_0x5bb4bd,_0x3683c6={'bryqP':function(_0x5c12e5,_0x21a729){return _0x5c12e5||_0x21a729;},'Zugip':function(_0x3be9a2,_0x437dc5,_0x5dd1f6){return _0x3be9a2(_0x437dc5,_0x5dd1f6);}};try{const {test:_0x2c4fc3,result:_0x253f5e,step:_0x30a412}=_0x1fc4b5;if(_0x3683c6[_0x47ade1(0x28a)](!_0x2c4fc3,!_0x30a412)||!_0x253f5e)return;const _0x8e7aa0=_0x3683c6[_0x47ade1(0x1f4)](getTestRunIdentifier,_0x2c4fc3,_0x253f5e[_0x47ade1(0x1c5)]);logger[_0x47ade1(0x20b)](_0x47ade1(0x2b1)+_0x8e7aa0+_0x47ade1(0x2a2)+_0x17ebf6+'\x20step=\x22'+_0x30a412['title']+'\x22');}catch(_0x5e5b43){logger[_0x47ade1(0x226)](_0x47ade1(0x1b9)+util[_0x47ade1(0x1c1)](_0x5e5b43));}}async[a96_0x5bb4bd(0x1f1)](_0xe8aa9d,_0x2f60a1,_0xed9419,_0x4bcd8d){const _0xc5d2f0=a96_0x5bb4bd,_0x3edf63={'kxgrZ':function(_0x18c0a5,_0x257908,_0x11f20d){return _0x18c0a5(_0x257908,_0x11f20d);},'HxuTZ':function(_0x5669a1,_0x20e65c){return _0x5669a1 in _0x20e65c;},'qvWVD':function(_0x53ac73,_0x372a11){return _0x53ac73 in _0x372a11;},'PQVKx':function(_0x17f817,_0x32033a){return _0x17f817(_0x32033a);},'eGhbS':function(_0x577c7c,_0x3cccca){return _0x577c7c===_0x3cccca;},'FABfc':function(_0x472570){return _0x472570();},'XrtJO':function(_0x118dc3,_0x429839){return _0x118dc3>_0x429839;},'RPTdR':function(_0x379f2e,_0x23ee48,_0x23ece1){return _0x379f2e(_0x23ee48,_0x23ece1);},'YPNpZ':_0xc5d2f0(0x20a),'fQaKw':function(_0x4da304,_0xdc31f2){return _0x4da304(_0xdc31f2);},'XyKKS':_0xc5d2f0(0x1bc),'BFDSu':_0xc5d2f0(0x255),'FAkZg':function(_0x3fedf0,_0x138494){return _0x3fedf0!==_0x138494;},'khzEI':function(_0x20d12e,_0x26f35e){return _0x20d12e+_0x26f35e;},'AAIBP':_0xc5d2f0(0x248)},_0x1e620f=_0x4bcd8d[_0xc5d2f0(0x1e6)],_0x1a9546=_0x4bcd8d[_0xc5d2f0(0x1e0)],_0x3fde4f=_0x3edf63['kxgrZ'](getTestRunIdentifier,_0x1e620f,_0x4bcd8d['result'][_0xc5d2f0(0x1c5)]),_0x55cc98=_0x2f60a1[_0xc5d2f0(0x24a)]()['split']('.')[0x1];let _0x28e811=_0xe8aa9d[_0xc5d2f0(0x25d)]()[_0xc5d2f0(0x22a)](_0x3fde4f)[TestFrameworkConstants[_0xc5d2f0(0x1c0)]];!_0x28e811&&(_0x28e811={});!_0x3edf63[_0xc5d2f0(0x229)](_0x55cc98,_0x28e811)&&(_0x28e811[_0x55cc98]=[]);let _0x3cd95c=_0xe8aa9d[_0xc5d2f0(0x25d)]()['get'](_0x3fde4f)[TestFrameworkConstants['KEY_HOOKS_FINISHED']];!_0x3cd95c&&(_0x3cd95c={});!_0x3edf63[_0xc5d2f0(0x1c7)](_0x55cc98,_0x3cd95c)&&(_0x3cd95c[_0x55cc98]=[]);const _0x4c82cd={[TestFrameworkConstants[_0xc5d2f0(0x1c0)]]:_0x28e811,[TestFrameworkConstants[_0xc5d2f0(0x2b3)]]:_0x3cd95c},_0x568090={};_0x568090[_0x3fde4f]=_0x4c82cd;const _0x33de44=_0x568090,_0x3df638=_0x3edf63[_0xc5d2f0(0x1fd)](getPlaywrightTestFilePath,_0x1e620f),_0x36c79d=_0x3df638,_0x39c1cc=TestInfo[_0xc5d2f0(0x267)](_0x3fde4f)[TestFrameworkConstants[_0xc5d2f0(0x228)]]||{};if(_0x3edf63[_0xc5d2f0(0x216)](_0xed9419,HookState[_0xc5d2f0(0x237)])){const _0x499198={'key':_0x55cc98,[TestFrameworkConstants[_0xc5d2f0(0x1d9)]]:_0x3edf63[_0xc5d2f0(0x246)](uuidv4),[TestFrameworkConstants[_0xc5d2f0(0x280)]]:TestFrameworkConstants[_0xc5d2f0(0x1ee)],[TestFrameworkConstants[_0xc5d2f0(0x20d)]]:_0x1a9546[_0xc5d2f0(0x1e3)],[TestFrameworkConstants[_0xc5d2f0(0x26d)]]:[],[TestFrameworkConstants[_0xc5d2f0(0x22d)]]:_0x1a9546[_0xc5d2f0(0x29b)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x3df638,[TestFrameworkConstants[_0xc5d2f0(0x22c)]]:_0x36c79d,[TestFrameworkConstants[_0xc5d2f0(0x228)]]:_0x39c1cc};_0x28e811[_0x55cc98]['push'](_0x499198),_0x33de44[_0x3fde4f][TestFrameworkConstants[_0xc5d2f0(0x220)]]=_0x55cc98,logger[_0xc5d2f0(0x20b)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x55cc98+_0xc5d2f0(0x227)+_0x499198+'\x20\x20and\x20args\x20=\x20'+_0x4bcd8d);}else{if(_0x3edf63[_0xc5d2f0(0x216)](_0xed9419,HookState[_0xc5d2f0(0x201)])){const _0x15e59e=await _0x4bcd8d[_0xc5d2f0(0x2bb)],_0x3860b1=_0x28e811[_0x55cc98]||[],_0x30f5fe=_0x4bcd8d[_0xc5d2f0(0x1e0)];logger[_0xc5d2f0(0x20b)]('Hook\x20List\x20in\x20Post\x20'+_0x3860b1+'\x20and\x20args\x20=\x20'+_0x4bcd8d);if(_0x3edf63[_0xc5d2f0(0x2b4)](_0x3860b1['length'],0x0)){const _0x4a6768=_0x3860b1[_0xc5d2f0(0x1b8)]();if(_0x30f5fe[_0xc5d2f0(0x226)]){const _0x551e46=_0x3edf63[_0xc5d2f0(0x25c)](failureData,_0x30f5fe['error'],_0x3edf63[_0xc5d2f0(0x20e)]);_0x4a6768[TestFrameworkConstants[_0xc5d2f0(0x25b)]]=_0x3edf63[_0xc5d2f0(0x1fd)](getFailureType,_0x30f5fe?.[_0xc5d2f0(0x226)][_0xc5d2f0(0x2bc)]),_0x4a6768[TestFrameworkConstants[_0xc5d2f0(0x1ca)]]=_0x3edf63['fQaKw'](removeAnsiColors,_0x30f5fe?.[_0xc5d2f0(0x226)]['message']),_0x4a6768[TestFrameworkConstants[_0xc5d2f0(0x280)]]=_0x3edf63['XyKKS'],_0x4a6768[TestFrameworkConstants[_0xc5d2f0(0x1ff)]]=_0x551e46;}else _0x4a6768[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x3edf63[_0xc5d2f0(0x28b)];_0x3edf63[_0xc5d2f0(0x1d1)](_0x15e59e,TestFrameworkConstants[_0xc5d2f0(0x1ee)])&&(_0x4a6768[TestFrameworkConstants[_0xc5d2f0(0x280)]]=!_0x30f5fe[_0xc5d2f0(0x226)]?_0x3edf63[_0xc5d2f0(0x28b)]:_0x3edf63[_0xc5d2f0(0x1e1)]);const _0x37534d=new Date(_0x30f5fe[_0xc5d2f0(0x1e3)]),_0x390f51=new Date(_0x3edf63['khzEI'](_0x37534d[_0xc5d2f0(0x1fb)](),_0x30f5fe['duration']));_0x4a6768[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x390f51[_0xc5d2f0(0x259)](),_0x4a6768[TestFrameworkConstants[_0xc5d2f0(0x228)]]=_0x39c1cc;const _0x31f80b=_0x4a6768[TestFrameworkConstants[_0xc5d2f0(0x1d9)]];await this[_0xc5d2f0(0x218)](_0xe8aa9d,_0x2f60a1,_0x31f80b,_0x3edf63[_0xc5d2f0(0x1c2)],_0x4bcd8d),!_0x3cd95c[_0x55cc98]&&(_0x3cd95c[_0x55cc98]=[]),_0x3cd95c[_0x55cc98][_0xc5d2f0(0x214)](_0x4a6768),_0x33de44[_0x3fde4f][TestFrameworkConstants['KEY_HOOK_LAST_FINISHED']]=_0x55cc98;}}}return _0x33de44;}async['sendLogCreatedEvent'](_0x39fd16,_0x3a0d6d,_0xb8556c,_0x5d881e,_0x3ca6da,_0x1face9){const _0x53c636=a96_0x5bb4bd,_0xdbbd13={'EmgFv':function(_0x5b66b7,_0x4ddf3d){return _0x5b66b7===_0x4ddf3d;},'ZcbLs':_0x53c636(0x1e6),'ZjoCU':function(_0x56f2d3,_0x2cce7,_0x1140d6){return _0x56f2d3(_0x2cce7,_0x1140d6);},'purBh':function(_0x222259,_0x5ea820,_0x40d7dc){return _0x222259(_0x5ea820,_0x40d7dc);},'jGgYP':_0x53c636(0x203),'PUBHA':function(_0x24a8b7,_0x41f8c3,_0x49aa2d,_0x328dc4){return _0x24a8b7(_0x41f8c3,_0x49aa2d,_0x328dc4);},'pELqh':function(_0x37d9e7,_0x268314,_0x5b9d01){return _0x37d9e7(_0x268314,_0x5b9d01);},'zhfTl':function(_0x1463e1,_0x32a16a,_0x55aa31){return _0x1463e1(_0x32a16a,_0x55aa31);},'kDwFs':function(_0x53edcc,_0x4d854c){return _0x53edcc/_0x4d854c;},'kiMNg':function(_0x1a16cc,_0x5ed897){return _0x1a16cc<_0x5ed897;},'QwVfK':function(_0x48e489,_0x3b9554){return _0x48e489*_0x3b9554;},'rzQxQ':function(_0x57520e,_0x59ed24){return _0x57520e+_0x59ed24;},'tRGXJ':function(_0x47e987,_0x22952c,_0x5eb407,_0x24794c,_0x5bbfc7){return _0x47e987(_0x22952c,_0x5eb407,_0x24794c,_0x5bbfc7);},'swGtH':function(_0x462c12,_0xa2e4dc,_0x47173f,_0x3cb3a1){return _0x462c12(_0xa2e4dc,_0x47173f,_0x3cb3a1);},'SqIlk':_0x53c636(0x248),'XCUmw':function(_0x1acbbc,_0x59e0ba,_0x521a79){return _0x1acbbc(_0x59e0ba,_0x521a79);},'VTunv':function(_0x4d9c7b,_0x20e2bf,_0x28aeaa,_0x1ced30,_0x1b507b){return _0x4d9c7b(_0x20e2bf,_0x28aeaa,_0x1ced30,_0x1b507b);}};try{if(_0xdbbd13['EmgFv'](_0x5d881e,_0xdbbd13[_0x53c636(0x202)])){const _0x43aa31=await _0x3ca6da[_0x53c636(0x2bb)],_0x55e0e4=_0xdbbd13[_0x53c636(0x277)](getTestRunIdentifier,_0x3ca6da[_0x53c636(0x1e6)],_0x3ca6da[_0x53c636(0x2bb)][_0x53c636(0x1c5)]),_0x1afb72=_0x3ca6da[_0x53c636(0x1e6)];logger[_0x53c636(0x20b)](_0x53c636(0x284)+_0x55e0e4+_0x53c636(0x1ef)+util[_0x53c636(0x243)](_0x43aa31));const _0x454293=_0x39fd16[_0x53c636(0x25d)]()[_0x53c636(0x22a)](_0x55e0e4)[TestFrameworkConstants[_0x53c636(0x25e)]];await _0xdbbd13[_0x53c636(0x1da)](sendTraceZip,_0x43aa31,_0x454293);const _0x5b6dbc=TestInfo[_0x53c636(0x267)](_0x55e0e4)[_0xdbbd13[_0x53c636(0x28f)]],_0x53e681={};if(_0x5b6dbc){!_0x43aa31[_0x53c636(0x203)]&&(_0x43aa31['attachments']=[]);_0x53e681[_0x53c636(0x203)]=_0x43aa31[_0x53c636(0x203)][_0x53c636(0x1dd)](_0x5b6dbc||[]);const _0x46893e=TestInfo[_0x53c636(0x267)](_0x55e0e4);delete _0x46893e[_0xdbbd13[_0x53c636(0x28f)]],TestInfo[_0x53c636(0x26e)](_0x55e0e4,_0x46893e);}const _0x1b7658=_0x1face9||_0xdbbd13[_0x53c636(0x25f)](getStepsAndLogs,_0x43aa31[_0x53c636(0x1fa)],_0x39fd16[_0x53c636(0x25d)]()[_0x53c636(0x22a)](_0x55e0e4)[TestFrameworkConstants[_0x53c636(0x25e)]],_0xdbbd13[_0x53c636(0x202)])[_0x53c636(0x206)],_0x402151=_0xdbbd13[_0x53c636(0x1e5)](getScreenshots,_0x53e681,_0x39fd16[_0x53c636(0x25d)]()[_0x53c636(0x22a)](_0x55e0e4)[TestFrameworkConstants[_0x53c636(0x25e)]]),_0x2bf1f2=_0xdbbd13[_0x53c636(0x219)](getVideos,_0x43aa31,_0x39fd16['getAllData']()[_0x53c636(0x22a)](_0x55e0e4)[TestFrameworkConstants[_0x53c636(0x25e)]]),{_:_0x5824e8,logs:_0x23df96}=_0xdbbd13[_0x53c636(0x1da)](getFailureData,_0x43aa31['errors'],{'test_run_uuid':_0x39fd16['getAllData']()[_0x53c636(0x22a)](_0x55e0e4)[TestFrameworkConstants[_0x53c636(0x25e)]]}),_0x4df08c=TestInfo[_0x53c636(0x267)](_0x55e0e4)[TestFrameworkConstants[_0x53c636(0x21e)]]||{},_0x4e99a1=_0xdbbd13['ZjoCU'](getMediaArtifactsLogs,_0x4df08c,_0x39fd16[_0x53c636(0x25d)]()[_0x53c636(0x22a)](_0x55e0e4)[TestFrameworkConstants[_0x53c636(0x25e)]]),_0x381f01=_0x39fd16['getAllData']()[_0x53c636(0x22a)](_0x55e0e4),{[TestFrameworkConstants[_0x53c636(0x29a)]]:_0x1a4b98='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x116c18=''}=_0x381f01,_0x4aa198=(_0x1b7658||[])[_0x53c636(0x1dd)](_0x402151||[])[_0x53c636(0x1dd)](_0x23df96||[])[_0x53c636(0x1dd)](_0x2bf1f2||[])['concat'](_0x4e99a1||[]),_0x4acc5e=0x28,_0x293fdd=Math[_0x53c636(0x2b0)](_0xdbbd13[_0x53c636(0x2bd)](_0x4aa198[_0x53c636(0x23d)],_0x4acc5e));for(let _0x240663=0x0;_0xdbbd13[_0x53c636(0x21b)](_0x240663,_0x293fdd);_0x240663++){const _0x482da9=_0xdbbd13[_0x53c636(0x28d)](_0x240663,_0x4acc5e),_0xcc90de=_0xdbbd13['rzQxQ'](_0x482da9,_0x4acc5e),_0x4c4bf1=_0x4aa198[_0x53c636(0x250)](_0x482da9,_0xcc90de),_0x41fc7b={'platformIndex':global?.[_0x53c636(0x1e9)]??0x0,'logs':_0x4c4bf1,'testFrameworkName':_0x1a4b98,'testFrameworkVersion':_0x116c18,'testFrameworkState':_0x3a0d6d[_0x53c636(0x24a)]()[_0x53c636(0x260)]('.')[0x1]};_0xdbbd13[_0x53c636(0x204)](updatePayloadForTraceLogs,_0x41fc7b,_0x3ca6da,_0x55e0e4,_0x39fd16),logger['debug']('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x55e0e4+_0x53c636(0x22f)+_0xdbbd13[_0x53c636(0x2ad)](_0x240663,0x1)+'/'+_0x293fdd+_0x53c636(0x212)+util[_0x53c636(0x243)](_0x41fc7b));const _0x50aa8d=await GrpcClient[_0x53c636(0x234)]()[_0x53c636(0x2b5)](_0x41fc7b);logger[_0x53c636(0x20b)](_0x53c636(0x291)+_0x55e0e4+_0x53c636(0x22f)+_0xdbbd13[_0x53c636(0x2ad)](_0x240663,0x1)+'/'+_0x293fdd+_0x53c636(0x298)+util['inspect'](_0x50aa8d));}}else{const {logs:_0x2f15a4}=_0xdbbd13[_0x53c636(0x2a3)](getStepsAndLogs,_0x3ca6da['step'][_0x53c636(0x1fa)],_0xb8556c,_0xdbbd13[_0x53c636(0x274)]),_0x2e75c8=_0xdbbd13[_0x53c636(0x200)](getTestRunIdentifier,_0x3ca6da[_0x53c636(0x1e6)],_0x3ca6da[_0x53c636(0x2bb)][_0x53c636(0x1c5)]);logger[_0x53c636(0x20b)](_0x53c636(0x284)+_0x2e75c8);const _0x110e3c=_0x39fd16[_0x53c636(0x25d)]()[_0x53c636(0x22a)](_0x2e75c8),{[TestFrameworkConstants[_0x53c636(0x29a)]]:_0x27ac65='',[TestFrameworkConstants[_0x53c636(0x251)]]:_0x4c710b=''}=_0x110e3c,_0x220586={'platformIndex':'0','logs':_0x2f15a4,'testFrameworkName':_0x27ac65,'testFrameworkVersion':_0x4c710b,'testFrameworkState':_0x3a0d6d[_0x53c636(0x24a)]()[_0x53c636(0x260)]('.')[0x1]};_0xdbbd13[_0x53c636(0x27d)](updatePayloadForTraceLogs,_0x220586,_0x3ca6da,_0x2e75c8,_0x39fd16),logger[_0x53c636(0x20b)]('sendLogCreatedEvent\x20for\x20testId:\x20'+_0x2e75c8+'\x20payload='+util['inspect'](_0x220586));const _0x6eb72c=await GrpcClient[_0x53c636(0x234)]()[_0x53c636(0x2b5)](_0x220586);}}catch(_0x10609a){logger[_0x53c636(0x226)](_0x53c636(0x2a7)+util[_0x53c636(0x1c1)](_0x10609a));}}['createTestFrameworkEventPayload'](_0x3a7119){const _0x4d9c5d=a96_0x5bb4bd,_0x536cd0={'TWXTh':function(_0xb2f96b,_0x39376c,_0x5d1bc7){return _0xb2f96b(_0x39376c,_0x5d1bc7);},'FDNlw':function(_0x4be71f,_0x27ffc1){return _0x4be71f<_0x27ffc1;},'pTEuv':'base64'};try{const _0x51ac87=_0x3a7119['test']['id'],_0x5daa15=_0x536cd0[_0x4d9c5d(0x210)](getTestRunIdentifier,_0x3a7119['test'],_0x3a7119[_0x4d9c5d(0x2bb)]['retry']),_0x1ab755=_0x3a7119[_0x4d9c5d(0x27b)],_0x3be219=_0x1ab755['getContext'](),_0x3921e4=_0x1ab755[_0x4d9c5d(0x25d)]()[_0x4d9c5d(0x22a)](_0x5daa15);logger[_0x4d9c5d(0x20b)](_0x4d9c5d(0x1d2)+_0x51ac87);const {[TestFrameworkConstants[_0x4d9c5d(0x29a)]]:_0x38a318='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x4c8aac='',[TestFrameworkConstants[_0x4d9c5d(0x263)]]:_0x3d2a1b='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x2ee33e=''}=_0x3921e4,_0x24c207=_0x1ab755[_0x4d9c5d(0x1be)]()[_0x4d9c5d(0x24a)]()['split']('.')[0x1],_0x35168a=_0x1ab755[_0x4d9c5d(0x285)]()['toString']()[_0x4d9c5d(0x260)]('.')[0x1],_0x32fd93=_0x536cd0[_0x4d9c5d(0x24b)](_0x3a7119?.[_0x4d9c5d(0x2bb)]?.['parallelIndex']??0x0,0x0)?0x0:_0x3a7119?.[_0x4d9c5d(0x2bb)]?.[_0x4d9c5d(0x242)]??0x0,_0x4f7683=_0x1ab755[_0x4d9c5d(0x1d8)](),_0x37d04d=Buffer[_0x4d9c5d(0x1f2)](JSON[_0x4d9c5d(0x270)](_0x3921e4))[_0x4d9c5d(0x24a)](_0x536cd0[_0x4d9c5d(0x287)]),_0x32826b={'hash':_0x3be219['getId'](),'threadId':_0x3be219[_0x4d9c5d(0x27f)]()[_0x4d9c5d(0x24a)](),'processId':_0x3be219[_0x4d9c5d(0x21c)]()[_0x4d9c5d(0x24a)]()},_0x22ffcc={};_0x22ffcc[_0x4d9c5d(0x1f7)]=_0x32fd93,_0x22ffcc[_0x4d9c5d(0x247)]=_0x38a318,_0x22ffcc[_0x4d9c5d(0x1c8)]=_0x4c8aac,_0x22ffcc[_0x4d9c5d(0x2ba)]=_0x24c207,_0x22ffcc['hookState']=_0x35168a,_0x22ffcc['startedAt']=_0x3d2a1b,_0x22ffcc[_0x4d9c5d(0x28c)]=_0x2ee33e,_0x22ffcc['uuid']=_0x4f7683,_0x22ffcc[_0x4d9c5d(0x205)]=_0x37d04d,_0x22ffcc[_0x4d9c5d(0x27c)]=_0x32826b;const _0x2389d2=_0x22ffcc;return logger[_0x4d9c5d(0x20b)]('createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20'+_0x51ac87+_0x4d9c5d(0x281)+_0x24c207+_0x4d9c5d(0x2a9)+_0x35168a),_0x2389d2;}catch(_0x54fe10){return logger[_0x4d9c5d(0x226)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x4d9c5d(0x1c1)](_0x54fe10)),{};}}}module[a96_0x5bb4bd(0x1c3)]=PlaywrightTestFramework;
1
+ const a96_0x1b0677=a96_0x3bcb;(function(_0x55cade,_0x1ad983){const _0x3a8e38=a96_0x3bcb,_0x1f648e=_0x55cade();while(!![]){try{const _0x342e55=parseInt(_0x3a8e38(0x251))/0x1*(-parseInt(_0x3a8e38(0x19e))/0x2)+-parseInt(_0x3a8e38(0x1e4))/0x3*(-parseInt(_0x3a8e38(0x268))/0x4)+parseInt(_0x3a8e38(0x230))/0x5*(parseInt(_0x3a8e38(0x299))/0x6)+-parseInt(_0x3a8e38(0x1f6))/0x7+-parseInt(_0x3a8e38(0x1a1))/0x8*(-parseInt(_0x3a8e38(0x238))/0x9)+-parseInt(_0x3a8e38(0x275))/0xa+parseInt(_0x3a8e38(0x1e0))/0xb;if(_0x342e55===_0x1ad983)break;else _0x1f648e['push'](_0x1f648e['shift']());}catch(_0x2aabc3){_0x1f648e['push'](_0x1f648e['shift']());}}}(a96_0x475d,0xa43ea));const TestFramework=require(a96_0x1b0677(0x1a7)),TestFrameworkState=require(a96_0x1b0677(0x1a8)),HookState=require('../state/hookState.js'),{createClassLogger}=require(a96_0x1b0677(0x296)),TestFrameworkInstance=require(a96_0x1b0677(0x269)),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a96_0x1b0677(0x240)),TestFrameworkConstants=require(a96_0x1b0677(0x21e)),logger=createClassLogger(a96_0x1b0677(0x26c)),{v4:uuidv4}=require(a96_0x1b0677(0x207)),util=require(a96_0x1b0677(0x243)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a96_0x1b0677(0x297)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a96_0x1b0677(0x1da)),{removeAnsiColors,getFailureType,failureData}=require(a96_0x1b0677(0x1ff)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a96_0x1b0677(0x215)),{findNestedKey,sendTraceZip,validateFilePath}=require(a96_0x1b0677(0x215)),path=require(a96_0x1b0677(0x27c)),fs=require('fs'),helper=require(a96_0x1b0677(0x24a)),{PLAYWRIGHT_TRACE_LOGS}=require(a96_0x1b0677(0x1d4)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a96_0x1b0677(0x298),a96_0x1b0677(0x1f8),'slow','fail']);class PlaywrightTestFramework extends TestFramework{constructor(_0x1cf3c1,_0x57ab34,_0x5f0c72){super(_0x1cf3c1,_0x57ab34,_0x5f0c72);}async[a96_0x1b0677(0x1ad)](_0x176f22,_0x55e898,_0x1b8254={}){const _0x210743=a96_0x1b0677,_0x410e1c={'HCwtE':function(_0x4bc147,_0x1f2952){return _0x4bc147===_0x1f2952;},'DbuJV':function(_0x35b447,_0x151674){return _0x35b447===_0x151674;},'rYUoA':function(_0x176930,_0x170db2,_0x1bee7e){return _0x176930(_0x170db2,_0x1bee7e);},'sdMLy':function(_0x586dde,_0x5e1bfe){return _0x586dde===_0x5e1bfe;},'MYMGC':function(_0x46cd2b,_0x21edf9){return _0x46cd2b===_0x21edf9;},'duEpw':function(_0x2ef656,_0xe4496b,_0x5a344d){return _0x2ef656(_0xe4496b,_0x5a344d);},'FGiKm':function(_0x1229ff,_0x4affab,_0x116a4d,_0x3690e8){return _0x1229ff(_0x4affab,_0x116a4d,_0x3690e8);},'giIaP':_0x210743(0x1cd),'PBZfw':_0x210743(0x1d6)};super[_0x210743(0x1ad)](_0x176f22,_0x55e898,_0x1b8254);if(_0x410e1c[_0x210743(0x1f5)](_0x176f22,TestFrameworkState[_0x210743(0x1af)])){const _0x4881b5=TestInfo[_0x210743(0x1db)](_0x1b8254[_0x210743(0x1cd)],_0x1b8254[_0x210743(0x1cd)]['retry']);TestInfo[_0x210743(0x216)](_0x4881b5,_0x1b8254[_0x210743(0x226)],!![]);}if(_0x410e1c[_0x210743(0x1f5)](_0x176f22,TestFrameworkState[_0x210743(0x233)])){this[_0x210743(0x1f7)](_0x176f22,_0x55e898,_0x1b8254);return;}const _0xb28271=this[_0x210743(0x235)](_0x176f22,_0x55e898,_0x1b8254);if(!_0xb28271)return;logger['debug'](_0x210743(0x256)+_0x176f22+'\x20hookState='+_0x55e898+'\x20instanceId='+_0xb28271[_0x210743(0x2a0)]());try{if(_0x410e1c['DbuJV'](_0x55e898,HookState[_0x210743(0x232)])&&_0x410e1c['DbuJV'](_0x176f22,TestFrameworkState['TEST'])){const _0x1858f6=_0x1b8254['test'];logger['debug']('trackEvent\x20loading\x20testData\x20for\x20testId:\x20'+_0x1858f6['id']+'}');const _0x2cb6e0=TestInfo[_0x210743(0x1e9)](_0x410e1c['rYUoA'](getTestRunIdentifier,_0x1858f6,_0x1b8254[_0x210743(0x226)][_0x210743(0x1b0)]));_0xb28271[_0x210743(0x23e)](this[_0x210743(0x200)](_0x2cb6e0,_0x1858f6,_0x1b8254[_0x210743(0x226)])),logger[_0x210743(0x22f)](_0x210743(0x1c9)+_0x1858f6['id']+',\x20testFrameworkState='+_0x176f22+_0x210743(0x19c)+_0x55e898+_0x210743(0x196)+_0xb28271[_0x210743(0x2a0)]());}if(_0x410e1c['sdMLy'](_0x55e898,HookState['POST'])&&_0x410e1c[_0x210743(0x1a9)](_0x176f22,TestFrameworkState['TEST'])){const _0x5b9b66=_0x1b8254[_0x210743(0x1cd)],_0x2e7423=_0x1b8254[_0x210743(0x226)];logger[_0x210743(0x22f)](_0x210743(0x260)+_0x5b9b66['id']);const _0x42f957=_0x410e1c[_0x210743(0x1d1)](getTestRunIdentifier,_0x5b9b66,_0x2e7423[_0x210743(0x1b0)]),_0x1868be=_0xb28271[_0x210743(0x1df)]()['get'](_0x42f957)[TestFrameworkConstants[_0x210743(0x27b)]],{steps:_0x2316c8,logs:_0x15e45a}=_0x410e1c[_0x210743(0x198)](getStepsAndLogs,_0x2e7423[_0x210743(0x289)],_0x1868be,_0x410e1c[_0x210743(0x1c6)]);_0xb28271[_0x210743(0x23e)](this[_0x210743(0x25f)](_0x5b9b66['id'],_0x2e7423,_0x5b9b66,_0x2316c8)),await this['sendLogCreatedEvent'](_0xb28271,_0x176f22,_0x55e898,_0x410e1c['giIaP'],_0x1b8254,_0x15e45a);}if(CLIUtils[_0x210743(0x1b6)](_0x176f22[_0x210743(0x274)]()[_0x210743(0x1c7)]('.')[0x1])){const _0x5c7a35=await this['trackHookEvent'](_0xb28271,_0x176f22,_0x55e898,_0x1b8254);_0xb28271[_0x210743(0x23e)](_0x5c7a35);}}catch(_0xd47dcd){logger[_0x210743(0x1fb)](util[_0x210743(0x1cb)](_0x410e1c['PBZfw'],_0x176f22,_0x55e898,_0x1b8254[_0x210743(0x1b4)],_0xd47dcd));}_0x1b8254[_0x210743(0x210)]=_0xb28271,await this['runHooks'](_0xb28271,_0x176f22,_0x55e898,_0x1b8254);}[a96_0x1b0677(0x235)](_0x3eb616,_0x3b5710,_0x35f913={}){const _0x5d8e21=a96_0x1b0677,_0x501a59={};_0x501a59['rxUmm']=function(_0x2e7ade,_0x4ead6b){return _0x2e7ade===_0x4ead6b;},_0x501a59['WHMYL']=function(_0x2b36de,_0x5d0c86){return _0x2b36de===_0x5d0c86;};const _0x498bbd=_0x501a59;let _0x3cef56=null;return(_0x498bbd[_0x5d8e21(0x227)](_0x3eb616,TestFrameworkState[_0x5d8e21(0x23f)])||_0x498bbd[_0x5d8e21(0x1f2)](_0x3eb616,TestFrameworkState[_0x5d8e21(0x278)]))&&this[_0x5d8e21(0x1ea)](_0x3eb616,_0x35f913),_0x3cef56=TestFramework[_0x5d8e21(0x254)](),_0x3cef56;}[a96_0x1b0677(0x1ea)](_0x300aea,_0x8f9fac){const _0x3b0816=a96_0x1b0677,_0x456fc4=CLIUtils[_0x3b0816(0x203)](),_0x2836a7=TrackedInstance['createContext'](_0x456fc4);let _0x9a8b33=null;logger[_0x3b0816(0x218)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0x456fc4+_0x3b0816(0x25e)+_0x300aea),_0x9a8b33=new TestFrameworkInstance(_0x2836a7,this[_0x3b0816(0x26e)](),this[_0x3b0816(0x26b)](),_0x300aea,HookState[_0x3b0816(0x278)]),TestFramework[_0x3b0816(0x265)](_0x2836a7,_0x9a8b33),logger['info']('trackPlaywrightInstance:\x20saved\x20instance\x20contextId='+_0x2836a7[_0x3b0816(0x19a)]()+_0x3b0816(0x220)+_0x456fc4);}['parsePlaywrightTest'](_0xee3a9,_0x5b5e3d,_0x55f8f4){const _0x4811b3=a96_0x1b0677,_0x3069e1={'qWBZI':function(_0x7d76c7,_0x2ef53e){return _0x7d76c7(_0x2ef53e);},'amHZi':function(_0x4a3902,_0x5eeb0d){return _0x4a3902(_0x5eeb0d);},'TvBOL':function(_0x56dfd7,_0x493efe){return _0x56dfd7(_0x493efe);},'OsSKQ':function(_0x412e32,_0x4f0700){return _0x412e32(_0x4f0700);},'gLRAB':function(_0x26d91a,_0xe082dc){return _0x26d91a(_0xe082dc);},'jLaUm':function(_0x3f9fb4,_0x1099b7,_0x39ed87){return _0x3f9fb4(_0x1099b7,_0x39ed87);}},_0x3b9ba7=_0x3069e1[_0x4811b3(0x241)](getPlaywrightTestId,_0x5b5e3d),_0x3579c8=_0x3069e1[_0x4811b3(0x241)](getPlaywrightTestTitle,_0x5b5e3d),_0x252be4=_0x3069e1['amHZi'](getTestTags,_0x5b5e3d),_0x29bbe9=_0x3069e1[_0x4811b3(0x23d)](getPlaywrightTestCode,_0x5b5e3d),_0x55c5cc=_0x3069e1[_0x4811b3(0x241)](getPlaywrightTestFilePath,_0x5b5e3d),_0x14f6d9=_0x55c5cc,_0x326832=_0x3069e1[_0x4811b3(0x290)](getPlaywrightTestScope,_0x5b5e3d),_0xef472=_0x3069e1[_0x4811b3(0x23d)](getPlaywrightTestScopes,_0x5b5e3d),_0x4a067a=_0x3069e1[_0x4811b3(0x252)](getPlaywrightSessionName,_0x5b5e3d),_0x4efb4c=this[_0x4811b3(0x26e)]()[0x0],_0x5db591=_0x3069e1['jLaUm'](getTestRunIdentifier,_0x5b5e3d,_0x55f8f4['retry']),_0x3f4ae9={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x4efb4c,[TestFrameworkConstants[_0x4811b3(0x258)]]:this['getTestFrameworksVersions']()[_0x4efb4c],[TestFrameworkConstants[_0x4811b3(0x292)]]:[],[TestFrameworkConstants[_0x4811b3(0x229)]]:{},[TestFrameworkConstants[_0x4811b3(0x1bc)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0xee3a9,[TestFrameworkConstants[_0x4811b3(0x29a)]]:TestFrameworkConstants['DEFAULT_TEST_RESULT'],[TestFrameworkConstants[_0x4811b3(0x261)]]:_0x4a067a,[TestFrameworkConstants[_0x4811b3(0x280)]]:_0x55c5cc,[TestFrameworkConstants[_0x4811b3(0x19d)]]:_0x3b9ba7,[TestFrameworkConstants[_0x4811b3(0x27e)]]:_0x3579c8,[TestFrameworkConstants[_0x4811b3(0x1d3)]]:_0x14f6d9,[TestFrameworkConstants['KEY_TEST_CODE']]:_0x29bbe9,[TestFrameworkConstants[_0x4811b3(0x267)]]:_0x252be4,[TestFrameworkConstants[_0x4811b3(0x21a)]]:_0x5b5e3d[_0x4811b3(0x242)][0x0][_0x4811b3(0x262)],[TestFrameworkConstants[_0x4811b3(0x1a2)]]:_0x326832,[TestFrameworkConstants['KEY_TEST_SCOPES']]:_0xef472,[TestFrameworkConstants[_0x4811b3(0x1c8)]]:_0x3069e1[_0x4811b3(0x241)](getPlaywrightCustomRerunParam,_0x5b5e3d)};TestInfo['setTestDetails'](_0x5db591,_0x3f4ae9);const _0x57514e={};return _0x57514e[_0x5db591]=_0x3f4ae9,_0x57514e;}[a96_0x1b0677(0x25f)](_0x29f55f,_0x1ef496,_0xcf7d3f,_0x330c95){const _0x5227ef=a96_0x1b0677,_0xa90226={'aLqHB':function(_0x6a04d6,_0xc3042e){return _0x6a04d6(_0xc3042e);},'mXKyL':_0x5227ef(0x1c2),'YjMbt':function(_0x976eac,_0x4395f7){return _0x976eac===_0x4395f7;},'EOLYn':function(_0x1d2fe5,_0x5abe8f){return _0x1d2fe5(_0x5abe8f);},'lnIgN':'No\x20reason\x20provided','VCReO':function(_0x314dfa,_0x4f30bf,_0x4be58c){return _0x314dfa(_0x4f30bf,_0x4be58c);},'wqrCS':function(_0x582a6b,_0x492d41){return _0x582a6b===_0x492d41;},'IqZxO':_0x5227ef(0x1fe),'dZxfR':'passed','DplMt':function(_0x146764,_0x4df94b){return _0x146764===_0x4df94b;},'GZGpT':_0x5227ef(0x282),'BdpxQ':'timedOut','tHNSd':_0x5227ef(0x1a5),'mujTQ':function(_0x368e5a,_0x457bad,_0xe6b3ab){return _0x368e5a(_0x457bad,_0xe6b3ab);},'QsKVq':function(_0x22557e,_0x1d472e){return _0x22557e||_0x1d472e;},'VjFyL':function(_0x3ff364,_0x527178){return _0x3ff364(_0x527178);},'UqqJk':function(_0x113974,_0x1ad543){return _0x113974(_0x1ad543);},'Ramew':function(_0x30a610,_0x209f77){return _0x30a610>_0x209f77;},'jnMMH':function(_0x3b70aa,_0x7c963f,_0x2008e1){return _0x3b70aa(_0x7c963f,_0x2008e1);},'NdWBW':function(_0x597ae1,_0x37671e){return _0x597ae1-_0x37671e;},'JjChP':function(_0x54e29b,_0x3a588a,_0xd398ba,_0x412567){return _0x54e29b(_0x3a588a,_0xd398ba,_0x412567);},'WqUpr':'test','fVtqd':function(_0x384914,_0x44f206){return _0x384914===_0x44f206;},'PKYzt':function(_0x373ccb,_0x59a8e3){return _0x373ccb>=_0x59a8e3;},'TQHfz':function(_0x301664,_0x27915c){return _0x301664+_0x27915c;},'baMBS':function(_0x392f68,_0x508553,_0x73e672){return _0x392f68(_0x508553,_0x73e672);},'NWxJq':_0x5227ef(0x27c),'mZMAq':function(_0xfe12ce,_0x34f1b8){return _0xfe12ce(_0x34f1b8);},'KHSzj':function(_0x4b36a6,_0x1b45b3){return _0x4b36a6>_0x1b45b3;},'PoNTq':function(_0x19aeee,_0x5bb4d4,_0x150843){return _0x19aeee(_0x5bb4d4,_0x150843);},'HgCYA':function(_0x3e3a20,_0x49390d){return _0x3e3a20(_0x49390d);},'vUDBe':_0x5227ef(0x23b)};logger['debug'](_0x5227ef(0x287)+_0x29f55f);const _0x19a086=_0xa90226[_0x5227ef(0x1ca)](getTestRunIdentifier,_0xcf7d3f,_0x1ef496[_0x5227ef(0x1b0)]),_0x2cbca5=new Date(),_0x540741=_0x1ef496[_0x5227ef(0x199)],_0xb52f26=TestInfo['getTestDetails'](_0x19a086)[TestFrameworkConstants['KEY_CUSTOM_TAGS']]||{};let _0x13e110=_0x540741;if(_0xa90226[_0x5227ef(0x20b)](_0x1ef496[_0x5227ef(0x199)],_0xcf7d3f['expectedStatus']))_0x13e110=_0xa90226[_0x5227ef(0x223)](_0x1ef496[_0x5227ef(0x199)],_0xa90226[_0x5227ef(0x1e6)])?_0xa90226[_0x5227ef(0x1e6)]:_0xa90226[_0x5227ef(0x24c)];else{(_0xa90226[_0x5227ef(0x273)](_0x13e110,_0xa90226[_0x5227ef(0x24c)])||_0xa90226[_0x5227ef(0x223)](_0x13e110,_0xa90226['GZGpT'])||_0xa90226[_0x5227ef(0x223)](_0x13e110,_0xa90226[_0x5227ef(0x209)]))&&(_0x13e110=_0xa90226[_0x5227ef(0x281)]);if(_0xa90226[_0x5227ef(0x20b)](_0x1ef496['status'],_0xa90226[_0x5227ef(0x24c)])&&_0xa90226[_0x5227ef(0x20b)](_0xcf7d3f['expectedStatus'],_0xa90226['GZGpT'])){const _0x29fc01={};_0x29fc01[_0x5227ef(0x214)]=_0xa90226[_0x5227ef(0x29c)],_0x29fc01['stack']=_0xa90226[_0x5227ef(0x29c)],_0x1ef496['error']=_0x29fc01,_0x1ef496[_0x5227ef(0x236)]=[_0x1ef496[_0x5227ef(0x1fb)]];}}const {failureData:_0x4ed340,logs:_0x3cbc52}=_0xa90226['mujTQ'](getFailureData,_0x1ef496?.[_0x5227ef(0x236)],{}),_0x3600a3={[TestFrameworkConstants[_0x5227ef(0x208)]]:_0xa90226['QsKVq'](_0x4ed340,null),[TestFrameworkConstants[_0x5227ef(0x24f)]]:_0x1ef496?.['error']&&_0xa90226[_0x5227ef(0x291)](getFailureType,_0x1ef496[_0x5227ef(0x1fb)][_0x5227ef(0x214)]),[TestFrameworkConstants['KEY_TEST_FAILURE_REASON']]:_0x1ef496?.['error']&&_0xa90226[_0x5227ef(0x25d)](removeAnsiColors,_0x1ef496['error'][_0x5227ef(0x214)]),[TestFrameworkConstants[_0x5227ef(0x1d2)]]:[],[TestFrameworkConstants[_0x5227ef(0x29a)]]:_0x13e110,[TestFrameworkConstants[_0x5227ef(0x25b)]]:_0x2cbca5[_0x5227ef(0x237)](),[TestFrameworkConstants[_0x5227ef(0x219)]]:new Date()['toISOString'](),[TestFrameworkConstants[_0x5227ef(0x284)]]:_0xb52f26};if(_0x1ef496&&_0xa90226[_0x5227ef(0x1fc)](_0x1ef496[_0x5227ef(0x1b0)],0x0)){const _0x286553=TestInfo[_0x5227ef(0x1e9)](_0xa90226[_0x5227ef(0x1ed)](getTestRunIdentifier,_0xcf7d3f,_0xa90226['NdWBW'](_0x1ef496[_0x5227ef(0x1b0)],0x1)));_0x3600a3[TestFrameworkConstants[_0x5227ef(0x29e)]]=_0x286553;}const _0x5b7dcd={};_0x5b7dcd[_0x5227ef(0x1cd)]=_0xcf7d3f;const _0x5bb441=this[_0x5227ef(0x235)](TestFrameworkState[_0x5227ef(0x1ee)],HookState[_0x5227ef(0x1a4)],_0x5b7dcd),_0x23582c=_0x5bb441['getAllData']()['get'](_0x19a086)[TestFrameworkConstants[_0x5227ef(0x27b)]],_0x54b410=_0x330c95||_0xa90226[_0x5227ef(0x25c)](getStepsAndLogs,_0x1ef496[_0x5227ef(0x289)],_0x23582c,_0xa90226[_0x5227ef(0x20c)])['steps'],_0x177848=new Map(),_0x9ebd61=new Map();let _0x482f01=0x0;const _0x27b80b=[];for(const _0x5391b9 of _0x54b410||[]){const _0x1acd24=_0x5391b9[_0x5227ef(0x26d)]||null;let _0x2032c7;if(_0xa90226[_0x5227ef(0x20f)](_0x1acd24,null)){if(_0xa90226[_0x5227ef(0x221)](_0x482f01,TestFrameworkConstants[_0x5227ef(0x21b)]))continue;_0x2032c7=0x0,_0x482f01++;}else{const _0x31ecc3=_0x177848[_0x5227ef(0x1b5)](_0x1acd24);if(_0xa90226[_0x5227ef(0x20f)](_0x31ecc3,undefined))continue;_0x2032c7=_0xa90226[_0x5227ef(0x1a6)](_0x31ecc3,0x1);if(_0xa90226[_0x5227ef(0x1fc)](_0x2032c7,TestFrameworkConstants[_0x5227ef(0x1c4)]))continue;}_0x177848[_0x5227ef(0x1b9)](_0x5391b9['id'],_0x2032c7),_0x9ebd61[_0x5227ef(0x1b9)](_0x5391b9['id'],_0x5391b9[_0x5227ef(0x197)]),_0x27b80b[_0x5227ef(0x1a3)]({'id':_0x5391b9['id'],'parent_id':_0x1acd24,'parent_text':_0x1acd24?_0x9ebd61['get'](_0x1acd24)||'':'','text':_0x5391b9[_0x5227ef(0x197)],'keyword':_0x5391b9[_0x5227ef(0x1bb)]||null,'started_at':_0x5391b9['started_at'],'duration':_0x5391b9[_0x5227ef(0x1b8)]??null,'result':_0x5391b9[_0x5227ef(0x226)],'failure':_0x5391b9[_0x5227ef(0x22a)]||null,'failure_type':_0x5391b9[_0x5227ef(0x247)]||null});}const _0x250379={};_0x250379[_0x5227ef(0x289)]=_0x27b80b,_0x3600a3[TestFrameworkConstants[_0x5227ef(0x23a)]]=_0x250379,logger[_0x5227ef(0x22f)](_0x5227ef(0x1fd)+_0x27b80b[_0x5227ef(0x1b4)]+_0x5227ef(0x224)+_0x29f55f);const _0xe8c90d=[],_0x51020c=_0xa90226[_0x5227ef(0x20d)](findNestedKey,_0x1ef496,_0xa90226[_0x5227ef(0x1d7)]);if(_0x51020c&&_0xa90226[_0x5227ef(0x245)](validateFilePath,_0x51020c))try{_0xe8c90d[_0x5227ef(0x1a3)]({'kind':_0xa90226['mXKyL'],'timestamp':new Date()['toISOString'](),'test_run_uuid':_0x23582c,'file_name':path[_0x5227ef(0x246)](_0x51020c),'file_size':fs[_0x5227ef(0x255)](_0x51020c)[_0x5227ef(0x1e2)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1013b7){logger[_0x5227ef(0x1fb)]('Error\x20processing\x20direct\x20trace\x20file\x20'+_0x51020c+':\x20'+_0x1013b7[_0x5227ef(0x214)]);}const _0x4ad1ce=TestInfo[_0x5227ef(0x249)](),_0x3d2ceb=_0x4ad1ce[_0x5227ef(0x22b)](_0x4ba6f4=>_0x4ba6f4[_0x5227ef(0x1d9)]===_0x23582c);_0x3d2ceb[_0x5227ef(0x239)](_0x5a4def=>{const _0x2681a1=_0x5227ef;if(_0x5a4def[_0x2681a1(0x1c3)]&&_0xa90226[_0x2681a1(0x1e1)](validateFilePath,_0x5a4def['filePath'])&&!_0xe8c90d[_0x2681a1(0x253)](_0x7a367b=>_0x7a367b['file_name']===path[_0x2681a1(0x246)](_0x5a4def[_0x2681a1(0x1c3)])))try{_0xe8c90d[_0x2681a1(0x1a3)]({'kind':_0xa90226[_0x2681a1(0x28b)],'timestamp':new Date()[_0x2681a1(0x237)](),'test_run_uuid':_0x23582c,'file_name':path[_0x2681a1(0x246)](_0x5a4def['filePath']),'file_size':fs[_0x2681a1(0x255)](_0x5a4def[_0x2681a1(0x1c3)])[_0x2681a1(0x1e2)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4f8400){logger[_0x2681a1(0x1fb)](_0x2681a1(0x1aa)+_0x5a4def['filePath']+_0x2681a1(0x286)+_0x4f8400[_0x2681a1(0x214)]);}});if(_0xa90226[_0x5227ef(0x28e)](_0xe8c90d[_0x5227ef(0x1b4)],0x0)){const _0x5520f8=_0x3600a3[TestFrameworkConstants[_0x5227ef(0x1d2)]]||[];_0x3600a3[TestFrameworkConstants[_0x5227ef(0x1d2)]]=[..._0x5520f8,..._0xe8c90d];}const _0x4cc5a1=TestInfo[_0x5227ef(0x26a)](_0x19a086)[TestFrameworkConstants[_0x5227ef(0x277)]]||{},_0x4a95d0=_0xa90226['PoNTq'](getManualUploadLogs,_0x4cc5a1,_0x5bb441['getAllData']()[_0x5227ef(0x1b5)](_0x19a086)[TestFrameworkConstants[_0x5227ef(0x27b)]]);if(_0xa90226[_0x5227ef(0x1fc)](_0x4a95d0[_0x5227ef(0x1b4)],0x0)){const _0x1c377a=_0x3600a3[TestFrameworkConstants[_0x5227ef(0x1d2)]]||[];_0x3600a3[TestFrameworkConstants[_0x5227ef(0x1d2)]]=[..._0x1c377a,..._0x4a95d0];}const _0x545fef=_0xcf7d3f[_0x5227ef(0x259)]||[],_0x4d3562=_0x3600a3[TestFrameworkConstants[_0x5227ef(0x284)]]||{},_0x1162d0=_0xa90226[_0x5227ef(0x23c)](require,_0xa90226[_0x5227ef(0x1c5)]);_0x545fef[_0x5227ef(0x239)](_0x518e1e=>{const _0x42eebb=_0x5227ef,{type:_0x13406d}=_0x518e1e;let _0x509606=_0x518e1e[_0x42eebb(0x288)];if(!_0x13406d)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x42eebb(0x1f1)](_0x13406d))return;(_0xa90226[_0x42eebb(0x223)](_0x509606,undefined)||_0xa90226[_0x42eebb(0x223)](_0x509606,null)||_0xa90226[_0x42eebb(0x223)](_0xa90226[_0x42eebb(0x21d)](String,_0x509606)[_0x42eebb(0x1b2)](),''))&&(_0x509606=_0xa90226[_0x42eebb(0x264)]);const _0x4bb0e0=helper[_0x42eebb(0x1ab)](_0xa90226[_0x42eebb(0x1e1)](String,_0x509606));_0x1162d0[_0x42eebb(0x26f)](_0x4d3562,_0x13406d,_0x4bb0e0);}),_0x3600a3[TestFrameworkConstants[_0x5227ef(0x284)]]=_0x4d3562,TestInfo['setTestDetails'](_0x19a086,_0x3600a3);const _0x7da769={};return _0x7da769[_0x19a086]=_0x3600a3,_0x7da769;}[a96_0x1b0677(0x1f7)](_0x18da4b,_0x580a91,_0x4e9c71){const _0x37d0db=a96_0x1b0677,_0x4c2e02={'VCMIQ':function(_0x44b580,_0x4bf7d9){return _0x44b580||_0x4bf7d9;},'cYbft':function(_0x330da0,_0x11d9bb,_0x573d75){return _0x330da0(_0x11d9bb,_0x573d75);}};try{const {test:_0x341151,result:_0x1a31da,step:_0x25506d}=_0x4e9c71;if(_0x4c2e02[_0x37d0db(0x1e5)](!_0x341151,!_0x25506d)||!_0x1a31da)return;const _0x58891d=_0x4c2e02[_0x37d0db(0x1ae)](getTestRunIdentifier,_0x341151,_0x1a31da['retry']);logger[_0x37d0db(0x22f)]('trackStepEvent:\x20testId='+_0x58891d+'\x20hookState='+_0x580a91+_0x37d0db(0x28a)+_0x25506d[_0x37d0db(0x28d)]+'\x22');}catch(_0x3cf32c){logger[_0x37d0db(0x1fb)](_0x37d0db(0x1cc)+util[_0x37d0db(0x1cb)](_0x3cf32c));}}async[a96_0x1b0677(0x21c)](_0x3b1513,_0x2e61e1,_0x1ef146,_0x8cd6f7){const _0x5c12a1=a96_0x1b0677,_0x15cf0a={'akpvT':function(_0x33322d,_0x38ca61,_0x4d751b){return _0x33322d(_0x38ca61,_0x4d751b);},'HhfzO':function(_0x3cce56,_0x11f5bc){return _0x3cce56 in _0x11f5bc;},'eMTkj':function(_0x4321d5,_0x2f7d61){return _0x4321d5 in _0x2f7d61;},'jowHj':function(_0x4f65f0,_0x4d9596){return _0x4f65f0(_0x4d9596);},'yXVMR':function(_0x201eb2,_0x1ee313){return _0x201eb2===_0x1ee313;},'bWoFN':function(_0x2b4477){return _0x2b4477();},'aqLbc':function(_0x4027fe,_0x220e88){return _0x4027fe===_0x220e88;},'KaZbq':function(_0x153aab,_0x55bca8){return _0x153aab>_0x55bca8;},'OpDHq':function(_0x44e87d,_0x37bfa7,_0x2b9dd6){return _0x44e87d(_0x37bfa7,_0x2b9dd6);},'TaWVx':_0x5c12a1(0x1dd),'ZXIUw':function(_0xb3d2c1,_0x138354){return _0xb3d2c1(_0x138354);},'IkfMW':_0x5c12a1(0x282),'mTZGL':'passed','hztfr':function(_0x5639e5,_0x137daa){return _0x5639e5!==_0x137daa;},'oseUB':function(_0x25c169,_0x5924f7){return _0x25c169+_0x5924f7;},'fpMqn':_0x5c12a1(0x24b)},_0xe7ffd1=_0x8cd6f7[_0x5c12a1(0x1cd)],_0x5bbc55=_0x8cd6f7[_0x5c12a1(0x271)],_0x2612d1=_0x15cf0a[_0x5c12a1(0x1ec)](getTestRunIdentifier,_0xe7ffd1,_0x8cd6f7[_0x5c12a1(0x226)][_0x5c12a1(0x1b0)]),_0x4ee7d4=_0x2e61e1[_0x5c12a1(0x274)]()[_0x5c12a1(0x1c7)]('.')[0x1];let _0x28b9c1=_0x3b1513['getAllData']()['get'](_0x2612d1)[TestFrameworkConstants[_0x5c12a1(0x1bc)]];!_0x28b9c1&&(_0x28b9c1={});!_0x15cf0a['HhfzO'](_0x4ee7d4,_0x28b9c1)&&(_0x28b9c1[_0x4ee7d4]=[]);let _0x311afd=_0x3b1513[_0x5c12a1(0x1df)]()[_0x5c12a1(0x1b5)](_0x2612d1)[TestFrameworkConstants[_0x5c12a1(0x229)]];!_0x311afd&&(_0x311afd={});!_0x15cf0a[_0x5c12a1(0x27f)](_0x4ee7d4,_0x311afd)&&(_0x311afd[_0x4ee7d4]=[]);const _0x5b01ad={[TestFrameworkConstants[_0x5c12a1(0x1bc)]]:_0x28b9c1,[TestFrameworkConstants[_0x5c12a1(0x229)]]:_0x311afd},_0x40939a={};_0x40939a[_0x2612d1]=_0x5b01ad;const _0x5b5b41=_0x40939a,_0x379aa9=_0x15cf0a[_0x5c12a1(0x29f)](getPlaywrightTestFilePath,_0xe7ffd1),_0x34b669=_0x379aa9,_0x1a8955=TestInfo[_0x5c12a1(0x26a)](_0x2612d1)[TestFrameworkConstants[_0x5c12a1(0x284)]]||{};if(_0x15cf0a['yXVMR'](_0x1ef146,HookState[_0x5c12a1(0x232)])){const _0x339a67={'key':_0x4ee7d4,[TestFrameworkConstants[_0x5c12a1(0x19b)]]:_0x15cf0a[_0x5c12a1(0x202)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x5c12a1(0x234)],[TestFrameworkConstants['KEY_EVENT_STARTED_AT']]:_0x5bbc55['startTime'],[TestFrameworkConstants[_0x5c12a1(0x270)]]:[],[TestFrameworkConstants[_0x5c12a1(0x248)]]:_0x5bbc55[_0x5c12a1(0x28d)],[TestFrameworkConstants[_0x5c12a1(0x280)]]:_0x379aa9,[TestFrameworkConstants[_0x5c12a1(0x1d3)]]:_0x34b669,[TestFrameworkConstants[_0x5c12a1(0x284)]]:_0x1a8955};_0x28b9c1[_0x4ee7d4][_0x5c12a1(0x1a3)](_0x339a67),_0x5b5b41[_0x2612d1][TestFrameworkConstants[_0x5c12a1(0x1ef)]]=_0x4ee7d4,logger[_0x5c12a1(0x22f)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x4ee7d4+_0x5c12a1(0x1f3)+_0x339a67+_0x5c12a1(0x1bd)+_0x8cd6f7);}else{if(_0x15cf0a[_0x5c12a1(0x1f0)](_0x1ef146,HookState[_0x5c12a1(0x1a4)])){const _0xa5f0ac=await _0x8cd6f7[_0x5c12a1(0x226)],_0x2facfa=_0x28b9c1[_0x4ee7d4]||[],_0x49ab4f=_0x8cd6f7[_0x5c12a1(0x271)];logger['debug'](_0x5c12a1(0x1b7)+_0x2facfa+_0x5c12a1(0x28f)+_0x8cd6f7);if(_0x15cf0a['KaZbq'](_0x2facfa[_0x5c12a1(0x1b4)],0x0)){const _0x1feb8b=_0x2facfa[_0x5c12a1(0x211)]();if(_0x49ab4f[_0x5c12a1(0x1fb)]){const _0x320f40=_0x15cf0a[_0x5c12a1(0x228)](failureData,_0x49ab4f[_0x5c12a1(0x1fb)],_0x15cf0a[_0x5c12a1(0x283)]);_0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x24d)]]=_0x15cf0a[_0x5c12a1(0x204)](getFailureType,_0x49ab4f?.[_0x5c12a1(0x1fb)][_0x5c12a1(0x214)]),_0x1feb8b[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x15cf0a[_0x5c12a1(0x29f)](removeAnsiColors,_0x49ab4f?.[_0x5c12a1(0x1fb)]['message']),_0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x1bf)]]=_0x15cf0a[_0x5c12a1(0x266)],_0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x1ba)]]=_0x320f40;}else _0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x1bf)]]=_0x15cf0a['mTZGL'];_0x15cf0a[_0x5c12a1(0x1c0)](_0xa5f0ac,TestFrameworkConstants[_0x5c12a1(0x234)])&&(_0x1feb8b[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0x49ab4f[_0x5c12a1(0x1fb)]?_0x15cf0a[_0x5c12a1(0x22d)]:_0x15cf0a[_0x5c12a1(0x266)]);const _0x4a4164=new Date(_0x49ab4f[_0x5c12a1(0x262)]),_0x41f727=new Date(_0x15cf0a[_0x5c12a1(0x22e)](_0x4a4164[_0x5c12a1(0x244)](),_0x49ab4f['duration']));_0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x1de)]]=_0x41f727[_0x5c12a1(0x237)](),_0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x284)]]=_0x1a8955;const _0x217b14=_0x1feb8b[TestFrameworkConstants[_0x5c12a1(0x19b)]];await this[_0x5c12a1(0x1a0)](_0x3b1513,_0x2e61e1,_0x217b14,_0x15cf0a[_0x5c12a1(0x279)],_0x8cd6f7),!_0x311afd[_0x4ee7d4]&&(_0x311afd[_0x4ee7d4]=[]),_0x311afd[_0x4ee7d4][_0x5c12a1(0x1a3)](_0x1feb8b),_0x5b5b41[_0x2612d1][TestFrameworkConstants[_0x5c12a1(0x285)]]=_0x4ee7d4;}}}return _0x5b5b41;}async[a96_0x1b0677(0x1a0)](_0x554afb,_0x4113da,_0x5a0415,_0x5b9796,_0x3abd83,_0x4e4a54){const _0x29692f=a96_0x1b0677,_0x172df0={'XXHzu':function(_0x4cee19,_0x54080e){return _0x4cee19===_0x54080e;},'XqCLB':_0x29692f(0x1cd),'JQrni':function(_0x4921f3,_0x43e28c,_0x206078){return _0x4921f3(_0x43e28c,_0x206078);},'rlGdE':function(_0x4b5257,_0x558104,_0x25e0e4){return _0x4b5257(_0x558104,_0x25e0e4);},'vSwma':_0x29692f(0x1e3),'PSDFq':function(_0x51d935,_0x199216,_0x330e5e,_0x36e41e){return _0x51d935(_0x199216,_0x330e5e,_0x36e41e);},'kTGkU':function(_0x23bf92,_0x45a26b){return _0x23bf92/_0x45a26b;},'wIUtn':function(_0x2e7221,_0x2f7c10){return _0x2e7221<_0x2f7c10;},'Kfbqn':function(_0x297fa6,_0x16c598){return _0x297fa6*_0x16c598;},'PBXoD':function(_0x54ed66,_0x58ab3d){return _0x54ed66+_0x58ab3d;},'tMgUE':function(_0x28dda5,_0x3e9285,_0x5ebd5c,_0x121015,_0x35f763){return _0x28dda5(_0x3e9285,_0x5ebd5c,_0x121015,_0x35f763);},'KqpgE':function(_0x3a58fc,_0x7b3b21){return _0x3a58fc+_0x7b3b21;},'lVqlH':'hook'};try{if(_0x172df0['XXHzu'](_0x5b9796,_0x172df0[_0x29692f(0x1cf)])){const _0x5de09a=await _0x3abd83[_0x29692f(0x226)],_0x4f57c5=_0x172df0[_0x29692f(0x213)](getTestRunIdentifier,_0x3abd83[_0x29692f(0x1cd)],_0x3abd83[_0x29692f(0x226)][_0x29692f(0x1b0)]),_0x253ffe=_0x3abd83[_0x29692f(0x1cd)];logger['debug'](_0x29692f(0x212)+_0x4f57c5+_0x29692f(0x1e8)+util['inspect'](_0x5de09a));const _0x2aa61d=_0x554afb[_0x29692f(0x1df)]()[_0x29692f(0x1b5)](_0x4f57c5)[TestFrameworkConstants[_0x29692f(0x27b)]];await _0x172df0[_0x29692f(0x201)](sendTraceZip,_0x5de09a,_0x2aa61d);const _0x29b801=TestInfo['getTestDetails'](_0x4f57c5)[_0x172df0[_0x29692f(0x28c)]],_0x4817fc={};if(_0x29b801){!_0x5de09a['attachments']&&(_0x5de09a[_0x29692f(0x1e3)]=[]);_0x4817fc[_0x29692f(0x1e3)]=_0x5de09a[_0x29692f(0x1e3)]['concat'](_0x29b801||[]);const _0x19eb74=TestInfo[_0x29692f(0x26a)](_0x4f57c5);delete _0x19eb74[_0x172df0['vSwma']],TestInfo[_0x29692f(0x216)](_0x4f57c5,_0x19eb74);}const _0x5c93a3=_0x4e4a54||_0x172df0[_0x29692f(0x1c1)](getStepsAndLogs,_0x5de09a[_0x29692f(0x289)],_0x554afb[_0x29692f(0x1df)]()[_0x29692f(0x1b5)](_0x4f57c5)[TestFrameworkConstants['KEY_TEST_UUID']],_0x172df0[_0x29692f(0x1cf)])[_0x29692f(0x250)],_0x155395=_0x172df0[_0x29692f(0x213)](getScreenshots,_0x4817fc,_0x554afb['getAllData']()[_0x29692f(0x1b5)](_0x4f57c5)[TestFrameworkConstants[_0x29692f(0x27b)]]),_0x484c10=_0x172df0[_0x29692f(0x213)](getVideos,_0x5de09a,_0x554afb[_0x29692f(0x1df)]()[_0x29692f(0x1b5)](_0x4f57c5)[TestFrameworkConstants[_0x29692f(0x27b)]]),{_:_0x1f015e,logs:_0x4994db}=_0x172df0[_0x29692f(0x201)](getFailureData,_0x5de09a['errors'],{'test_run_uuid':_0x554afb['getAllData']()['get'](_0x4f57c5)[TestFrameworkConstants[_0x29692f(0x27b)]]}),_0x3251ff=TestInfo[_0x29692f(0x26a)](_0x4f57c5)[TestFrameworkConstants[_0x29692f(0x277)]]||{},_0x1b2c9d=_0x172df0[_0x29692f(0x213)](getMediaArtifactsLogs,_0x3251ff,_0x554afb['getAllData']()[_0x29692f(0x1b5)](_0x4f57c5)[TestFrameworkConstants[_0x29692f(0x27b)]]),_0xb343ac=_0x554afb['getAllData']()[_0x29692f(0x1b5)](_0x4f57c5),{[TestFrameworkConstants[_0x29692f(0x1b1)]]:_0x6b6bd9='',[TestFrameworkConstants[_0x29692f(0x258)]]:_0x33912d=''}=_0xb343ac,_0x3ab35c=(_0x5c93a3||[])['concat'](_0x155395||[])[_0x29692f(0x222)](_0x4994db||[])[_0x29692f(0x222)](_0x484c10||[])[_0x29692f(0x222)](_0x1b2c9d||[]),_0x1dfee1=0x28,_0x4c42c8=Math[_0x29692f(0x29d)](_0x172df0[_0x29692f(0x1dc)](_0x3ab35c['length'],_0x1dfee1));for(let _0x339aa3=0x0;_0x172df0[_0x29692f(0x1be)](_0x339aa3,_0x4c42c8);_0x339aa3++){const _0xfcc154=_0x172df0[_0x29692f(0x272)](_0x339aa3,_0x1dfee1),_0x66d530=_0x172df0[_0x29692f(0x1d0)](_0xfcc154,_0x1dfee1),_0x380ebd=_0x3ab35c[_0x29692f(0x225)](_0xfcc154,_0x66d530),_0x362cf7={'platformIndex':global?.[_0x29692f(0x1f4)]??0x0,'logs':_0x380ebd,'testFrameworkName':_0x6b6bd9,'testFrameworkVersion':_0x33912d,'testFrameworkState':_0x4113da[_0x29692f(0x274)]()[_0x29692f(0x1c7)]('.')[0x1]};_0x172df0['tMgUE'](updatePayloadForTraceLogs,_0x362cf7,_0x3abd83,_0x4f57c5,_0x554afb),logger[_0x29692f(0x22f)](_0x29692f(0x22c)+_0x4f57c5+_0x29692f(0x294)+_0x172df0[_0x29692f(0x27d)](_0x339aa3,0x1)+'/'+_0x4c42c8+_0x29692f(0x217)+util['inspect'](_0x362cf7));const _0xd18398=await GrpcClient['getInstance']()['logCreatedEvent'](_0x362cf7);logger['debug'](_0x29692f(0x22c)+_0x4f57c5+'\x20batch\x20'+_0x172df0[_0x29692f(0x1d0)](_0x339aa3,0x1)+'/'+_0x4c42c8+_0x29692f(0x205)+util['inspect'](_0xd18398));}}else{const {logs:_0x5934f0}=_0x172df0[_0x29692f(0x1c1)](getStepsAndLogs,_0x3abd83[_0x29692f(0x271)][_0x29692f(0x289)],_0x5a0415,_0x172df0[_0x29692f(0x263)]),_0x105a11=_0x172df0['rlGdE'](getTestRunIdentifier,_0x3abd83['test'],_0x3abd83['result'][_0x29692f(0x1b0)]);logger[_0x29692f(0x22f)]('sendLogCreatedEvent:\x20testId='+_0x105a11);const _0xd02d8d=_0x554afb[_0x29692f(0x1df)]()[_0x29692f(0x1b5)](_0x105a11),{[TestFrameworkConstants[_0x29692f(0x1b1)]]:_0x132e54='',[TestFrameworkConstants['KEY_TEST_FRAMEWORK_VERSION']]:_0x37beb8=''}=_0xd02d8d,_0x326147={'platformIndex':'0','logs':_0x5934f0,'testFrameworkName':_0x132e54,'testFrameworkVersion':_0x37beb8,'testFrameworkState':_0x4113da[_0x29692f(0x274)]()[_0x29692f(0x1c7)]('.')[0x1]};_0x172df0[_0x29692f(0x1d8)](updatePayloadForTraceLogs,_0x326147,_0x3abd83,_0x105a11,_0x554afb),logger['debug'](_0x29692f(0x22c)+_0x105a11+_0x29692f(0x217)+util[_0x29692f(0x1e7)](_0x326147));const _0x2b0bdb=await GrpcClient[_0x29692f(0x1ac)]()[_0x29692f(0x1eb)](_0x326147);}}catch(_0x1ed725){logger[_0x29692f(0x1fb)](_0x29692f(0x257)+util[_0x29692f(0x1cb)](_0x1ed725));}}['createTestFrameworkEventPayload'](_0x3fb765){const _0x51024a=a96_0x1b0677,_0x2dd681={'ZJpsi':function(_0x468a0a,_0x34535d,_0x2f2493){return _0x468a0a(_0x34535d,_0x2f2493);},'PZBFU':function(_0x55f77a,_0x376759){return _0x55f77a<_0x376759;},'UklnO':_0x51024a(0x20a)};try{const _0x44b74a=_0x3fb765[_0x51024a(0x1cd)]['id'],_0x49d2c8=_0x2dd681['ZJpsi'](getTestRunIdentifier,_0x3fb765[_0x51024a(0x1cd)],_0x3fb765[_0x51024a(0x226)][_0x51024a(0x1b0)]),_0x43bb3d=_0x3fb765[_0x51024a(0x210)],_0x1eac4c=_0x43bb3d['getContext'](),_0x10a045=_0x43bb3d[_0x51024a(0x1df)]()[_0x51024a(0x1b5)](_0x49d2c8);logger[_0x51024a(0x22f)]('createTestFrameworkEventPayload\x20testId:\x20'+_0x44b74a);const {[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x5c3d14='',[TestFrameworkConstants[_0x51024a(0x258)]]:_0x1311b0='',[TestFrameworkConstants[_0x51024a(0x21a)]]:_0x233fbe='',[TestFrameworkConstants[_0x51024a(0x25b)]]:_0x126340=''}=_0x10a045,_0x2480ff=_0x43bb3d['getCurrentTestState']()[_0x51024a(0x274)]()[_0x51024a(0x1c7)]('.')[0x1],_0x2da348=_0x43bb3d[_0x51024a(0x295)]()[_0x51024a(0x274)]()[_0x51024a(0x1c7)]('.')[0x1],_0x5c4dc3=_0x2dd681[_0x51024a(0x293)](_0x3fb765?.['result']?.['parallelIndex']??0x0,0x0)?0x0:_0x3fb765?.['result']?.['parallelIndex']??0x0,_0x4b09e4=_0x43bb3d[_0x51024a(0x2a0)](),_0xaf62ff=Buffer[_0x51024a(0x1b3)](JSON[_0x51024a(0x1d5)](_0x10a045))[_0x51024a(0x274)](_0x2dd681[_0x51024a(0x206)]),_0x166b0a={'hash':_0x1eac4c[_0x51024a(0x19a)](),'threadId':_0x1eac4c[_0x51024a(0x21f)]()['toString'](),'processId':_0x1eac4c['getProcessId']()[_0x51024a(0x274)]()},_0x3a29fb={};_0x3a29fb[_0x51024a(0x2a1)]=_0x5c4dc3,_0x3a29fb[_0x51024a(0x1f9)]=_0x5c3d14,_0x3a29fb[_0x51024a(0x29b)]=_0x1311b0,_0x3a29fb[_0x51024a(0x25a)]=_0x2480ff,_0x3a29fb[_0x51024a(0x27a)]=_0x2da348,_0x3a29fb[_0x51024a(0x231)]=_0x233fbe,_0x3a29fb[_0x51024a(0x24e)]=_0x126340,_0x3a29fb[_0x51024a(0x207)]=_0x4b09e4,_0x3a29fb['eventJson']=_0xaf62ff,_0x3a29fb[_0x51024a(0x20e)]=_0x166b0a;const _0x435cd7=_0x3a29fb;return logger['debug'](_0x51024a(0x1ce)+_0x44b74a+_0x51024a(0x19f)+_0x2480ff+_0x51024a(0x276)+_0x2da348),_0x435cd7;}catch(_0x191b88){return logger[_0x51024a(0x1fb)]('Error\x20in\x20createTestFrameworkEventPayload:\x20'+util[_0x51024a(0x1cb)](_0x191b88)),{};}}}function a96_0x3bcb(_0x5f40db,_0x4e0a66){const _0x475d9d=a96_0x475d();return a96_0x3bcb=function(_0x3bcbc4,_0x1314cb){_0x3bcbc4=_0x3bcbc4-0x196;let _0x35b66a=_0x475d9d[_0x3bcbc4];return _0x35b66a;},a96_0x3bcb(_0x5f40db,_0x4e0a66);}module[a96_0x1b0677(0x1fa)]=PlaywrightTestFramework;function a96_0x475d(){const _0x250b6a=['KEY_TEST_STARTED_AT','MAX_TOP_LEVEL_STEPS','trackHookEvent','EOLYn','./constants/testFrameworkConstants.js','getThreadId','\x20target=','PKYzt','concat','YjMbt','\x20steps\x20for\x20testId=','slice','result','rxUmm','OpDHq','KEY_HOOKS_FINISHED','failure','filter','sendLogCreatedEvent\x20for\x20testId:\x20','mTZGL','oseUB','debug','295fAZdAj','startedAt','PRE','TEST_STEP','DEFAULT_HOOK_RESULT','resolveInstance','errors','toISOString','18RNGyQZ','forEach','KEY_TEST_META','../customTagManager','HgCYA','TvBOL','addMultipleEntries','INIT_TEST','../instances/trackedInstance.js','qWBZI','results','util','getTime','mZMAq','basename','failure_type','KEY_HOOK_NAME','getTraceFilePaths','../../../../src/helpers/helper','hook','dZxfR','KEY_HOOK_FAILURE_TYPE','endedAt','KEY_TEST_FAILURE_TYPE','logs','16xTdkCo','gLRAB','some','getTrackedInstance','statSync','trackEvent:\x20found\x20instance,\x20testFrameworkState=','Error\x20in\x20sendLogCreatedEvent:\x20','KEY_TEST_FRAMEWORK_VERSION','annotations','testFrameworkState','KEY_TEST_ENDED_AT','JjChP','UqqJk',',\x20state=','parsePlaywrightTestResult','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','KEY_AUTOMATE_SESSION_NAME','startTime','lVqlH','lnIgN','setTrackedInstance','IkfMW','KEY_TEST_TAGS','120PjwtWm','../instances/testFrameworkInstance.js','getTestDetails','getTestFrameworksVersions','PlaywrightTestFramework','parent_id','getTestFrameworks','mergeIntoTags','KEY_HOOK_LOGS','step','Kfbqn','DplMt','toString','7356210jPoJZL','\x20hookState:\x20','KEY_TEST_ATTACHMENTS','NONE','fpMqn','hookState','KEY_TEST_UUID','path','KqpgE','KEY_TEST_NAME','eMTkj','KEY_TEST_FILE_PATH','GZGpT','failed','TaWVx','KEY_CUSTOM_TAGS','KEY_HOOK_LAST_FINISHED','\x20from\x20TestDetails:\x20','parsePlaywrightTestResult:\x20testId=','description','steps','\x20step=\x22','mXKyL','vSwma','title','KHSzj','\x20and\x20args\x20=\x20','OsSKQ','VjFyL','KEY_TEST_LOGS','PZBFU','\x20batch\x20','getCurrentHookState','../../../helpers/classLogger.js','../../../helpers/helper.js','skip','84498LZMpPS','KEY_TEST_RESULT','testFrameworkVersion','tHNSd','ceil','KEY_TEST_RETRY_OF','jowHj','getRef','platformIndex','\x20instance=','text','FGiKm','status','getId','KEY_HOOK_ID','\x20testHookState=','KEY_TEST_ID','98266EpTNqI','\x20testState:\x20','sendLogCreatedEvent','271664CzftWO','KEY_TEST_SCOPE','push','POST','Expected\x20to\x20fail,\x20but\x20passed.','TQHfz','./testFramework','../state/testFrameworkState.js','MYMGC','Error\x20processing\x20trace\x20file\x20','parseCommaSeparatedValues','getInstance','trackEvent','cYbft','TEST_SCREENSHOT','retry','KEY_TEST_FRAMEWORK_NAME','trim','from','length','get','matchHookRegex','Hook\x20List\x20in\x20Post\x20','duration','set','KEY_HOOK_FAILURE','keyword','KEY_HOOKS_STARTED','\x20\x20and\x20args\x20=\x20','wIUtn','KEY_HOOK_RESULT','hztfr','PSDFq','TEST_ATTACHMENT','filePath','MAX_NESTED_STEP_DEPTH','vUDBe','giIaP','split','KEY_TEST_RERUN_NAME','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','VCReO','format','trackStepEvent:\x20exception=','test','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','XqCLB','PBXoD','duEpw','KEY_LOGS','KEY_TEST_LOCATION','../../utils/constants','stringify','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','NWxJq','tMgUE','testUId','../grpcClient','getTestIdentifierFromTestInfo','kTGkU','err','KEY_EVENT_ENDED_AT','getAllData','16424650tKYnLB','aLqHB','size','attachments','108753pakjWe','VCMIQ','IqZxO','inspect','\x20result=','getTestUUID','trackPlaywrightInstance','logCreatedEvent','akpvT','jnMMH','TEST','KEY_HOOK_LAST_STARTED','aqLbc','has','WHMYL','\x20&\x20hook\x20=\x20','browserstackPlatformIndex','HCwtE','8994986iaZbQo','trackStepEvent','fixme','testFrameworkName','exports','error','Ramew','parsePlaywrightTestResult:\x20extracted\x20','skipped','../../../helpers/test-observability/utils','parsePlaywrightTest','rlGdE','bWoFN','getCurrentInstanceName','ZXIUw','\x20response=','UklnO','uuid','KEY_TEST_FAILURE','BdpxQ','base64','wqrCS','WqUpr','baMBS','executionContext','fVtqd','instance','pop','sendLogCreatedEvent:\x20testId=','JQrni','message','../../playwright/reporter/pwUtils','setTestDetails','\x20payload=','info','KEY_TEST_RESULT_AT'];a96_0x475d=function(){return _0x250b6a;};return a96_0x475d();}
@@ -1 +1 @@
1
- const a97_0x1fb898=a97_0x2007;(function(_0x4416c9,_0x40b38f){const _0x44acec=a97_0x2007,_0x5a08e5=_0x4416c9();while(!![]){try{const _0x56cc0b=-parseInt(_0x44acec(0xfe))/0x1*(parseInt(_0x44acec(0x11a))/0x2)+-parseInt(_0x44acec(0x112))/0x3*(parseInt(_0x44acec(0x10d))/0x4)+parseInt(_0x44acec(0xfc))/0x5*(-parseInt(_0x44acec(0x125))/0x6)+parseInt(_0x44acec(0x10f))/0x7*(parseInt(_0x44acec(0x117))/0x8)+parseInt(_0x44acec(0x11e))/0x9+-parseInt(_0x44acec(0x114))/0xa*(parseInt(_0x44acec(0x100))/0xb)+parseInt(_0x44acec(0x101))/0xc*(parseInt(_0x44acec(0x106))/0xd);if(_0x56cc0b===_0x40b38f)break;else _0x5a08e5['push'](_0x5a08e5['shift']());}catch(_0x2e8e07){_0x5a08e5['push'](_0x5a08e5['shift']());}}}(a97_0x5eb0,0xedb79));const AutomationFramework=require(a97_0x1fb898(0x108)),{createClassLogger}=require(a97_0x1fb898(0x10b)),AutomationFrameworkState=require(a97_0x1fb898(0x10a)),HookState=require('../state/hookState.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a97_0x1fb898(0x109));function a97_0x2007(_0x15e447,_0x3cad7f){const _0x5eb0fa=a97_0x5eb0();return a97_0x2007=function(_0x20076f,_0xb81b41){_0x20076f=_0x20076f-0xfc;let _0x55b745=_0x5eb0fa[_0x20076f];return _0x55b745;},a97_0x2007(_0x15e447,_0x3cad7f);}function a97_0x5eb0(){const _0x435511=['534431pXerab','getTrackedInstance','11bVaRSa','579792FDtLqX','trackEvent:\x20automationFrameworkState=','\x20hookState=','PuppeteerAutomationFramework','dMpXn','624kJWxdg','JtuOQ','./automationFramework.js','../instances/automationFrameworkInstance.js','../state/automationFrameworkState.js','../../../helpers/classLogger.js','setTrackedInstance','24aQTcDC','getAutomationFrameworkName','3893785EladOR','Ossch','createContext','587529lecXyg','exports','8554130DgWPKR','logger','getCurrentInstanceName','24eSxYrd','\x20target=','CREATE','2jnrdHy','info','debug','runHooks','2309004YMYnrs','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','resolveInstance','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','PRE','YkUur',',\x20state=','4235388voiicF','5PJZYKW','trackEvent'];a97_0x5eb0=function(){return _0x435511;};return a97_0x5eb0();}class PuppeteerAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a97_0x1fb898(0x104));constructor(_0x85319d,_0x55a7eb){super(_0x85319d,_0x55a7eb);}async[a97_0x1fb898(0xfd)](_0x5bf006,_0x371993,_0x548e4f={}){const _0x59fe08=a97_0x1fb898,_0x5554aa={};_0x5554aa['QmSaU']=function(_0x5e5ddc,_0x5858d2){return _0x5e5ddc===_0x5858d2;},_0x5554aa['jTlAv']='trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking';const _0x243d83=_0x5554aa;this[_0x59fe08(0x115)][_0x59fe08(0x11c)](_0x59fe08(0x102)+_0x5bf006+_0x59fe08(0x103)+_0x371993),await super[_0x59fe08(0xfd)](_0x5bf006,_0x371993,_0x548e4f);const _0x2d63b9=this[_0x59fe08(0x120)](_0x5bf006,_0x371993,_0x548e4f);if(_0x243d83['QmSaU'](_0x2d63b9,null)){this[_0x59fe08(0x115)][_0x59fe08(0x11c)](_0x243d83['jTlAv']);return;}_0x548e4f['instance']=_0x2d63b9,await this[_0x59fe08(0x11d)](_0x2d63b9,_0x5bf006,_0x371993,_0x548e4f);}[a97_0x1fb898(0x120)](_0x12540e,_0x1b1d3c,_0x3d22a7={}){const _0x275245=a97_0x1fb898,_0x105dbf={};_0x105dbf['YkUur']=function(_0x57d9b1,_0x3b6cb6){return _0x57d9b1===_0x3b6cb6;},_0x105dbf[_0x275245(0x110)]=function(_0x374d99,_0x8843c9){return _0x374d99===_0x8843c9;},_0x105dbf[_0x275245(0x107)]=function(_0x584f59,_0x32936d){return _0x584f59===_0x32936d;};const _0x434885=_0x105dbf;let _0x34ae1e=null;return(_0x434885[_0x275245(0x123)](_0x12540e,AutomationFrameworkState[_0x275245(0x119)])&&_0x434885['Ossch'](_0x1b1d3c,HookState[_0x275245(0x122)])||_0x434885['JtuOQ'](_0x12540e,AutomationFrameworkState['NONE']))&&this['trackPuppeteerInstance'](_0x12540e,_0x3d22a7),_0x34ae1e=AutomationFramework[_0x275245(0xff)](),_0x34ae1e;}['trackPuppeteerInstance'](_0xe6d6d0,_0x284513){const _0x366821=a97_0x1fb898,_0x5b4235={};_0x5b4235['dMpXn']='trackPuppeteerInstance:\x20instance\x20already\x20exists';const _0x451146=_0x5b4235;if(AutomationFramework[_0x366821(0xff)]()){this[_0x366821(0x115)]['info'](_0x451146[_0x366821(0x105)]);return;}const _0x384a4a=CLIUtils[_0x366821(0x116)](),_0x4801ab=TrackedInstance[_0x366821(0x111)](_0x384a4a);let _0xf490f7=null;this[_0x366821(0x115)][_0x366821(0x11b)](_0x366821(0x121)+_0x384a4a+_0x366821(0x124)+_0xe6d6d0),_0xf490f7=new AutomationFrameworkInstance(_0x4801ab,this[_0x366821(0x10e)](),this['getAutomationFrameworkVersion'](),_0xe6d6d0),AutomationFramework[_0x366821(0x10c)](_0x4801ab,_0xf490f7),this[_0x366821(0x115)][_0x366821(0x11b)](_0x366821(0x11f)+_0x4801ab['getId']()+_0x366821(0x118)+_0x384a4a);}}module[a97_0x1fb898(0x113)]=PuppeteerAutomationFramework;
1
+ const a97_0xd2623a=a97_0x3506;(function(_0x39b4c3,_0x2169c4){const _0x5664b9=a97_0x3506,_0x1bb3be=_0x39b4c3();while(!![]){try{const _0x6f0f33=-parseInt(_0x5664b9(0x97))/0x1+parseInt(_0x5664b9(0x9b))/0x2+parseInt(_0x5664b9(0xa4))/0x3+parseInt(_0x5664b9(0x84))/0x4*(parseInt(_0x5664b9(0x99))/0x5)+-parseInt(_0x5664b9(0x8a))/0x6+-parseInt(_0x5664b9(0x8c))/0x7*(parseInt(_0x5664b9(0x9e))/0x8)+parseInt(_0x5664b9(0x7e))/0x9*(-parseInt(_0x5664b9(0x81))/0xa);if(_0x6f0f33===_0x2169c4)break;else _0x1bb3be['push'](_0x1bb3be['shift']());}catch(_0x44fea7){_0x1bb3be['push'](_0x1bb3be['shift']());}}}(a97_0x488b,0xb758d));const AutomationFramework=require(a97_0xd2623a(0xa5)),{createClassLogger}=require(a97_0xd2623a(0x7a)),AutomationFrameworkState=require(a97_0xd2623a(0x7c)),HookState=require(a97_0xd2623a(0x7f)),CLIUtils=require(a97_0xd2623a(0x96)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require(a97_0xd2623a(0x9c));class PuppeteerAutomationFramework extends AutomationFramework{['logger']=createClassLogger(a97_0xd2623a(0x83));constructor(_0x16c0a1,_0x4d160b){super(_0x16c0a1,_0x4d160b);}async[a97_0xd2623a(0x95)](_0x1dd681,_0x5bbf79,_0x40f5d8={}){const _0x4a3d34=a97_0xd2623a,_0x56733b={};_0x56733b[_0x4a3d34(0x9d)]=function(_0x50fc34,_0x232710){return _0x50fc34===_0x232710;},_0x56733b[_0x4a3d34(0x78)]=_0x4a3d34(0x80);const _0x528e11=_0x56733b;this[_0x4a3d34(0x85)][_0x4a3d34(0x8b)](_0x4a3d34(0xa1)+_0x1dd681+_0x4a3d34(0x86)+_0x5bbf79),await super[_0x4a3d34(0x95)](_0x1dd681,_0x5bbf79,_0x40f5d8);const _0x3e3e17=this[_0x4a3d34(0x8f)](_0x1dd681,_0x5bbf79,_0x40f5d8);if(_0x528e11['LaWRj'](_0x3e3e17,null)){this[_0x4a3d34(0x85)][_0x4a3d34(0x8b)](_0x528e11[_0x4a3d34(0x78)]);return;}_0x40f5d8[_0x4a3d34(0xa0)]=_0x3e3e17,await this['runHooks'](_0x3e3e17,_0x1dd681,_0x5bbf79,_0x40f5d8);}[a97_0xd2623a(0x8f)](_0x475030,_0x5caa2e,_0x464bfe={}){const _0x57f952=a97_0xd2623a,_0x3e6014={};_0x3e6014[_0x57f952(0x8e)]=function(_0x1a613f,_0x3acf14){return _0x1a613f===_0x3acf14;},_0x3e6014[_0x57f952(0x8d)]=function(_0x325f08,_0x40ce2d){return _0x325f08===_0x40ce2d;},_0x3e6014[_0x57f952(0x87)]=function(_0x30305f,_0x1f97d2){return _0x30305f===_0x1f97d2;};const _0x31cfda=_0x3e6014;let _0x146edb=null;return(_0x31cfda['pHfWS'](_0x475030,AutomationFrameworkState['CREATE'])&&_0x31cfda[_0x57f952(0x8d)](_0x5caa2e,HookState[_0x57f952(0x91)])||_0x31cfda['JaXva'](_0x475030,AutomationFrameworkState['NONE']))&&this[_0x57f952(0x82)](_0x475030,_0x464bfe),_0x146edb=AutomationFramework[_0x57f952(0x9f)](),_0x146edb;}[a97_0xd2623a(0x82)](_0x2205a1,_0x2a1453){const _0xbc14f6=a97_0xd2623a,_0x2bded3={};_0x2bded3[_0xbc14f6(0x92)]='trackPuppeteerInstance:\x20instance\x20already\x20exists';const _0x339c09=_0x2bded3;if(AutomationFramework[_0xbc14f6(0x9f)]()){this[_0xbc14f6(0x85)][_0xbc14f6(0x9a)](_0x339c09[_0xbc14f6(0x92)]);return;}const _0x5c88ed=CLIUtils[_0xbc14f6(0x94)](),_0xb8bcf7=TrackedInstance[_0xbc14f6(0xa2)](_0x5c88ed);let _0x4f473e=null;this['logger'][_0xbc14f6(0x9a)](_0xbc14f6(0x79)+_0x5c88ed+_0xbc14f6(0x88)+_0x2205a1),_0x4f473e=new AutomationFrameworkInstance(_0xb8bcf7,this[_0xbc14f6(0x89)](),this[_0xbc14f6(0x93)](),_0x2205a1),AutomationFramework[_0xbc14f6(0x90)](_0xb8bcf7,_0x4f473e),this[_0xbc14f6(0x85)]['info'](_0xbc14f6(0x98)+_0xb8bcf7[_0xbc14f6(0x7d)]()+_0xbc14f6(0x7b)+_0x5c88ed);}}function a97_0x488b(){const _0x5ccbdd=['344010VluzFq','trackPuppeteerInstance','PuppeteerAutomationFramework','52vhkQID','logger','\x20hookState=','JaXva',',\x20state=','getAutomationFrameworkName','4859922nuDyLz','debug','203eiDniy','tRfyu','pHfWS','resolveInstance','setTrackedInstance','PRE','LTaFg','getAutomationFrameworkVersion','getCurrentInstanceName','trackEvent','../cliUtils.js','120317JHGNmN','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','413150kIcJBd','info','1823918xYjXTR','../instances/automationFrameworkInstance.js','LaWRj','223240jbwHFq','getTrackedInstance','instance','trackEvent:\x20automationFrameworkState=','createContext','exports','2545197MuTsKQ','./automationFramework.js','KsFGI','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','../../../helpers/classLogger.js','\x20target=','../state/automationFrameworkState.js','getId','90IXHLBU','../state/hookState.js','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking'];a97_0x488b=function(){return _0x5ccbdd;};return a97_0x488b();}function a97_0x3506(_0x2275f9,_0x30e9fc){const _0x488b3d=a97_0x488b();return a97_0x3506=function(_0x3506cb,_0x58d7bf){_0x3506cb=_0x3506cb-0x78;let _0x509f96=_0x488b3d[_0x3506cb];return _0x509f96;},a97_0x3506(_0x2275f9,_0x30e9fc);}module[a97_0xd2623a(0xa3)]=PuppeteerAutomationFramework;
@@ -1 +1 @@
1
- const a98_0x56b3b2=a98_0x4655;(function(_0x26521d,_0x384100){const _0x5bee61=a98_0x4655,_0x1686e2=_0x26521d();while(!![]){try{const _0x40da32=parseInt(_0x5bee61(0x136))/0x1+parseInt(_0x5bee61(0x123))/0x2*(-parseInt(_0x5bee61(0x13a))/0x3)+parseInt(_0x5bee61(0x122))/0x4+-parseInt(_0x5bee61(0x143))/0x5*(parseInt(_0x5bee61(0x124))/0x6)+parseInt(_0x5bee61(0x12c))/0x7*(parseInt(_0x5bee61(0x12d))/0x8)+parseInt(_0x5bee61(0x12f))/0x9+-parseInt(_0x5bee61(0x141))/0xa;if(_0x40da32===_0x384100)break;else _0x1686e2['push'](_0x1686e2['shift']());}catch(_0x3dcdb8){_0x1686e2['push'](_0x1686e2['shift']());}}}(a98_0x3325,0xc295f));function a98_0x3325(){const _0x5b0d4f=['hasState','TestFramework','testFrameworks','getId','3372800JuwdUM','../state/testFrameworkState','564420FyEhGB','setInstance','../state/hookState','setTrackedInstance','binSessionId','getState','runHooks','trackEvent','testFrameworkVersions','instances','getAllData','1922268yCRaTl','3514AAAwYb','78UhnXDC','getTestFrameworksVersions','exports','../eventDispatcher','get','getTrackedInstance','trackEvent:\x20testFrameworkState=','set','14xXhKci','3627704REXSfw','__bstack_test_framework_instances__','5538654SkgnRI','../../../helpers/classLogger',';\x20hookState=','setState','getCurrentInstanceName','../instances/trackedContext','has','1234930oojFHh','getHookRegistryKey','getInstances','registerObserver','1086BppcCi','../instances/trackedInstance','setCurrentTestState'];a98_0x3325=function(){return _0x5b0d4f;};return a98_0x3325();}function a98_0x4655(_0x4a7bf9,_0x54d8ac){const _0x332537=a98_0x3325();return a98_0x4655=function(_0x46552f,_0x238f36){_0x46552f=_0x46552f-0x119;let _0x1b21de=_0x332537[_0x46552f];return _0x1b21de;},a98_0x4655(_0x4a7bf9,_0x54d8ac);}const CLIUtils=require('../cliUtils'),eventDispatcher=require(a98_0x56b3b2(0x127)),TestFrameworkInstance=require('../instances/testFrameworkInstance'),TrackedContext=require(a98_0x56b3b2(0x134)),TestFrameworkState=require(a98_0x56b3b2(0x142)),HookState=require(a98_0x56b3b2(0x119)),{createClassLogger}=require(a98_0x56b3b2(0x130)),TrackedInstance=require(a98_0x56b3b2(0x13b)),logger=createClassLogger(a98_0x56b3b2(0x13e));!global['__bstack_test_framework_instances__']&&(global[a98_0x56b3b2(0x12e)]=new Map());class TestFramework{static get[a98_0x56b3b2(0x120)](){return global['__bstack_test_framework_instances__'];}['testFrameworks']=[];[a98_0x56b3b2(0x11f)]={};['binSessionId']=null;constructor(_0x4aef1f,_0x2da78c,_0x297333){const _0xe65544=a98_0x56b3b2;this[_0xe65544(0x13f)]=_0x4aef1f,this['testFrameworkVersions']=_0x2da78c,this[_0xe65544(0x11b)]=_0x297333;}[a98_0x56b3b2(0x138)](){const _0x5b5327=a98_0x56b3b2;return TestFramework[_0x5b5327(0x120)];}[a98_0x56b3b2(0x144)](_0x24064e,_0x554848){const _0x148569=a98_0x56b3b2;TestFramework[_0x148569(0x120)][_0x148569(0x12b)](_0x24064e[_0x148569(0x140)],_0x554848);}static[a98_0x56b3b2(0x129)](){const _0x4ce102=a98_0x56b3b2,_0x11ac68=TrackedInstance['createContext'](CLIUtils[_0x4ce102(0x133)]());return TestFramework[_0x4ce102(0x120)][_0x4ce102(0x128)](_0x11ac68[_0x4ce102(0x140)]());}static[a98_0x56b3b2(0x11a)](_0x3218ff,_0x18ce7e){const _0x55dbbf=a98_0x56b3b2;TestFramework[_0x55dbbf(0x120)][_0x55dbbf(0x12b)](_0x3218ff[_0x55dbbf(0x140)](),_0x18ce7e);}[a98_0x56b3b2(0x125)](){return this['testFrameworkVersions'];}['getTestFrameworks'](){const _0x119afc=a98_0x56b3b2;return this[_0x119afc(0x13f)];}[a98_0x56b3b2(0x11e)](_0x24524e,_0x36990b,_0x22953d={}){const _0x3750ee=a98_0x56b3b2;logger['debug'](_0x3750ee(0x12a)+_0x24524e+_0x3750ee(0x131)+_0x36990b);}async[a98_0x56b3b2(0x11d)](_0xdb305c,_0x4e2be6,_0x11f570,_0x22be88={}){const _0x4bfc80=a98_0x56b3b2,_0x3dac26=CLIUtils[_0x4bfc80(0x137)](_0x4e2be6,_0x11f570);_0xdb305c[_0x4bfc80(0x13c)](_0x4e2be6),_0xdb305c['setCurrentHookState'](_0x11f570),await eventDispatcher['notifyObserver'](_0x3dac26,_0x22be88);}static['registerObserver'](_0x4661f6,_0x3cf602,_0x2fb810){const _0x5e9b4a=a98_0x56b3b2;eventDispatcher[_0x5e9b4a(0x139)](CLIUtils['getHookRegistryKey'](_0x4661f6,_0x3cf602),_0x2fb810);}static[a98_0x56b3b2(0x11c)](_0x11ad31,_0x178129){const _0x42ca8a=a98_0x56b3b2;return _0x11ad31[_0x42ca8a(0x121)]()['get'](_0x178129);}static[a98_0x56b3b2(0x132)](_0x19733f,_0xfe00d7,_0x41687e){const _0x2ee0bd=a98_0x56b3b2;_0x19733f[_0x2ee0bd(0x121)]()['set'](_0xfe00d7,_0x41687e);}static[a98_0x56b3b2(0x13d)](_0xc1b832,_0xd0d794){const _0x14970b=a98_0x56b3b2;return _0xc1b832[_0x14970b(0x121)]()[_0x14970b(0x135)](_0xd0d794);}}module[a98_0x56b3b2(0x126)]=TestFramework;
1
+ function a98_0x4b75(_0x5e22b2,_0x41dabc){const _0x2efea8=a98_0x2efe();return a98_0x4b75=function(_0x4b7538,_0x51d238){_0x4b7538=_0x4b7538-0x6b;let _0x4643dd=_0x2efea8[_0x4b7538];return _0x4643dd;},a98_0x4b75(_0x5e22b2,_0x41dabc);}const a98_0x4026d9=a98_0x4b75;(function(_0x487283,_0x25e277){const _0x3a315c=a98_0x4b75,_0x22482b=_0x487283();while(!![]){try{const _0x578764=parseInt(_0x3a315c(0x6d))/0x1+parseInt(_0x3a315c(0x6c))/0x2*(-parseInt(_0x3a315c(0x8b))/0x3)+-parseInt(_0x3a315c(0x7b))/0x4*(-parseInt(_0x3a315c(0x6e))/0x5)+parseInt(_0x3a315c(0x92))/0x6*(-parseInt(_0x3a315c(0x91))/0x7)+parseInt(_0x3a315c(0x8a))/0x8*(parseInt(_0x3a315c(0x7d))/0x9)+-parseInt(_0x3a315c(0x81))/0xa*(-parseInt(_0x3a315c(0x84))/0xb)+-parseInt(_0x3a315c(0x70))/0xc*(parseInt(_0x3a315c(0x75))/0xd);if(_0x578764===_0x25e277)break;else _0x22482b['push'](_0x22482b['shift']());}catch(_0x534aa7){_0x22482b['push'](_0x22482b['shift']());}}}(a98_0x2efe,0x9f730));const CLIUtils=require('../cliUtils'),eventDispatcher=require(a98_0x4026d9(0x71)),TestFrameworkInstance=require(a98_0x4026d9(0x93)),TrackedContext=require(a98_0x4026d9(0x82)),TestFrameworkState=require(a98_0x4026d9(0x85)),HookState=require('../state/hookState'),{createClassLogger}=require(a98_0x4026d9(0x86)),TrackedInstance=require('../instances/trackedInstance'),logger=createClassLogger(a98_0x4026d9(0x8d));!global['__bstack_test_framework_instances__']&&(global[a98_0x4026d9(0x8e)]=new Map());class TestFramework{static get[a98_0x4026d9(0x6f)](){const _0x22e150=a98_0x4026d9;return global[_0x22e150(0x8e)];}[a98_0x4026d9(0x80)]=[];['testFrameworkVersions']={};[a98_0x4026d9(0x78)]=null;constructor(_0x3cec90,_0x1a9d30,_0x25a1f4){const _0x347d38=a98_0x4026d9;this[_0x347d38(0x80)]=_0x3cec90,this[_0x347d38(0x7a)]=_0x1a9d30,this[_0x347d38(0x78)]=_0x25a1f4;}[a98_0x4026d9(0x95)](){const _0x3d762d=a98_0x4026d9;return TestFramework[_0x3d762d(0x6f)];}['setInstance'](_0xebdb78,_0x2a27e9){const _0xab8089=a98_0x4026d9;TestFramework['instances'][_0xab8089(0x72)](_0xebdb78[_0xab8089(0x90)],_0x2a27e9);}static['getTrackedInstance'](){const _0x3d4735=a98_0x4026d9,_0x3537c8=TrackedInstance['createContext'](CLIUtils[_0x3d4735(0x96)]());return TestFramework[_0x3d4735(0x6f)][_0x3d4735(0x6b)](_0x3537c8['getId']());}static['setTrackedInstance'](_0x580268,_0x5483da){const _0x4f7fb3=a98_0x4026d9;TestFramework[_0x4f7fb3(0x6f)][_0x4f7fb3(0x72)](_0x580268[_0x4f7fb3(0x90)](),_0x5483da);}[a98_0x4026d9(0x74)](){const _0x39f54a=a98_0x4026d9;return this[_0x39f54a(0x7a)];}[a98_0x4026d9(0x89)](){const _0x5b548b=a98_0x4026d9;return this[_0x5b548b(0x80)];}[a98_0x4026d9(0x7f)](_0x113b72,_0x297080,_0x43b84d={}){const _0x5a5dff=a98_0x4026d9;logger[_0x5a5dff(0x87)](_0x5a5dff(0x77)+_0x113b72+_0x5a5dff(0x76)+_0x297080);}async['runHooks'](_0x14ff13,_0x370c32,_0x32d3a3,_0x1f21c5={}){const _0xe280a9=a98_0x4026d9,_0xf3d944=CLIUtils[_0xe280a9(0x8c)](_0x370c32,_0x32d3a3);_0x14ff13['setCurrentTestState'](_0x370c32),_0x14ff13[_0xe280a9(0x94)](_0x32d3a3),await eventDispatcher[_0xe280a9(0x73)](_0xf3d944,_0x1f21c5);}static[a98_0x4026d9(0x8f)](_0x2ee983,_0x4035e8,_0x2f574f){eventDispatcher['registerObserver'](CLIUtils['getHookRegistryKey'](_0x2ee983,_0x4035e8),_0x2f574f);}static[a98_0x4026d9(0x7c)](_0x8ee0b4,_0x534439){const _0xa01dd8=a98_0x4026d9;return _0x8ee0b4[_0xa01dd8(0x7e)]()[_0xa01dd8(0x6b)](_0x534439);}static[a98_0x4026d9(0x83)](_0x4c5be5,_0x3a2cc1,_0x4f2d54){const _0x25b9e3=a98_0x4026d9;_0x4c5be5[_0x25b9e3(0x7e)]()['set'](_0x3a2cc1,_0x4f2d54);}static[a98_0x4026d9(0x88)](_0x5395d7,_0x4d2e45){const _0x16f9d9=a98_0x4026d9;return _0x5395d7[_0x16f9d9(0x7e)]()[_0x16f9d9(0x79)](_0x4d2e45);}}module['exports']=TestFramework;function a98_0x2efe(){const _0x167b1c=['624zqzdSu','6OKvdte','getHookRegistryKey','TestFramework','__bstack_test_framework_instances__','registerObserver','getId','203462lonVkL','258JcMEDx','../instances/testFrameworkInstance','setCurrentHookState','getInstances','getCurrentInstanceName','get','859046ZYCIgV','768674dosdTW','66335pAEbZz','instances','16596mnKdxH','../eventDispatcher','set','notifyObserver','getTestFrameworksVersions','13065ufbFwd',';\x20hookState=','trackEvent:\x20testFrameworkState=','binSessionId','has','testFrameworkVersions','292iOOdCB','getState','142614LnBjcO','getAllData','trackEvent','testFrameworks','1150dIpufm','../instances/trackedContext','setState','112750JvKAsJ','../state/testFrameworkState','../../../helpers/classLogger','debug','hasState','getTestFrameworks'];a98_0x2efe=function(){return _0x167b1c;};return a98_0x2efe();}
@@ -1 +1 @@
1
- 'use strict';const a99_0x2b6778=a99_0x26b7;(function(_0x466744,_0x34e0f6){const _0x3f926d=a99_0x26b7,_0x3ba5f7=_0x466744();while(!![]){try{const _0x57a9f9=-parseInt(_0x3f926d(0x146))/0x1+-parseInt(_0x3f926d(0x147))/0x2*(parseInt(_0x3f926d(0x12c))/0x3)+-parseInt(_0x3f926d(0x129))/0x4+-parseInt(_0x3f926d(0x14c))/0x5*(parseInt(_0x3f926d(0x125))/0x6)+parseInt(_0x3f926d(0x136))/0x7+parseInt(_0x3f926d(0x130))/0x8+parseInt(_0x3f926d(0x13b))/0x9;if(_0x57a9f9===_0x34e0f6)break;else _0x3ba5f7['push'](_0x3ba5f7['shift']());}catch(_0xfe4968){_0x3ba5f7['push'](_0x3ba5f7['shift']());}}}(a99_0x4082,0x82b8b));const AutomationFramework=require('./automationFramework.js'),AutomationFrameworkInstance=require(a99_0x2b6778(0x12a)),AutomationFrameworkState=require(a99_0x2b6778(0x11f)),TrackedInstance=require(a99_0x2b6778(0x134)),{createClassLogger}=require(a99_0x2b6778(0x137)),logger=createClassLogger(a99_0x2b6778(0x14a));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x828ca9,_0x4a4821){super(_0x828ca9,_0x4a4821);}async[a99_0x2b6778(0x139)](_0x442527,_0x3c69c5,_0x46e14b={}){const _0x4e4656=a99_0x2b6778;await super[_0x4e4656(0x139)](_0x442527,_0x3c69c5,_0x46e14b);const _0x3ac99d=this[_0x4e4656(0x13e)](_0x442527,_0x3c69c5,_0x46e14b);if(!_0x3ac99d){logger[_0x4e4656(0x144)](_0x4e4656(0x11d)+_0x442527+_0x4e4656(0x13a)+_0x3c69c5);return;}_0x46e14b[_0x4e4656(0x12b)]=_0x3ac99d,await this['runHooks'](_0x3ac99d,_0x442527,_0x3c69c5,_0x46e14b);}[a99_0x2b6778(0x13e)](_0x1afe2e,_0x336a2c,_0x1aebf7={}){const _0x71bd6e=a99_0x2b6778,_0xa7bd92={};_0xa7bd92[_0x71bd6e(0x11b)]='resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance',_0xa7bd92['qvvQH']=function(_0x579d45,_0xe27e8e){return _0x579d45===_0xe27e8e;},_0xa7bd92[_0x71bd6e(0x127)]=function(_0x47807a,_0x2ed377){return _0x47807a||_0x2ed377;};const _0x555245=_0xa7bd92,_0x178aac=_0x1aebf7[_0x71bd6e(0x132)]||null;if(!_0x178aac)return logger['warn'](_0x555245[_0x71bd6e(0x11b)]),AutomationFramework[_0x71bd6e(0x122)]();const _0x5792b4=Number[_0x71bd6e(0x13f)](_0x1aebf7[_0x71bd6e(0x14b)])?_0x1aebf7[_0x71bd6e(0x14b)]:0x0,_0x496546=_0x71bd6e(0x143)+_0x178aac+'#'+_0x5792b4;let _0x34c2f9=AutomationFramework['instances'][_0x71bd6e(0x142)](_0x496546);if(!_0x34c2f9&&(_0x555245[_0x71bd6e(0x140)](_0x1afe2e,AutomationFrameworkState['CREATE'])||_0x555245[_0x71bd6e(0x140)](_0x1afe2e,AutomationFrameworkState[_0x71bd6e(0x11a)]))){const _0x57c022=TrackedInstance[_0x71bd6e(0x121)](_0x496546);_0x34c2f9=new AutomationFrameworkInstance(_0x57c022,this[_0x71bd6e(0x12d)](),this[_0x71bd6e(0x131)](),_0x1afe2e),AutomationFramework[_0x71bd6e(0x133)][_0x71bd6e(0x13d)](_0x496546,_0x34c2f9),logger[_0x71bd6e(0x145)]('resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22'+_0x178aac+_0x71bd6e(0x141)+_0x5792b4+_0x71bd6e(0x148)+_0x496546);}return _0x555245[_0x71bd6e(0x127)](_0x34c2f9,null);}static[a99_0x2b6778(0x126)](_0x40d237,_0x57b7fc=0x0){const _0x4feecf=a99_0x2b6778,_0x756052=_0x4feecf(0x143)+_0x40d237+'#'+_0x57b7fc;return AutomationFramework[_0x4feecf(0x133)][_0x4feecf(0x149)](_0x756052);}static[a99_0x2b6778(0x14d)](_0x14350c,_0xe5d3e=0x0){const _0x2fb6e6=a99_0x2b6778;return AutomationFramework[_0x2fb6e6(0x133)]['get'](_0x2fb6e6(0x143)+_0x14350c+'#'+_0xe5d3e)||null;}static*[a99_0x2b6778(0x135)](){const _0x846c7f=a99_0x2b6778,_0x5008a8={};_0x5008a8[_0x846c7f(0x12e)]=function(_0x2bef2f,_0x5340f9){return _0x2bef2f===_0x5340f9;},_0x5008a8[_0x846c7f(0x128)]=_0x846c7f(0x123),_0x5008a8[_0x846c7f(0x119)]=_0x846c7f(0x143),_0x5008a8[_0x846c7f(0x120)]=function(_0x2d4b32,_0x19b9ed){return _0x2d4b32+_0x19b9ed;};const _0x2dd0f0=_0x5008a8;for(const [_0x13b896,_0x32574b]of AutomationFramework[_0x846c7f(0x133)][_0x846c7f(0x12f)]()){if(_0x2dd0f0[_0x846c7f(0x12e)](typeof _0x13b896,_0x2dd0f0[_0x846c7f(0x128)])&&_0x13b896[_0x846c7f(0x11e)](_0x2dd0f0[_0x846c7f(0x119)])){const _0x42dfc3=_0x13b896['slice'](_0x2dd0f0[_0x846c7f(0x119)][_0x846c7f(0x11c)]),_0x198f52=_0x42dfc3[_0x846c7f(0x138)]('#');if(_0x2dd0f0['mdvye'](_0x198f52,-0x1)){const _0x4a0a33={};_0x4a0a33[_0x846c7f(0x132)]=_0x42dfc3,_0x4a0a33[_0x846c7f(0x14b)]=0x0,_0x4a0a33[_0x846c7f(0x12b)]=_0x32574b,yield _0x4a0a33;}else{const _0x5232a1=_0x42dfc3[_0x846c7f(0x124)](0x0,_0x198f52),_0x57b831=Number[_0x846c7f(0x13c)](_0x42dfc3[_0x846c7f(0x124)](_0x2dd0f0[_0x846c7f(0x120)](_0x198f52,0x1)),0xa)||0x0,_0x4a71be={};_0x4a71be[_0x846c7f(0x132)]=_0x5232a1,_0x4a71be[_0x846c7f(0x14b)]=_0x57b831,_0x4a71be['instance']=_0x32574b,yield _0x4a71be;}}}}}function a99_0x26b7(_0x1a17e0,_0x3d0067){const _0x408227=a99_0x4082();return a99_0x26b7=function(_0x26b704,_0x20b855){_0x26b704=_0x26b704-0x119;let _0x39f140=_0x408227[_0x26b704];return _0x39f140;},a99_0x26b7(_0x1a17e0,_0x3d0067);}module['exports']=TestCafeAutomationFramework;function a99_0x4082(){const _0x5eb256=['getAutomationFrameworkVersion','userAgent','instances','../instances/trackedInstance.js','iterAllInstances','6600671FpIFKr','../../../helpers/classLogger.js','lastIndexOf','trackEvent','\x20hookState=','9464427LAfBnV','parseInt','set','resolveInstance','isInteger','qvvQH','\x22\x20platformIndex=','get','testcafe:','debug','info','404970UqJJAE','2htxVCO','\x20→\x20','delete','TestCafeAutomationFramework','platformIndex','5exgzqs','getInstanceByUserAgent','ZbcXo','NONE','tVOyU','length','trackEvent:\x20no\x20instance\x20for\x20state=','startsWith','../state/automationFrameworkState.js','AbLkA','createContext','getTrackedInstance','string','slice','5438154rkOrCf','removeInstance','unwJN','GQBMp','4101200QRUEEB','../instances/automationFrameworkInstance.js','instance','138585LaPUbM','getAutomationFrameworkName','mdvye','entries','7389624ugeCGO'];a99_0x4082=function(){return _0x5eb256;};return a99_0x4082();}
1
+ 'use strict';function a99_0xd37f(_0x26be79,_0xecbe31){const _0x11f4de=a99_0x11f4();return a99_0xd37f=function(_0xd37f26,_0x4118bd){_0xd37f26=_0xd37f26-0x1c1;let _0x34db57=_0x11f4de[_0xd37f26];return _0x34db57;},a99_0xd37f(_0x26be79,_0xecbe31);}const a99_0x4511a8=a99_0xd37f;function a99_0x11f4(){const _0x50d0e3=['length','57FmLPJA','CREATE','MlLGX','getAutomationFrameworkVersion','159070Rlyosg','trackEvent:\x20no\x20instance\x20for\x20state=','EWutD','228707CsPXAW','instances','trackEvent','TestCafeAutomationFramework','instance','createContext','NONE','warn','resolveInstance','slice','1918532ejBfOH','21770Yedmha','debug','../state/automationFrameworkState.js','getInstanceByUserAgent','627768nPqYBU','gwrYs','delete','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','1737ApJqaC','48AhacNg','iterAllInstances','parseInt','resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22','../instances/trackedInstance.js','\x20→\x20','\x20hookState=','792576vwwplH','platformIndex','userAgent','7670KTVBTs','exports','NINPS','lastIndexOf','pkUrC','startsWith','set','IrqjH','HipPY','testcafe:','isInteger','get','../../../helpers/classLogger.js','getAutomationFrameworkName','WKdVG','getTrackedInstance','removeInstance','string'];a99_0x11f4=function(){return _0x50d0e3;};return a99_0x11f4();}(function(_0x209b2b,_0x5cc6d9){const _0x8ad668=a99_0xd37f,_0x2797ae=_0x209b2b();while(!![]){try{const _0x593534=parseInt(_0x8ad668(0x1f3))/0x1+-parseInt(_0x8ad668(0x1c6))/0x2*(parseInt(_0x8ad668(0x1ec))/0x3)+-parseInt(_0x8ad668(0x1ca))/0x4+parseInt(_0x8ad668(0x1f0))/0x5*(parseInt(_0x8ad668(0x1cf))/0x6)+parseInt(_0x8ad668(0x1c5))/0x7+-parseInt(_0x8ad668(0x1d6))/0x8+-parseInt(_0x8ad668(0x1ce))/0x9*(parseInt(_0x8ad668(0x1d9))/0xa);if(_0x593534===_0x5cc6d9)break;else _0x2797ae['push'](_0x2797ae['shift']());}catch(_0x4bea8f){_0x2797ae['push'](_0x2797ae['shift']());}}}(a99_0x11f4,0x23c03));const AutomationFramework=require('./automationFramework.js'),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js'),AutomationFrameworkState=require(a99_0x4511a8(0x1c8)),TrackedInstance=require(a99_0x4511a8(0x1d3)),{createClassLogger}=require(a99_0x4511a8(0x1e5)),logger=createClassLogger(a99_0x4511a8(0x1f6));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x409c1d,_0x3693a1){super(_0x409c1d,_0x3693a1);}async[a99_0x4511a8(0x1f5)](_0xd379de,_0x218ef3,_0x1a7fc6={}){const _0x49803b=a99_0x4511a8;await super[_0x49803b(0x1f5)](_0xd379de,_0x218ef3,_0x1a7fc6);const _0x2468e9=this[_0x49803b(0x1c3)](_0xd379de,_0x218ef3,_0x1a7fc6);if(!_0x2468e9){logger[_0x49803b(0x1c7)](_0x49803b(0x1f1)+_0xd379de+_0x49803b(0x1d5)+_0x218ef3);return;}_0x1a7fc6[_0x49803b(0x1f7)]=_0x2468e9,await this['runHooks'](_0x2468e9,_0xd379de,_0x218ef3,_0x1a7fc6);}[a99_0x4511a8(0x1c3)](_0x244502,_0x5b318d,_0x4f9925={}){const _0x5c9673=a99_0x4511a8,_0x4eaec2={};_0x4eaec2[_0x5c9673(0x1ee)]=_0x5c9673(0x1cd),_0x4eaec2[_0x5c9673(0x1db)]=function(_0x1942f3,_0x25ad45){return _0x1942f3===_0x25ad45;},_0x4eaec2[_0x5c9673(0x1f2)]=function(_0x34e90c,_0x13e06f){return _0x34e90c===_0x13e06f;},_0x4eaec2['BgZXy']=function(_0x284dc8,_0x274e7c){return _0x284dc8||_0x274e7c;};const _0x16129e=_0x4eaec2,_0x309a08=_0x4f9925[_0x5c9673(0x1d8)]||null;if(!_0x309a08)return logger[_0x5c9673(0x1c2)](_0x16129e[_0x5c9673(0x1ee)]),AutomationFramework[_0x5c9673(0x1e8)]();const _0x230393=Number[_0x5c9673(0x1e3)](_0x4f9925[_0x5c9673(0x1d7)])?_0x4f9925[_0x5c9673(0x1d7)]:0x0,_0x440bd1=_0x5c9673(0x1e2)+_0x309a08+'#'+_0x230393;let _0x4f509e=AutomationFramework[_0x5c9673(0x1f4)][_0x5c9673(0x1e4)](_0x440bd1);if(!_0x4f509e&&(_0x16129e[_0x5c9673(0x1db)](_0x244502,AutomationFrameworkState[_0x5c9673(0x1ed)])||_0x16129e['EWutD'](_0x244502,AutomationFrameworkState[_0x5c9673(0x1c1)]))){const _0x551a3d=TrackedInstance[_0x5c9673(0x1f8)](_0x440bd1);_0x4f509e=new AutomationFrameworkInstance(_0x551a3d,this[_0x5c9673(0x1e6)](),this[_0x5c9673(0x1ef)](),_0x244502),AutomationFramework[_0x5c9673(0x1f4)][_0x5c9673(0x1df)](_0x440bd1,_0x4f509e),logger['info'](_0x5c9673(0x1d2)+_0x309a08+'\x22\x20platformIndex='+_0x230393+_0x5c9673(0x1d4)+_0x440bd1);}return _0x16129e['BgZXy'](_0x4f509e,null);}static[a99_0x4511a8(0x1e9)](_0x176aae,_0xc2f358=0x0){const _0x4572da=a99_0x4511a8,_0x3f337f='testcafe:'+_0x176aae+'#'+_0xc2f358;return AutomationFramework[_0x4572da(0x1f4)][_0x4572da(0x1cc)](_0x3f337f);}static[a99_0x4511a8(0x1c9)](_0x5e3c49,_0x213c91=0x0){const _0x2922d4=a99_0x4511a8;return AutomationFramework[_0x2922d4(0x1f4)][_0x2922d4(0x1e4)](_0x2922d4(0x1e2)+_0x5e3c49+'#'+_0x213c91)||null;}static*[a99_0x4511a8(0x1d0)](){const _0x28b9af=a99_0x4511a8,_0x210c64={};_0x210c64['pkUrC']=function(_0x224163,_0x188064){return _0x224163===_0x188064;},_0x210c64['WKdVG']=_0x28b9af(0x1ea),_0x210c64[_0x28b9af(0x1e0)]='testcafe:',_0x210c64[_0x28b9af(0x1e1)]=function(_0x306c41,_0xdd9af4){return _0x306c41===_0xdd9af4;},_0x210c64['gwrYs']=function(_0x46405b,_0x5a4af4){return _0x46405b+_0x5a4af4;};const _0x3a1f73=_0x210c64;for(const [_0x4a50fb,_0x69fb4a]of AutomationFramework['instances']['entries']()){if(_0x3a1f73[_0x28b9af(0x1dd)](typeof _0x4a50fb,_0x3a1f73[_0x28b9af(0x1e7)])&&_0x4a50fb[_0x28b9af(0x1de)](_0x3a1f73[_0x28b9af(0x1e0)])){const _0x5494b0=_0x4a50fb['slice'](_0x3a1f73[_0x28b9af(0x1e0)][_0x28b9af(0x1eb)]),_0x50c0f2=_0x5494b0[_0x28b9af(0x1dc)]('#');if(_0x3a1f73[_0x28b9af(0x1e1)](_0x50c0f2,-0x1)){const _0x5cff50={};_0x5cff50[_0x28b9af(0x1d8)]=_0x5494b0,_0x5cff50[_0x28b9af(0x1d7)]=0x0,_0x5cff50[_0x28b9af(0x1f7)]=_0x69fb4a,yield _0x5cff50;}else{const _0x38a89a=_0x5494b0[_0x28b9af(0x1c4)](0x0,_0x50c0f2),_0x36de2b=Number[_0x28b9af(0x1d1)](_0x5494b0[_0x28b9af(0x1c4)](_0x3a1f73[_0x28b9af(0x1cb)](_0x50c0f2,0x1)),0xa)||0x0,_0x410aa2={};_0x410aa2[_0x28b9af(0x1d8)]=_0x38a89a,_0x410aa2[_0x28b9af(0x1d7)]=_0x36de2b,_0x410aa2[_0x28b9af(0x1f7)]=_0x69fb4a,yield _0x410aa2;}}}}}module[a99_0x4511a8(0x1da)]=TestCafeAutomationFramework;