browserstack-node-sdk 1.69.0 → 1.70.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (223) 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/detox/a11ySetup.js +1 -1
  53. package/src/bin/detox/command.js +1 -1
  54. package/src/bin/detox/modifyDetoxConf.js +1 -1
  55. package/src/bin/detox/traEmitter.js +1 -1
  56. package/src/bin/integrations/command.js +1 -1
  57. package/src/bin/integrations/constants.js +1 -1
  58. package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
  59. package/src/bin/jasmine/command.js +1 -1
  60. package/src/bin/jasmine/test.setup.js +1 -1
  61. package/src/bin/jasmine/testRunMap.js +1 -1
  62. package/src/bin/jest/command.js +1 -1
  63. package/src/bin/jest/customImplements/customCircus.js +1 -1
  64. package/src/bin/jest/customImplements/customEnvironment.js +1 -1
  65. package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
  66. package/src/bin/jest/customImplements/customSequencer.js +1 -1
  67. package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
  68. package/src/bin/jest/jest.setup.js +1 -1
  69. package/src/bin/jest/test-observability/data-hooks.js +1 -1
  70. package/src/bin/jest/test-observability/helper.js +1 -1
  71. package/src/bin/jest/test-observability/obsReporter.js +1 -1
  72. package/src/bin/jest/test-observability/test-details.js +1 -1
  73. package/src/bin/jest/test.setup.js +1 -1
  74. package/src/bin/jest/test_before.setup.js +1 -1
  75. package/src/bin/launcher/launcher.js +1 -1
  76. package/src/bin/load/index.js +1 -1
  77. package/src/bin/load/loadErrors.js +1 -1
  78. package/src/bin/load/loadUtils.js +1 -1
  79. package/src/bin/mocha/accessibility-automation/helper.js +1 -1
  80. package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
  81. package/src/bin/mocha/command.js +1 -1
  82. package/src/bin/mocha/test-observability/data-hooks.js +1 -1
  83. package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
  84. package/src/bin/mocha/test.setup.js +1 -1
  85. package/src/bin/newman/command.js +1 -1
  86. package/src/bin/newman/helper.js +1 -1
  87. package/src/bin/newman/reporter/index.js +1 -1
  88. package/src/bin/newman/scriptRunner.js +1 -1
  89. package/src/bin/nightwatch/command.js +1 -1
  90. package/src/bin/node-generic/client.js +1 -1
  91. package/src/bin/playwright/accessibility-helper.js +1 -1
  92. package/src/bin/playwright/command.js +1 -1
  93. package/src/bin/playwright/globalSetup.js +1 -1
  94. package/src/bin/playwright/mock-process.js +1 -1
  95. package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
  96. package/src/bin/playwright/patches.js +1 -1
  97. package/src/bin/playwright/reporter/pwUtils.js +1 -1
  98. package/src/bin/playwright/reporter/reporter.js +1 -1
  99. package/src/bin/playwright/reporter/test-details.js +1 -1
  100. package/src/bin/playwright/reporterArgs.js +1 -1
  101. package/src/bin/playwright/sessionDetails.js +1 -1
  102. package/src/bin/puppeteer/patches.js +1 -1
  103. package/src/bin/puppeteer/sessionDetails.js +1 -1
  104. package/src/bin/puppeteer/test.setup.js +1 -1
  105. package/src/bin/runner.js +1 -1
  106. package/src/bin/setup.js +1 -1
  107. package/src/bin/test-runner/index.js +1 -1
  108. package/src/bin/test-runner/runTest.js +1 -1
  109. package/src/bin/test-runner/testWorker.js +1 -1
  110. package/src/bin/testcafe/a11y-runner.js +1 -1
  111. package/src/bin/testcafe/command.js +1 -1
  112. package/src/bin/testcafe/reporter/index.js +1 -1
  113. package/src/bin/testcafe/reporter/tcUtils.js +1 -1
  114. package/src/bin/testcafe/session-registry.js +1 -1
  115. package/src/bin/testcafe/stdout-interceptor.js +1 -1
  116. package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
  117. package/src/bin/testcafe/w3c-driver.js +1 -1
  118. package/src/bin/utils/apiUtilityMethods.js +1 -1
  119. package/src/bin/utils/clientTroubleshootingService.js +1 -1
  120. package/src/bin/utils/constants.js +1 -1
  121. package/src/bin/utils/log4jsAppender.js +1 -1
  122. package/src/bin/utils/logPatcher.js +1 -1
  123. package/src/bin/utils/logReportingAPI.js +1 -1
  124. package/src/bin/utils/playwright-patcher.js +1 -1
  125. package/src/bin/utils/puppeteer-patcher.js +1 -1
  126. package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
  127. package/src/bin/utils/sharedUtils.js +1 -1
  128. package/src/bin/v2/TestInfo.js +1 -1
  129. package/src/bin/v2/browserstackCLI.js +1 -1
  130. package/src/bin/v2/cliUtils.js +1 -1
  131. package/src/bin/v2/customTagManager.js +1 -1
  132. package/src/bin/v2/eventDispatcher.js +1 -1
  133. package/src/bin/v2/framework/automationFramework.js +1 -1
  134. package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
  135. package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
  136. package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
  137. package/src/bin/v2/framework/jestTestFramework.js +1 -1
  138. package/src/bin/v2/framework/mochaTestFramework.js +1 -1
  139. package/src/bin/v2/framework/newmanTestFramework.js +1 -1
  140. package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
  141. package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
  142. package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
  143. package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
  144. package/src/bin/v2/framework/seleniumAutomationFramework.js +1 -1
  145. package/src/bin/v2/framework/testFramework.js +1 -1
  146. package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
  147. package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
  148. package/src/bin/v2/grpcClient.js +1 -1
  149. package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
  150. package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
  151. package/src/bin/v2/instances/trackedContext.js +1 -1
  152. package/src/bin/v2/instances/trackedInstance.js +1 -1
  153. package/src/bin/v2/modules/accessibilityModule.js +1 -1
  154. package/src/bin/v2/modules/baseModule.js +1 -1
  155. package/src/bin/v2/modules/loadTestModule.js +1 -1
  156. package/src/bin/v2/modules/observabilityModule.js +1 -1
  157. package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
  158. package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
  159. package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
  160. package/src/bin/v2/modules/testhubModule.js +1 -1
  161. package/src/bin/v2/runStateStore.js +1 -1
  162. package/src/bin/v2/sdkErrorHandler.js +1 -1
  163. package/src/bin/v2/state/automationFrameworkState.js +1 -1
  164. package/src/bin/v2/state/hookState.js +1 -1
  165. package/src/bin/v2/state/testFrameworkState.js +1 -1
  166. package/src/bin/v2/uploadAttachmentsManager.js +1 -1
  167. package/src/bin/v2/utils/cucumber-utils.js +1 -1
  168. package/src/bin/v2/utils/jest-utils.js +1 -1
  169. package/src/bin/vanilla-js/command.js +1 -1
  170. package/src/browserStackSdk.js +1 -1
  171. package/src/helpers/BrowserStackSetup.js +1 -1
  172. package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
  173. package/src/helpers/accessibility-automation/constants.js +1 -1
  174. package/src/helpers/accessibility-automation/helper.js +1 -1
  175. package/src/helpers/accessibility-automation/scripts.js +1 -1
  176. package/src/helpers/ats/constants.js +1 -1
  177. package/src/helpers/ats/helper.js +1 -1
  178. package/src/helpers/caCertHelper.js +1 -1
  179. package/src/helpers/capsMapping.js +1 -1
  180. package/src/helpers/central-scanner/constants.js +1 -1
  181. package/src/helpers/central-scanner/helpers.js +1 -1
  182. package/src/helpers/classLogger.js +1 -1
  183. package/src/helpers/driverInitErrorReporter.js +1 -1
  184. package/src/helpers/globals.js +1 -1
  185. package/src/helpers/helper.js +1 -1
  186. package/src/helpers/logger.js +1 -1
  187. package/src/helpers/metadata.js +1 -1
  188. package/src/helpers/patchHelper.js +1 -1
  189. package/src/helpers/patchHelpers.js +1 -1
  190. package/src/helpers/percy/Percy.js +1 -1
  191. package/src/helpers/percy/PercyBinary.js +1 -1
  192. package/src/helpers/percy/PercyCaptureMap.js +1 -1
  193. package/src/helpers/percy/PercyCaptureModes.js +1 -1
  194. package/src/helpers/percy/PercySDK.js +1 -1
  195. package/src/helpers/percy/index.js +1 -1
  196. package/src/helpers/percy/utils.js +1 -1
  197. package/src/helpers/performance/constants.js +1 -1
  198. package/src/helpers/performance/performance-tester.js +1 -1
  199. package/src/helpers/playwright-helper.js +1 -1
  200. package/src/helpers/processHelper.js +1 -1
  201. package/src/helpers/puppeteer-helper.js +1 -1
  202. package/src/helpers/request-spy.js +1 -1
  203. package/src/helpers/setKeepAlive.js +1 -1
  204. package/src/helpers/stackFrameUtils.js +1 -1
  205. package/src/helpers/test-observability/constants.js +1 -1
  206. package/src/helpers/test-observability/error-handler.js +1 -1
  207. package/src/helpers/test-observability/requestQueueHandler.js +1 -1
  208. package/src/helpers/test-observability/sessionHandler.js +1 -1
  209. package/src/helpers/test-observability/utils.js +1 -1
  210. package/src/helpers/test-orchestration/constants.js +1 -1
  211. package/src/helpers/test-orchestration/failfastManager.js +1 -1
  212. package/src/helpers/test-orchestration/fileHelper.js +1 -1
  213. package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
  214. package/src/helpers/test-orchestration/requestUtils.js +1 -1
  215. package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
  216. package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
  217. package/src/helpers/testhub/constants.js +1 -1
  218. package/src/helpers/testhub/testhubHandler.js +1 -1
  219. package/src/helpers/testhub/utils.js +1 -1
  220. package/src/helpers/utilities.js +1 -1
  221. package/src/helpers/w3cMapping.js +1 -1
  222. package/src/hubAllocationMethods.js +1 -1
  223. package/src/index.js +1 -1
@@ -1 +1 @@
1
- function a101_0x3f54(){const _0x4c2a72=['KEY_HOOK_ID','trackEvent','TEST','OQTvy','\x20from\x20TestDetails:\x20','forEach','../cliUtils.js','2661636mFvIZp','POST','Vgdjp','KEY_AUTOMATE_SESSION_NAME','trackPlaywrightInstance','./constants/testFrameworkConstants.js','uqLZI','FZvBP','KEY_TEST_FAILURE_TYPE','KEY_TEST_RESULT_AT','KEY_TEST_LOCATION','AhSKZ','getTraceFilePathsAsync','getRef','xFzxb','trackEvent:\x20found\x20instance,\x20testFrameworkState=','23730GtWHWM','../customTagManager','JIudW','KEY_TEST_ATTACHMENTS','path','TCvtL','sendLogCreatedEvent\x20for\x20testId:\x20','platformIndex','KEY_TEST_NAME','xWQFv','trackStepEvent:\x20exception=','HPmPH','createContext','getTestFrameworksVersions','ggbxH','../state/hookState.js','parent_id','11137689HDeBsd','parallelIndex','getTrackedInstance','KEY_TEST_SCOPE','\x20result=','NONE','step','browserstackPlatformIndex','statSync','getCurrentHookState','PqhCr','../../../helpers/helper.js','../state/testFrameworkState.js','basename','OMcwM','set','\x20testState:\x20','TEST_ATTACHMENT','Error\x20in\x20sendLogCreatedEvent:\x20','testFrameworkVersion','rHRXt','OqoTl','GBaOp','toISOString','stack','fFPnN','sendLogCreatedEvent','trackHookEvent','\x20payload=','testFrameworkState','setTrackedInstance','KWgNH','NVSsR','EVVDM','results','hookState','HWDRc','SLgrO','getTime','format','KEY_EVENT_STARTED_AT','GsQLO','Expected\x20to\x20fail,\x20but\x20passed.','parsePlaywrightTest','getId','vqKSl','duration','\x20response=','getTestDetailsAsync','KEY_TEST_CODE','getThreadId','raGZb','createTestFrameworkEventPayload','vwRUI','YBEVz','eLJtS','pNtoZ','result','../../../helpers/test-observability/utils','WkfBI','KEY_TEST_TAGS','Hook\x20List\x20in\x20Post\x20','KEY_HOOK_RESULT','retry','CbdBL','logs','6147870cwOPCa','trackEvent\x20loading\x20testData\x20for\x20testId:\x20',',\x20testFrameworkState=','bLWtQ','7745384PdMTSD','runHooks','iEbqG','PuNYp','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','KEY_TEST_STARTED_AT','\x20&\x20hook\x20=\x20','KEY_HOOKS_STARTED','2QutpdX','KEY_TEST_FILE_PATH','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20',',\x20state=','MAX_TOP_LEVEL_STEPS','KEY_TEST_SCOPES','JajNB','trim','KEY_EVENT_ENDED_AT','parsePlaywrightTestResult:\x20extracted\x20','test','errors','get','KEY_TEST_RESULT','KEY_TEST_UUID','KEY_TEST_FRAMEWORK_VERSION','DEFAULT_TEST_RESULT','addMultipleEntries','attachments','KEY_HOOK_LAST_FINISHED','message','hanVW','iVlvK','LofDc','CELCQ','DEFAULT_HOOK_RESULT','KEY_HOOK_LAST_STARTED','dywjG','./testFramework','MNhlk','failure','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','split','MIJkX','getCustomTagsAsync','IBzDH','KEY_TEST_ENDED_AT','KEY_CUSTOM_TAGS','pop','PZoZP','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','Error\x20processing\x20direct\x20trace\x20file\x20','toString','\x20testHookState=','Xtekv','parsePlaywrightTestResult','../../utils/constants','../../playwright/reporter/pwUtils','some','trackStepEvent:\x20testId=','INIT_TEST','CIehY','keyword','cpliH','from','rVBue','fail','skip','KEY_LOGS','skipped','\x20steps\x20for\x20testId=','KEY_HOOKS_FINISHED','passed','PYyIw','JZuDy','hook','started_at','\x20hookState=','failed','../grpcClient','\x20batch\x20','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','trackEvent:\x20failed\x20to\x20persist\x20screenshot\x20details:\x20','KEY_TEST_RERUN_NAME','instance','getProcessId','err','lLUZp','getCurrentInstanceName','SQhSr','zKjcV','280004vUtbGp','\x20step=\x22','muAOe','\x20instance=','error','text','eventJson','getInstance','bATJy','filePath','steps','getAllData','../instances/trackedInstance.js','getTestIdentifierFromTestInfo','1631wpaFKR','CMXRL','ZYOuS','KEY_TEST_FAILURE','startTime','uuid','KEY_TEST_FRAMEWORK_NAME','failure_type','jHcCt','createTestFrameworkEventPayload\x20testId:\x20','trackStepEvent','push','size','Error\x20in\x20createTestFrameworkEventPayload:\x20','setTestDetailsAsync','jMOXu','sfPsg','TEST_STEP','PRE','has','expectedStatus','info','oktEn','KEY_HOOK_NAME','resolveInstance','../../../helpers/classLogger.js','trackPlaywrightInstance:\x20created\x20instance\x20for\x20target=','util','FcoJT','exports','sZyFA','KEY_TEST_FAILURE_REASON','432220ryzpAi','getTestUUID','ceil','KEY_TEST_META','slice','fixme','slow','UyiSv','Error\x20processing\x20trace\x20file\x20','Hook\x20Started\x20in\x20PRE\x20key\x20=\x20','inspect','annotations','timedOut','logCreatedEvent','EVtRB','debug','sendLogCreatedEvent:\x20testId=','MAX_NESTED_STEP_DEPTH','zRkwH','concat','\x20and\x20args\x20=\x20','mcJls','length','startedAt','IIcck','title','stringify'];a101_0x3f54=function(){return _0x4c2a72;};return a101_0x3f54();}const a101_0x14896a=a101_0x4776;function a101_0x4776(_0x1ad9ad,_0x37927a){const _0x3f54ed=a101_0x3f54();return a101_0x4776=function(_0x477696,_0x19fcc7){_0x477696=_0x477696-0xe8;let _0x568990=_0x3f54ed[_0x477696];return _0x568990;},a101_0x4776(_0x1ad9ad,_0x37927a);}(function(_0x2c0c33,_0x227aa2){const _0x2b599a=a101_0x4776,_0x4a96b5=_0x2c0c33();while(!![]){try{const _0x111019=parseInt(_0x2b599a(0x11f))/0x1*(parseInt(_0x2b599a(0x1de))/0x2)+parseInt(_0x2b599a(0x16f))/0x3+parseInt(_0x2b599a(0x14d))/0x4+-parseInt(_0x2b599a(0x1d2))/0x5+parseInt(_0x2b599a(0x17f))/0x6*(parseInt(_0x2b599a(0x12d))/0x7)+parseInt(_0x2b599a(0x1d6))/0x8+-parseInt(_0x2b599a(0x190))/0x9;if(_0x111019===_0x227aa2)break;else _0x4a96b5['push'](_0x4a96b5['shift']());}catch(_0x1b9065){_0x4a96b5['push'](_0x4a96b5['shift']());}}}(a101_0x3f54,0xaa608));const TestFramework=require(a101_0x14896a(0xea)),TestFrameworkState=require(a101_0x14896a(0x19c)),HookState=require(a101_0x14896a(0x18e)),{createClassLogger}=require(a101_0x14896a(0x146)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require(a101_0x14896a(0x16e)),TrackedInstance=require(a101_0x14896a(0x12b)),TestFrameworkConstants=require(a101_0x14896a(0x174)),logger=createClassLogger('PlaywrightTestFramework'),{v4:uuidv4}=require(a101_0x14896a(0x132)),util=require(a101_0x14896a(0x148)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a101_0x14896a(0x19b)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a101_0x14896a(0x113)),{removeAnsiColors,getFailureType,failureData}=require(a101_0x14896a(0x1ca)),{getFailureData,getTestTags,getTestRunIdentifier}=require('../../playwright/reporter/pwUtils'),{findNestedKey,sendTraceZip,validateFilePath}=require(a101_0x14896a(0xfd)),path=require(a101_0x14896a(0x183)),fs=require('fs'),helper=require('../../../../src/helpers/helper'),{PLAYWRIGHT_TRACE_LOGS}=require(a101_0x14896a(0xfc)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a101_0x14896a(0x107),a101_0x14896a(0x152),a101_0x14896a(0x153),a101_0x14896a(0x106)]);class PlaywrightTestFramework extends TestFramework{constructor(_0x182c74,_0x41c06f,_0x36af93){super(_0x182c74,_0x41c06f,_0x36af93);}async[a101_0x14896a(0x169)](_0x4faead,_0xf6d64d,_0x358098={}){const _0x8817f5=a101_0x14896a,_0x2bf368={'OQTvy':function(_0x34e2ee,_0x2c5429){return _0x34e2ee===_0x2c5429;},'zKjcV':function(_0x5558f2,_0x1ab51e,_0x9d5c63){return _0x5558f2(_0x1ab51e,_0x9d5c63);},'hanVW':function(_0x331334,_0x267462){return _0x331334===_0x267462;},'PYyIw':function(_0x165511,_0x16272f){return _0x165511===_0x16272f;},'FcoJT':function(_0x484680,_0x933251,_0xfaea15,_0x27691a){return _0x484680(_0x933251,_0xfaea15,_0x27691a);},'IIcck':'test','JZuDy':_0x8817f5(0x115)};super['trackEvent'](_0x4faead,_0xf6d64d,_0x358098);if(_0x2bf368[_0x8817f5(0x16b)](_0x4faead,TestFrameworkState['TEST_SCREENSHOT']))try{const _0x1b50c5=TestInfo[_0x8817f5(0x12c)](_0x358098[_0x8817f5(0x1e8)],_0x358098[_0x8817f5(0x1e8)][_0x8817f5(0x1cf)]);await TestInfo[_0x8817f5(0x13b)](_0x1b50c5,_0x358098[_0x8817f5(0x1c9)],!![]);}catch(_0x34b7dd){logger[_0x8817f5(0x15c)](_0x8817f5(0x116)+(_0x34b7dd&&_0x34b7dd['message']));}if(_0x2bf368[_0x8817f5(0x16b)](_0x4faead,TestFrameworkState[_0x8817f5(0x13e)])){this[_0x8817f5(0x137)](_0x4faead,_0xf6d64d,_0x358098);return;}const _0x317710=this[_0x8817f5(0x145)](_0x4faead,_0xf6d64d,_0x358098);if(!_0x317710)return;logger[_0x8817f5(0x15c)](_0x8817f5(0x17e)+_0x4faead+_0x8817f5(0x111)+_0xf6d64d+'\x20instanceId='+_0x317710[_0x8817f5(0x17c)]());try{if(_0x2bf368[_0x8817f5(0x16b)](_0xf6d64d,HookState[_0x8817f5(0x13f)])&&_0x2bf368[_0x8817f5(0x16b)](_0x4faead,TestFrameworkState['TEST'])){const _0x70277d=_0x358098[_0x8817f5(0x1e8)];logger[_0x8817f5(0x15c)](_0x8817f5(0x1d3)+_0x70277d['id']+'}');const _0x181f92=TestInfo[_0x8817f5(0x14e)](_0x2bf368[_0x8817f5(0x11e)](getTestRunIdentifier,_0x70277d,_0x358098[_0x8817f5(0x1c9)][_0x8817f5(0x1cf)]));_0x317710[_0x8817f5(0x1ef)](await this[_0x8817f5(0x1bb)](_0x181f92,_0x70277d,_0x358098[_0x8817f5(0x1c9)])),logger[_0x8817f5(0x15c)](_0x8817f5(0xed)+_0x70277d['id']+_0x8817f5(0x1d4)+_0x4faead+_0x8817f5(0xf9)+_0xf6d64d+_0x8817f5(0x122)+_0x317710[_0x8817f5(0x17c)]());}if(_0x2bf368[_0x8817f5(0x1f3)](_0xf6d64d,HookState[_0x8817f5(0x170)])&&_0x2bf368[_0x8817f5(0x10d)](_0x4faead,TestFrameworkState[_0x8817f5(0x16a)])){const _0x2fb4e1=_0x358098[_0x8817f5(0x1e8)],_0x55aa44=_0x358098[_0x8817f5(0x1c9)];logger[_0x8817f5(0x15c)](_0x8817f5(0x1da)+_0x2fb4e1['id']);const _0x3f101f=_0x2bf368['zKjcV'](getTestRunIdentifier,_0x2fb4e1,_0x55aa44[_0x8817f5(0x1cf)]),_0xc63671=_0x317710[_0x8817f5(0x12a)]()[_0x8817f5(0x1ea)](_0x3f101f)[TestFrameworkConstants[_0x8817f5(0x1ec)]],{steps:_0x153a5f,logs:_0xc96c41}=_0x2bf368[_0x8817f5(0x149)](getStepsAndLogs,_0x55aa44[_0x8817f5(0x129)],_0xc63671,_0x2bf368[_0x8817f5(0x165)]);_0x317710[_0x8817f5(0x1ef)](await this[_0x8817f5(0xfb)](_0x2fb4e1['id'],_0x55aa44,_0x2fb4e1,_0x153a5f)),await this[_0x8817f5(0x1aa)](_0x317710,_0x4faead,_0xf6d64d,_0x2bf368[_0x8817f5(0x165)],_0x358098,_0xc96c41);}if(CLIUtils['matchHookRegex'](_0x4faead[_0x8817f5(0xf8)]()[_0x8817f5(0xee)]('.')[0x1])){const _0xde83d1=await this[_0x8817f5(0x1ab)](_0x317710,_0x4faead,_0xf6d64d,_0x358098);_0x317710['addMultipleEntries'](_0xde83d1);}}catch(_0x22b393){logger['error'](util['format'](_0x2bf368[_0x8817f5(0x10e)],_0x4faead,_0xf6d64d,_0x358098[_0x8817f5(0x163)],_0x22b393));}_0x358098[_0x8817f5(0x118)]=_0x317710,await this[_0x8817f5(0x1d7)](_0x317710,_0x4faead,_0xf6d64d,_0x358098);}[a101_0x14896a(0x145)](_0x5ab825,_0x1d541b,_0x10b63c={}){const _0x37a40c=a101_0x14896a,_0x3847c2={};_0x3847c2[_0x37a40c(0xf5)]=function(_0x3c371f,_0x1beba3){return _0x3c371f===_0x1beba3;},_0x3847c2['JIudW']=function(_0x4d0674,_0x4a7676){return _0x4d0674===_0x4a7676;};const _0x35cd52=_0x3847c2;let _0x4ce08d=null;return(_0x35cd52[_0x37a40c(0xf5)](_0x5ab825,TestFrameworkState[_0x37a40c(0x100)])||_0x35cd52[_0x37a40c(0x181)](_0x5ab825,TestFrameworkState[_0x37a40c(0x195)]))&&this['trackPlaywrightInstance'](_0x5ab825,_0x10b63c),_0x4ce08d=TestFramework[_0x37a40c(0x192)](),_0x4ce08d;}[a101_0x14896a(0x173)](_0x2ab3b7,_0x1d8361){const _0x4bf52c=a101_0x14896a,_0x35d8ba=CLIUtils[_0x4bf52c(0x11c)](),_0x52075b=TrackedInstance[_0x4bf52c(0x18b)](_0x35d8ba);let _0x3b29b7=null;logger[_0x4bf52c(0x142)](_0x4bf52c(0x147)+_0x35d8ba+_0x4bf52c(0x1e1)+_0x2ab3b7),_0x3b29b7=new TestFrameworkInstance(_0x52075b,this['getTestFrameworks'](),this[_0x4bf52c(0x18c)](),_0x2ab3b7,HookState['NONE']),TestFramework[_0x4bf52c(0x1ae)](_0x52075b,_0x3b29b7),logger['info'](_0x4bf52c(0xf6)+_0x52075b[_0x4bf52c(0x1bc)]()+'\x20target='+_0x35d8ba);}async[a101_0x14896a(0x1bb)](_0x400efc,_0x31ef66,_0x2a3426){const _0x5bf9c7=a101_0x14896a,_0x52c423={'bLWtQ':function(_0x3a15a4,_0x59c254){return _0x3a15a4(_0x59c254);},'rVBue':function(_0x21e630,_0x53c8ed){return _0x21e630(_0x53c8ed);},'jMOXu':function(_0x630049,_0xfd2383){return _0x630049(_0xfd2383);},'EVtRB':function(_0x5bad6f,_0xb847ea,_0x4a6e08){return _0x5bad6f(_0xb847ea,_0x4a6e08);}},_0x1e6cb7=_0x52c423[_0x5bf9c7(0x1d5)](getPlaywrightTestId,_0x31ef66),_0x5b6260=_0x52c423[_0x5bf9c7(0x1d5)](getPlaywrightTestTitle,_0x31ef66),_0x1eae1b=_0x52c423[_0x5bf9c7(0x1d5)](getTestTags,_0x31ef66),_0x1f45c2=_0x52c423[_0x5bf9c7(0x1d5)](getPlaywrightTestCode,_0x31ef66),_0x4dc24c=_0x52c423['rVBue'](getPlaywrightTestFilePath,_0x31ef66),_0xbc1a78=_0x4dc24c,_0x2f425a=_0x52c423[_0x5bf9c7(0x105)](getPlaywrightTestScope,_0x31ef66),_0x26dba1=_0x52c423[_0x5bf9c7(0x13c)](getPlaywrightTestScopes,_0x31ef66),_0x1c844e=_0x52c423[_0x5bf9c7(0x13c)](getPlaywrightSessionName,_0x31ef66),_0x35af89=this['getTestFrameworks']()[0x0],_0x4dc4ec=_0x52c423[_0x5bf9c7(0x15b)](getTestRunIdentifier,_0x31ef66,_0x2a3426['retry']),_0x3875b1={[TestFrameworkConstants[_0x5bf9c7(0x133)]]:_0x35af89,[TestFrameworkConstants[_0x5bf9c7(0x1ed)]]:this['getTestFrameworksVersions']()[_0x35af89],[TestFrameworkConstants['KEY_TEST_LOGS']]:[],[TestFrameworkConstants[_0x5bf9c7(0x10b)]]:{},[TestFrameworkConstants['KEY_HOOKS_STARTED']]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x400efc,[TestFrameworkConstants[_0x5bf9c7(0x1eb)]]:TestFrameworkConstants[_0x5bf9c7(0x1ee)],[TestFrameworkConstants[_0x5bf9c7(0x172)]]:_0x1c844e,[TestFrameworkConstants[_0x5bf9c7(0x1df)]]:_0x4dc24c,[TestFrameworkConstants['KEY_TEST_ID']]:_0x1e6cb7,[TestFrameworkConstants[_0x5bf9c7(0x187)]]:_0x5b6260,[TestFrameworkConstants[_0x5bf9c7(0x179)]]:_0xbc1a78,[TestFrameworkConstants[_0x5bf9c7(0x1c1)]]:_0x1f45c2,[TestFrameworkConstants[_0x5bf9c7(0x1cc)]]:_0x1eae1b,[TestFrameworkConstants[_0x5bf9c7(0x1db)]]:_0x31ef66[_0x5bf9c7(0x1b2)][0x0][_0x5bf9c7(0x131)],[TestFrameworkConstants[_0x5bf9c7(0x193)]]:_0x2f425a,[TestFrameworkConstants[_0x5bf9c7(0x1e3)]]:_0x26dba1,[TestFrameworkConstants[_0x5bf9c7(0x117)]]:_0x52c423[_0x5bf9c7(0x13c)](getPlaywrightCustomRerunParam,_0x31ef66)};await TestInfo['setTestDetailsAsync'](_0x4dc4ec,_0x3875b1);const _0x46272b={};return _0x46272b[_0x4dc4ec]=_0x3875b1,_0x46272b;}async[a101_0x14896a(0xfb)](_0x597c1f,_0x86d7e1,_0x468286,_0x1f87b3){const _0x366fb3=a101_0x14896a,_0x1598eb={'Vgdjp':function(_0x4896c0,_0x11b0a4){return _0x4896c0(_0x11b0a4);},'mcJls':_0x366fb3(0x1a1),'CELCQ':function(_0x25d39b,_0xbd07b7){return _0x25d39b===_0xbd07b7;},'CMXRL':function(_0x172d9e,_0x53d28b){return _0x172d9e===_0x53d28b;},'muAOe':function(_0x572104,_0x4a588e){return _0x572104===_0x4a588e;},'xFzxb':function(_0x3565ba,_0x4d6810){return _0x3565ba(_0x4d6810);},'dywjG':'No\x20reason\x20provided','UyiSv':function(_0x3840df,_0x27677b,_0x5f2854){return _0x3840df(_0x27677b,_0x5f2854);},'YBEVz':function(_0x389394,_0x5c4f5b){return _0x389394===_0x5c4f5b;},'pNtoZ':_0x366fb3(0x109),'HWDRc':'passed','PuNYp':_0x366fb3(0x112),'jHcCt':_0x366fb3(0x159),'qMlaK':function(_0xa1543a,_0xdc0170){return _0xa1543a===_0xdc0170;},'AhSKZ':_0x366fb3(0x1ba),'EVVDM':function(_0x5b77a3,_0x594375,_0x4f5ed7){return _0x5b77a3(_0x594375,_0x4f5ed7);},'PqhCr':function(_0x2e7bea,_0x1327b5){return _0x2e7bea||_0x1327b5;},'uqLZI':function(_0x551d88,_0x3a224d){return _0x551d88(_0x3a224d);},'IBzDH':function(_0x4e542a,_0x30fba0){return _0x4e542a>_0x30fba0;},'sfPsg':function(_0x17a19b,_0x17e67f){return _0x17a19b-_0x17e67f;},'KWgNH':function(_0x23b626,_0x38baf7,_0x19fe7b,_0x145d82){return _0x23b626(_0x38baf7,_0x19fe7b,_0x145d82);},'eLJtS':_0x366fb3(0x1e8),'Xtekv':function(_0x336081,_0x519824){return _0x336081>=_0x519824;},'OUNYU':function(_0x1dca02,_0x3d71ba){return _0x1dca02===_0x3d71ba;},'dPCGM':function(_0x430736,_0x487cf8){return _0x430736+_0x487cf8;},'iVlvK':_0x366fb3(0x183),'AJDwS':function(_0x4d7490,_0x470181){return _0x4d7490(_0x470181);},'oktEn':function(_0x5c7d56,_0x576894){return _0x5c7d56>_0x576894;},'hdSul':function(_0x4ed078,_0x57d409,_0x59774a){return _0x4ed078(_0x57d409,_0x59774a);},'lwtcW':function(_0x40323b,_0x2bb945){return _0x40323b(_0x2bb945);},'CIehY':_0x366fb3(0x180)};logger[_0x366fb3(0x15c)]('parsePlaywrightTestResult:\x20testId='+_0x597c1f);const _0x157c3f=_0x1598eb[_0x366fb3(0x154)](getTestRunIdentifier,_0x468286,_0x86d7e1[_0x366fb3(0x1cf)]),_0x30b800=new Date(),_0x28053b=_0x86d7e1['status'],_0x52809a=await TestInfo[_0x366fb3(0xf0)](_0x157c3f);let _0x523de6=_0x28053b;if(_0x1598eb[_0x366fb3(0x1c6)](_0x86d7e1['status'],_0x468286['expectedStatus']))_0x523de6=_0x1598eb[_0x366fb3(0x1f6)](_0x86d7e1['status'],_0x1598eb[_0x366fb3(0x1c8)])?_0x1598eb[_0x366fb3(0x1c8)]:_0x1598eb[_0x366fb3(0x1b4)];else{(_0x1598eb[_0x366fb3(0x12e)](_0x523de6,_0x1598eb['HWDRc'])||_0x1598eb['CMXRL'](_0x523de6,_0x1598eb[_0x366fb3(0x1d9)])||_0x1598eb[_0x366fb3(0x121)](_0x523de6,_0x1598eb[_0x366fb3(0x135)]))&&(_0x523de6=_0x1598eb[_0x366fb3(0x1d9)]);if(_0x1598eb['muAOe'](_0x86d7e1['status'],_0x1598eb[_0x366fb3(0x1b4)])&&_0x1598eb['qMlaK'](_0x468286[_0x366fb3(0x141)],_0x1598eb[_0x366fb3(0x1d9)])){const _0x401963={};_0x401963['message']=_0x1598eb[_0x366fb3(0x17a)],_0x401963[_0x366fb3(0x1a8)]=_0x1598eb['AhSKZ'],_0x86d7e1[_0x366fb3(0x123)]=_0x401963,_0x86d7e1[_0x366fb3(0x1e9)]=[_0x86d7e1[_0x366fb3(0x123)]];}}const {failureData:_0x19a146,logs:_0x19e7df}=_0x1598eb[_0x366fb3(0x1b1)](getFailureData,_0x86d7e1?.[_0x366fb3(0x1e9)],{}),_0x1eb3e4={[TestFrameworkConstants[_0x366fb3(0x130)]]:_0x1598eb[_0x366fb3(0x19a)](_0x19a146,null),[TestFrameworkConstants[_0x366fb3(0x177)]]:_0x86d7e1?.[_0x366fb3(0x123)]&&_0x1598eb[_0x366fb3(0x175)](getFailureType,_0x86d7e1['error']['message']),[TestFrameworkConstants[_0x366fb3(0x14c)]]:_0x86d7e1?.[_0x366fb3(0x123)]&&_0x1598eb[_0x366fb3(0x175)](removeAnsiColors,_0x86d7e1[_0x366fb3(0x123)][_0x366fb3(0x1f2)]),[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants['KEY_TEST_RESULT']]:_0x523de6,[TestFrameworkConstants[_0x366fb3(0xf2)]]:_0x30b800['toISOString'](),[TestFrameworkConstants[_0x366fb3(0x178)]]:new Date()[_0x366fb3(0x1a7)](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x52809a};if(_0x86d7e1&&_0x1598eb['IBzDH'](_0x86d7e1[_0x366fb3(0x1cf)],0x0)){const _0x188e1a=TestInfo[_0x366fb3(0x14e)](_0x1598eb['EVVDM'](getTestRunIdentifier,_0x468286,_0x1598eb[_0x366fb3(0x13d)](_0x86d7e1[_0x366fb3(0x1cf)],0x1)));_0x1eb3e4[TestFrameworkConstants['KEY_TEST_RETRY_OF']]=_0x188e1a;}const _0xe06aec={};_0xe06aec[_0x366fb3(0x1e8)]=_0x468286;const _0x4d4ccc=this[_0x366fb3(0x145)](TestFrameworkState[_0x366fb3(0x16a)],HookState[_0x366fb3(0x170)],_0xe06aec),_0x3e02a6=_0x4d4ccc[_0x366fb3(0x12a)]()[_0x366fb3(0x1ea)](_0x157c3f)[TestFrameworkConstants[_0x366fb3(0x1ec)]],_0x4db90d=_0x1f87b3||_0x1598eb[_0x366fb3(0x1af)](getStepsAndLogs,_0x86d7e1['steps'],_0x3e02a6,_0x1598eb[_0x366fb3(0x1c7)])[_0x366fb3(0x129)],_0x466fea=new Map(),_0x42b58d=new Map();let _0x2b0d69=0x0;const _0x1975aa=[];for(const _0x153120 of _0x4db90d||[]){const _0x78f5ef=_0x153120[_0x366fb3(0x18f)]||null;let _0x3e806f;if(_0x1598eb['YBEVz'](_0x78f5ef,null)){if(_0x1598eb[_0x366fb3(0xfa)](_0x2b0d69,TestFrameworkConstants[_0x366fb3(0x1e2)]))continue;_0x3e806f=0x0,_0x2b0d69++;}else{const _0x25fc93=_0x466fea[_0x366fb3(0x1ea)](_0x78f5ef);if(_0x1598eb['OUNYU'](_0x25fc93,undefined))continue;_0x3e806f=_0x1598eb['dPCGM'](_0x25fc93,0x1);if(_0x1598eb['IBzDH'](_0x3e806f,TestFrameworkConstants[_0x366fb3(0x15e)]))continue;}_0x466fea[_0x366fb3(0x19f)](_0x153120['id'],_0x3e806f),_0x42b58d['set'](_0x153120['id'],_0x153120[_0x366fb3(0x124)]),_0x1975aa['push']({'id':_0x153120['id'],'parent_id':_0x78f5ef,'parent_text':_0x78f5ef?_0x42b58d[_0x366fb3(0x1ea)](_0x78f5ef)||'':'','text':_0x153120['text'],'keyword':_0x153120[_0x366fb3(0x102)]||null,'started_at':_0x153120[_0x366fb3(0x110)],'duration':_0x153120[_0x366fb3(0x1be)]??null,'result':_0x153120[_0x366fb3(0x1c9)],'failure':_0x153120[_0x366fb3(0xec)]||null,'failure_type':_0x153120[_0x366fb3(0x134)]||null});}const _0x36e843={};_0x36e843[_0x366fb3(0x129)]=_0x1975aa,_0x1eb3e4[TestFrameworkConstants[_0x366fb3(0x150)]]=_0x36e843,logger['debug'](_0x366fb3(0x1e7)+_0x1975aa[_0x366fb3(0x163)]+_0x366fb3(0x10a)+_0x597c1f);const _0x50c214=[],_0x2465ce=_0x1598eb[_0x366fb3(0x154)](findNestedKey,_0x86d7e1,_0x1598eb[_0x366fb3(0x1f4)]);if(_0x2465ce&&_0x1598eb['AJDwS'](validateFilePath,_0x2465ce))try{_0x50c214['push']({'kind':_0x1598eb[_0x366fb3(0x162)],'timestamp':new Date()[_0x366fb3(0x1a7)](),'test_run_uuid':_0x3e02a6,'file_name':path[_0x366fb3(0x19d)](_0x2465ce),'file_size':fs[_0x366fb3(0x198)](_0x2465ce)[_0x366fb3(0x139)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x1c8073){logger[_0x366fb3(0x123)](_0x366fb3(0xf7)+_0x2465ce+':\x20'+_0x1c8073[_0x366fb3(0x1f2)]);}const _0x5b1738=await TestInfo[_0x366fb3(0x17b)](_0x3e02a6);_0x5b1738[_0x366fb3(0x16d)](_0x52cd30=>{const _0x8c761e=_0x366fb3;if(_0x52cd30[_0x8c761e(0x128)]&&_0x1598eb[_0x8c761e(0x171)](validateFilePath,_0x52cd30[_0x8c761e(0x128)])&&!_0x50c214[_0x8c761e(0xfe)](_0x56b077=>_0x56b077['file_name']===path[_0x8c761e(0x19d)](_0x52cd30[_0x8c761e(0x128)])))try{_0x50c214['push']({'kind':_0x1598eb[_0x8c761e(0x162)],'timestamp':new Date()[_0x8c761e(0x1a7)](),'test_run_uuid':_0x3e02a6,'file_name':path[_0x8c761e(0x19d)](_0x52cd30['filePath']),'file_size':fs[_0x8c761e(0x198)](_0x52cd30['filePath'])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0xc1ea3c){logger[_0x8c761e(0x123)](_0x8c761e(0x155)+_0x52cd30[_0x8c761e(0x128)]+_0x8c761e(0x16c)+_0xc1ea3c['message']);}});if(_0x1598eb[_0x366fb3(0x143)](_0x50c214[_0x366fb3(0x163)],0x0)){const _0xdb2568=_0x1eb3e4[TestFrameworkConstants[_0x366fb3(0x108)]]||[];_0x1eb3e4[TestFrameworkConstants[_0x366fb3(0x108)]]=[..._0xdb2568,..._0x50c214];}const _0xc4ff63=(await TestInfo['getTestDetailsAsync'](_0x157c3f))[TestFrameworkConstants[_0x366fb3(0x182)]]||{},_0x1e7e5b=_0x1598eb['hdSul'](getManualUploadLogs,_0xc4ff63,_0x4d4ccc[_0x366fb3(0x12a)]()[_0x366fb3(0x1ea)](_0x157c3f)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x1598eb[_0x366fb3(0xf1)](_0x1e7e5b['length'],0x0)){const _0x23bdea=_0x1eb3e4[TestFrameworkConstants[_0x366fb3(0x108)]]||[];_0x1eb3e4[TestFrameworkConstants[_0x366fb3(0x108)]]=[..._0x23bdea,..._0x1e7e5b];}const _0x58ee09=_0x468286[_0x366fb3(0x158)]||[],_0x9d7ec3=_0x1eb3e4[TestFrameworkConstants[_0x366fb3(0xf3)]]||{},_0x43c9da=_0x1598eb['lwtcW'](require,_0x1598eb[_0x366fb3(0x101)]);_0x58ee09['forEach'](_0xb6cf2a=>{const _0x2f72b7=_0x366fb3,{type:_0x5d8be9}=_0xb6cf2a;let _0xa98c7e=_0xb6cf2a['description'];if(!_0x5d8be9)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS[_0x2f72b7(0x140)](_0x5d8be9))return;(_0x1598eb[_0x2f72b7(0x1f6)](_0xa98c7e,undefined)||_0x1598eb[_0x2f72b7(0x12e)](_0xa98c7e,null)||_0x1598eb['muAOe'](_0x1598eb[_0x2f72b7(0x17d)](String,_0xa98c7e)[_0x2f72b7(0x1e5)](),''))&&(_0xa98c7e=_0x1598eb[_0x2f72b7(0xe9)]);const _0x229cdb=helper['parseCommaSeparatedValues'](_0x1598eb[_0x2f72b7(0x17d)](String,_0xa98c7e));_0x43c9da['mergeIntoTags'](_0x9d7ec3,_0x5d8be9,_0x229cdb);}),_0x1eb3e4[TestFrameworkConstants[_0x366fb3(0xf3)]]=_0x9d7ec3,await TestInfo['setTestDetailsAsync'](_0x157c3f,_0x1eb3e4);const _0x20213c={};return _0x20213c[_0x157c3f]=_0x1eb3e4,_0x20213c;}['trackStepEvent'](_0x4a38c0,_0x483953,_0x524dcc){const _0xc08926=a101_0x14896a,_0x579c3e={'ggbxH':function(_0x4c7bf8,_0x48f241){return _0x4c7bf8||_0x48f241;},'lLUZp':function(_0x1d1d46,_0x322980,_0x22dce3){return _0x1d1d46(_0x322980,_0x22dce3);}};try{const {test:_0x265c5b,result:_0x545d0c,step:_0x53777b}=_0x524dcc;if(_0x579c3e[_0xc08926(0x18d)](!_0x265c5b,!_0x53777b)||!_0x545d0c)return;const _0x3926ee=_0x579c3e[_0xc08926(0x11b)](getTestRunIdentifier,_0x265c5b,_0x545d0c['retry']);logger[_0xc08926(0x15c)](_0xc08926(0xff)+_0x3926ee+'\x20hookState='+_0x483953+_0xc08926(0x120)+_0x53777b[_0xc08926(0x166)]+'\x22');}catch(_0x1cacbc){logger[_0xc08926(0x123)](_0xc08926(0x189)+util[_0xc08926(0x1b7)](_0x1cacbc));}}async[a101_0x14896a(0x1ab)](_0x30f7c8,_0x13230e,_0x33ffea,_0x4d8db3){const _0x133df7=a101_0x14896a,_0x1ada24={'eRrYn':function(_0x518bda,_0x4501ef,_0x186077){return _0x518bda(_0x4501ef,_0x186077);},'qGMZS':function(_0x1e1999,_0x38560e){return _0x1e1999 in _0x38560e;},'xWQFv':function(_0xe79638,_0x52283d){return _0xe79638 in _0x52283d;},'raGZb':function(_0xb36308,_0x1e1f6c){return _0xb36308(_0x1e1f6c);},'CbdBL':function(_0x29880a,_0x4fa217){return _0x29880a===_0x4fa217;},'NVSsR':function(_0x1fc111){return _0x1fc111();},'GBaOp':function(_0x3a2dd4,_0x46a6f3){return _0x3a2dd4>_0x46a6f3;},'HPmPH':_0x133df7(0x11a),'LofDc':function(_0x2f1776,_0x5c8f0e){return _0x2f1776(_0x5c8f0e);},'WkfBI':function(_0xcf8a50,_0xd1a60f){return _0xcf8a50(_0xd1a60f);},'sZyFA':'failed','OMcwM':_0x133df7(0x10c),'NvOhZ':function(_0x109695,_0x98a58a){return _0x109695!==_0x98a58a;},'vwRUI':function(_0xd76d63,_0x42d498){return _0xd76d63+_0x42d498;},'ZYOuS':_0x133df7(0x10f)},_0x4b1008=_0x4d8db3[_0x133df7(0x1e8)],_0x4b11f2=_0x4d8db3[_0x133df7(0x196)],_0x5224f1=_0x1ada24['eRrYn'](getTestRunIdentifier,_0x4b1008,_0x4d8db3[_0x133df7(0x1c9)][_0x133df7(0x1cf)]),_0x33879d=_0x13230e[_0x133df7(0xf8)]()[_0x133df7(0xee)]('.')[0x1];let _0x9384b1=_0x30f7c8[_0x133df7(0x12a)]()['get'](_0x5224f1)[TestFrameworkConstants[_0x133df7(0x1dd)]];!_0x9384b1&&(_0x9384b1={});!_0x1ada24['qGMZS'](_0x33879d,_0x9384b1)&&(_0x9384b1[_0x33879d]=[]);let _0x5b0caf=_0x30f7c8[_0x133df7(0x12a)]()[_0x133df7(0x1ea)](_0x5224f1)[TestFrameworkConstants[_0x133df7(0x10b)]];!_0x5b0caf&&(_0x5b0caf={});!_0x1ada24[_0x133df7(0x188)](_0x33879d,_0x5b0caf)&&(_0x5b0caf[_0x33879d]=[]);const _0x3cf912={[TestFrameworkConstants[_0x133df7(0x1dd)]]:_0x9384b1,[TestFrameworkConstants[_0x133df7(0x10b)]]:_0x5b0caf},_0x476c0a={};_0x476c0a[_0x5224f1]=_0x3cf912;const _0x51d488=_0x476c0a,_0x243dbd=_0x1ada24[_0x133df7(0x1c3)](getPlaywrightTestFilePath,_0x4b1008),_0x3ab396=_0x243dbd,_0x4312cf=await TestInfo['getCustomTagsAsync'](_0x5224f1);if(_0x1ada24['CbdBL'](_0x33ffea,HookState[_0x133df7(0x13f)])){const _0x1a0ada={'key':_0x33879d,[TestFrameworkConstants[_0x133df7(0x168)]]:_0x1ada24[_0x133df7(0x1b0)](uuidv4),[TestFrameworkConstants['KEY_HOOK_RESULT']]:TestFrameworkConstants[_0x133df7(0x1f7)],[TestFrameworkConstants[_0x133df7(0x1b8)]]:_0x4b11f2[_0x133df7(0x131)],[TestFrameworkConstants['KEY_HOOK_LOGS']]:[],[TestFrameworkConstants[_0x133df7(0x144)]]:_0x4b11f2[_0x133df7(0x166)],[TestFrameworkConstants[_0x133df7(0x1df)]]:_0x243dbd,[TestFrameworkConstants[_0x133df7(0x179)]]:_0x3ab396,[TestFrameworkConstants[_0x133df7(0xf3)]]:_0x4312cf};_0x9384b1[_0x33879d][_0x133df7(0x138)](_0x1a0ada),_0x51d488[_0x5224f1][TestFrameworkConstants[_0x133df7(0xe8)]]=_0x33879d,logger[_0x133df7(0x15c)](_0x133df7(0x156)+_0x33879d+_0x133df7(0x1dc)+_0x1a0ada+'\x20\x20and\x20args\x20=\x20'+_0x4d8db3);}else{if(_0x1ada24[_0x133df7(0x1d0)](_0x33ffea,HookState['POST'])){const _0x49acd6=await _0x4d8db3[_0x133df7(0x1c9)],_0x47dedb=_0x9384b1[_0x33879d]||[],_0x2251f7=_0x4d8db3[_0x133df7(0x196)];logger[_0x133df7(0x15c)](_0x133df7(0x1cd)+_0x47dedb+_0x133df7(0x161)+_0x4d8db3);if(_0x1ada24[_0x133df7(0x1a6)](_0x47dedb[_0x133df7(0x163)],0x0)){const _0x312b8f=_0x47dedb[_0x133df7(0xf4)]();if(_0x2251f7[_0x133df7(0x123)]){const _0x21d9c0=_0x1ada24['eRrYn'](failureData,_0x2251f7[_0x133df7(0x123)],_0x1ada24[_0x133df7(0x18a)]);_0x312b8f[TestFrameworkConstants['KEY_HOOK_FAILURE_TYPE']]=_0x1ada24[_0x133df7(0x1f5)](getFailureType,_0x2251f7?.['error'][_0x133df7(0x1f2)]),_0x312b8f[TestFrameworkConstants['KEY_HOOK_FAILURE_REASON']]=_0x1ada24[_0x133df7(0x1cb)](removeAnsiColors,_0x2251f7?.[_0x133df7(0x123)][_0x133df7(0x1f2)]),_0x312b8f[TestFrameworkConstants[_0x133df7(0x1ce)]]=_0x1ada24[_0x133df7(0x14b)],_0x312b8f[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x21d9c0;}else _0x312b8f[TestFrameworkConstants['KEY_HOOK_RESULT']]=_0x1ada24[_0x133df7(0x19e)];_0x1ada24['NvOhZ'](_0x49acd6,TestFrameworkConstants['DEFAULT_HOOK_RESULT'])&&(_0x312b8f[TestFrameworkConstants[_0x133df7(0x1ce)]]=!_0x2251f7[_0x133df7(0x123)]?_0x1ada24[_0x133df7(0x19e)]:_0x1ada24[_0x133df7(0x14b)]);const _0x365768=new Date(_0x2251f7[_0x133df7(0x131)]),_0x20a009=new Date(_0x1ada24[_0x133df7(0x1c5)](_0x365768[_0x133df7(0x1b6)](),_0x2251f7['duration']));_0x312b8f[TestFrameworkConstants[_0x133df7(0x1e6)]]=_0x20a009[_0x133df7(0x1a7)](),_0x312b8f[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x4312cf;const _0x1d3318=_0x312b8f[TestFrameworkConstants[_0x133df7(0x168)]];await this['sendLogCreatedEvent'](_0x30f7c8,_0x13230e,_0x1d3318,_0x1ada24[_0x133df7(0x12f)],_0x4d8db3),!_0x5b0caf[_0x33879d]&&(_0x5b0caf[_0x33879d]=[]),_0x5b0caf[_0x33879d]['push'](_0x312b8f),_0x51d488[_0x5224f1][TestFrameworkConstants[_0x133df7(0x1f1)]]=_0x33879d;}}}return _0x51d488;}async[a101_0x14896a(0x1aa)](_0x46cc23,_0x2a3e96,_0x25ff18,_0x2f7c27,_0x35ce8c,_0x471192){const _0x19c3eb=a101_0x14896a,_0x339495={'TCvtL':function(_0xffb999,_0x576307){return _0xffb999===_0x576307;},'SQhSr':'test','yZHLW':function(_0x40d201,_0x361277,_0x22ceeb){return _0x40d201(_0x361277,_0x22ceeb);},'FZvBP':function(_0x1db141,_0x5d999f,_0x596895){return _0x1db141(_0x5d999f,_0x596895);},'eBHdA':_0x19c3eb(0x1f0),'cpliH':function(_0x19d4b6,_0x121be4){return _0x19d4b6>_0x121be4;},'GsQLO':function(_0x180d06,_0x48d3c5,_0x3c120f,_0x2fbbba){return _0x180d06(_0x48d3c5,_0x3c120f,_0x2fbbba);},'KCvhC':function(_0x2cec8e,_0x4743c9,_0x12ad09){return _0x2cec8e(_0x4743c9,_0x12ad09);},'bATJy':function(_0x1e6557,_0x2ac738,_0x2e2ed0){return _0x1e6557(_0x2ac738,_0x2e2ed0);},'iEbqG':function(_0xbe53c5,_0x4b19c0){return _0xbe53c5/_0x4b19c0;},'MNhlk':function(_0x4fdf9a,_0x419f4e){return _0x4fdf9a<_0x419f4e;},'vqKSl':function(_0x4b9223,_0x3f421f){return _0x4b9223*_0x3f421f;},'VpWKy':function(_0x323e2f,_0x43441f){return _0x323e2f+_0x43441f;},'fFPnN':function(_0x54cf16,_0x21cb1f,_0x63f64b,_0x2679f1,_0x4807fb){return _0x54cf16(_0x21cb1f,_0x63f64b,_0x2679f1,_0x4807fb);},'SLgrO':function(_0x530ec6,_0x4b8668){return _0x530ec6+_0x4b8668;},'OqoTl':function(_0xeea207,_0x21ad49,_0x31c29e,_0x116acf){return _0xeea207(_0x21ad49,_0x31c29e,_0x116acf);},'MIJkX':_0x19c3eb(0x10f),'JajNB':function(_0x2177fd,_0x170663,_0x2a638b){return _0x2177fd(_0x170663,_0x2a638b);}};try{if(_0x339495[_0x19c3eb(0x184)](_0x2f7c27,_0x339495['SQhSr'])){const _0x65b18d=await _0x35ce8c[_0x19c3eb(0x1c9)],_0x53e725=_0x339495['yZHLW'](getTestRunIdentifier,_0x35ce8c[_0x19c3eb(0x1e8)],_0x35ce8c['result'][_0x19c3eb(0x1cf)]),_0x5e81cd=_0x35ce8c[_0x19c3eb(0x1e8)];logger['debug'](_0x19c3eb(0x15d)+_0x53e725+_0x19c3eb(0x194)+util[_0x19c3eb(0x157)](_0x65b18d));const _0x58e43e=_0x46cc23[_0x19c3eb(0x12a)]()['get'](_0x53e725)[TestFrameworkConstants[_0x19c3eb(0x1ec)]];await _0x339495[_0x19c3eb(0x176)](sendTraceZip,_0x65b18d,_0x58e43e);const _0x305d22=(await TestInfo[_0x19c3eb(0x1c0)](_0x53e725))[_0x339495['eBHdA']],_0x11beba={};if(_0x305d22&&_0x339495[_0x19c3eb(0x103)](_0x305d22[_0x19c3eb(0x163)],0x0)){!_0x65b18d['attachments']&&(_0x65b18d[_0x19c3eb(0x1f0)]=[]);_0x11beba[_0x19c3eb(0x1f0)]=_0x65b18d[_0x19c3eb(0x1f0)]['concat'](_0x305d22||[]);const _0x7c2ca7={};_0x7c2ca7[_0x19c3eb(0x1f0)]=[],await TestInfo[_0x19c3eb(0x13b)](_0x53e725,_0x7c2ca7);}const _0x1941bd=_0x471192||_0x339495[_0x19c3eb(0x1b9)](getStepsAndLogs,_0x65b18d[_0x19c3eb(0x129)],_0x46cc23[_0x19c3eb(0x12a)]()[_0x19c3eb(0x1ea)](_0x53e725)[TestFrameworkConstants[_0x19c3eb(0x1ec)]],_0x339495[_0x19c3eb(0x11d)])[_0x19c3eb(0x1d1)],_0x50bc3b=_0x339495['FZvBP'](getScreenshots,_0x11beba,_0x46cc23[_0x19c3eb(0x12a)]()[_0x19c3eb(0x1ea)](_0x53e725)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x3e1a4f=_0x339495['KCvhC'](getVideos,_0x65b18d,_0x46cc23[_0x19c3eb(0x12a)]()[_0x19c3eb(0x1ea)](_0x53e725)[TestFrameworkConstants[_0x19c3eb(0x1ec)]]),{_:_0x49edf3,logs:_0x42d020}=_0x339495[_0x19c3eb(0x176)](getFailureData,_0x65b18d['errors'],{'test_run_uuid':_0x46cc23[_0x19c3eb(0x12a)]()[_0x19c3eb(0x1ea)](_0x53e725)[TestFrameworkConstants[_0x19c3eb(0x1ec)]]}),_0x4806fb=(await TestInfo['getTestDetailsAsync'](_0x53e725))[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x3df4ee=_0x339495[_0x19c3eb(0x127)](getMediaArtifactsLogs,_0x4806fb,_0x46cc23[_0x19c3eb(0x12a)]()[_0x19c3eb(0x1ea)](_0x53e725)[TestFrameworkConstants[_0x19c3eb(0x1ec)]]),_0xb9078b=_0x46cc23[_0x19c3eb(0x12a)]()[_0x19c3eb(0x1ea)](_0x53e725),{[TestFrameworkConstants[_0x19c3eb(0x133)]]:_0x20466c='',[TestFrameworkConstants[_0x19c3eb(0x1ed)]]:_0x4eccf9=''}=_0xb9078b,_0x184c96=(_0x1941bd||[])[_0x19c3eb(0x160)](_0x50bc3b||[])[_0x19c3eb(0x160)](_0x42d020||[])[_0x19c3eb(0x160)](_0x3e1a4f||[])[_0x19c3eb(0x160)](_0x3df4ee||[]),_0x57df5c=0x28,_0x992f65=Math[_0x19c3eb(0x14f)](_0x339495[_0x19c3eb(0x1d8)](_0x184c96[_0x19c3eb(0x163)],_0x57df5c));for(let _0x44438f=0x0;_0x339495[_0x19c3eb(0xeb)](_0x44438f,_0x992f65);_0x44438f++){const _0x22946c=_0x339495[_0x19c3eb(0x1bd)](_0x44438f,_0x57df5c),_0x5ee83a=_0x339495['VpWKy'](_0x22946c,_0x57df5c),_0x813595=_0x184c96[_0x19c3eb(0x151)](_0x22946c,_0x5ee83a),_0x56f40a={'platformIndex':global?.[_0x19c3eb(0x197)]??0x0,'logs':_0x813595,'testFrameworkName':_0x20466c,'testFrameworkVersion':_0x4eccf9,'testFrameworkState':_0x2a3e96[_0x19c3eb(0xf8)]()['split']('.')[0x1]};_0x339495[_0x19c3eb(0x1a9)](updatePayloadForTraceLogs,_0x56f40a,_0x35ce8c,_0x53e725,_0x46cc23),logger[_0x19c3eb(0x15c)](_0x19c3eb(0x185)+_0x53e725+_0x19c3eb(0x114)+_0x339495[_0x19c3eb(0x1b5)](_0x44438f,0x1)+'/'+_0x992f65+_0x19c3eb(0x1ac)+util[_0x19c3eb(0x157)](_0x56f40a));const _0x2868e2=await GrpcClient[_0x19c3eb(0x126)]()['logCreatedEvent'](_0x56f40a);logger[_0x19c3eb(0x15c)](_0x19c3eb(0x185)+_0x53e725+'\x20batch\x20'+_0x339495['SLgrO'](_0x44438f,0x1)+'/'+_0x992f65+_0x19c3eb(0x1bf)+util['inspect'](_0x2868e2));}}else{const {logs:_0x1d62aa}=_0x339495[_0x19c3eb(0x1a5)](getStepsAndLogs,_0x35ce8c['step'][_0x19c3eb(0x129)],_0x25ff18,_0x339495[_0x19c3eb(0xef)]),_0xb01024=_0x339495[_0x19c3eb(0x1e4)](getTestRunIdentifier,_0x35ce8c[_0x19c3eb(0x1e8)],_0x35ce8c[_0x19c3eb(0x1c9)][_0x19c3eb(0x1cf)]);logger[_0x19c3eb(0x15c)](_0x19c3eb(0x15d)+_0xb01024);const _0x51a6e7=_0x46cc23[_0x19c3eb(0x12a)]()[_0x19c3eb(0x1ea)](_0xb01024),{[TestFrameworkConstants[_0x19c3eb(0x133)]]:_0x3aa5ad='',[TestFrameworkConstants[_0x19c3eb(0x1ed)]]:_0x43576c=''}=_0x51a6e7,_0xd01fdb={'platformIndex':'0','logs':_0x1d62aa,'testFrameworkName':_0x3aa5ad,'testFrameworkVersion':_0x43576c,'testFrameworkState':_0x2a3e96[_0x19c3eb(0xf8)]()[_0x19c3eb(0xee)]('.')[0x1]};_0x339495[_0x19c3eb(0x1a9)](updatePayloadForTraceLogs,_0xd01fdb,_0x35ce8c,_0xb01024,_0x46cc23),logger[_0x19c3eb(0x15c)](_0x19c3eb(0x185)+_0xb01024+_0x19c3eb(0x1ac)+util[_0x19c3eb(0x157)](_0xd01fdb));const _0x5bb190=await GrpcClient['getInstance']()[_0x19c3eb(0x15a)](_0xd01fdb);}}catch(_0x23eca8){logger['error'](_0x19c3eb(0x1a2)+util['format'](_0x23eca8));}}[a101_0x14896a(0x1c4)](_0x3b28a1){const _0x567231=a101_0x14896a,_0x3f53b6={'rHRXt':function(_0x3c80f7,_0x37b58e,_0x37b0b0){return _0x3c80f7(_0x37b58e,_0x37b0b0);},'zRkwH':function(_0x32fafb,_0x134b41){return _0x32fafb<_0x134b41;},'iAsuS':'base64'};try{const _0x425e7e=_0x3b28a1[_0x567231(0x1e8)]['id'],_0x4eff7e=_0x3f53b6[_0x567231(0x1a4)](getTestRunIdentifier,_0x3b28a1[_0x567231(0x1e8)],_0x3b28a1[_0x567231(0x1c9)]['retry']),_0x305109=_0x3b28a1['instance'],_0xf7f0c5=_0x305109['getContext'](),_0x4b95a4=_0x305109[_0x567231(0x12a)]()[_0x567231(0x1ea)](_0x4eff7e);logger[_0x567231(0x15c)](_0x567231(0x136)+_0x425e7e);const {[TestFrameworkConstants[_0x567231(0x133)]]:_0x11b493='',[TestFrameworkConstants[_0x567231(0x1ed)]]:_0xd7aeaa='',[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x222041='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0x1924f0=''}=_0x4b95a4,_0x2ab8e7=_0x305109['getCurrentTestState']()['toString']()['split']('.')[0x1],_0x4bd11f=_0x305109[_0x567231(0x199)]()[_0x567231(0xf8)]()['split']('.')[0x1],_0x4ef235=_0x3f53b6[_0x567231(0x15f)](_0x3b28a1?.[_0x567231(0x1c9)]?.[_0x567231(0x191)]??0x0,0x0)?0x0:_0x3b28a1?.[_0x567231(0x1c9)]?.[_0x567231(0x191)]??0x0,_0x9d7933=_0x305109[_0x567231(0x17c)](),_0x284dfc=Buffer[_0x567231(0x104)](JSON[_0x567231(0x167)](_0x4b95a4))[_0x567231(0xf8)](_0x3f53b6['iAsuS']),_0x34ac67={'hash':_0xf7f0c5[_0x567231(0x1bc)](),'threadId':_0xf7f0c5[_0x567231(0x1c2)]()['toString'](),'processId':_0xf7f0c5[_0x567231(0x119)]()[_0x567231(0xf8)]()},_0x307ea1={};_0x307ea1[_0x567231(0x186)]=_0x4ef235,_0x307ea1['testFrameworkName']=_0x11b493,_0x307ea1[_0x567231(0x1a3)]=_0xd7aeaa,_0x307ea1[_0x567231(0x1ad)]=_0x2ab8e7,_0x307ea1[_0x567231(0x1b3)]=_0x4bd11f,_0x307ea1[_0x567231(0x164)]=_0x222041,_0x307ea1['endedAt']=_0x1924f0,_0x307ea1['uuid']=_0x9d7933,_0x307ea1[_0x567231(0x125)]=_0x284dfc,_0x307ea1['executionContext']=_0x34ac67;const _0x5239d2=_0x307ea1;return logger['debug'](_0x567231(0x1e0)+_0x425e7e+_0x567231(0x1a0)+_0x2ab8e7+'\x20hookState:\x20'+_0x4bd11f),_0x5239d2;}catch(_0x4d5256){return logger[_0x567231(0x123)](_0x567231(0x13a)+util[_0x567231(0x1b7)](_0x4d5256)),{};}}}module[a101_0x14896a(0x14a)]=PlaywrightTestFramework;
1
+ const a101_0x5bc0a2=a101_0x119f;(function(_0xc52a33,_0x5ed33d){const _0x370df2=a101_0x119f,_0x511b59=_0xc52a33();while(!![]){try{const _0x24ef5b=-parseInt(_0x370df2(0x143))/0x1+-parseInt(_0x370df2(0x1f9))/0x2+-parseInt(_0x370df2(0x1b8))/0x3*(-parseInt(_0x370df2(0x135))/0x4)+parseInt(_0x370df2(0x20c))/0x5*(-parseInt(_0x370df2(0x128))/0x6)+parseInt(_0x370df2(0x170))/0x7+parseInt(_0x370df2(0x1b2))/0x8*(parseInt(_0x370df2(0x174))/0x9)+-parseInt(_0x370df2(0x197))/0xa*(-parseInt(_0x370df2(0x18e))/0xb);if(_0x24ef5b===_0x5ed33d)break;else _0x511b59['push'](_0x511b59['shift']());}catch(_0x193bf8){_0x511b59['push'](_0x511b59['shift']());}}}(a101_0x236b,0xdaac6));const TestFramework=require(a101_0x5bc0a2(0x1bc)),TestFrameworkState=require('../state/testFrameworkState.js'),HookState=require(a101_0x5bc0a2(0x1c9)),{createClassLogger}=require(a101_0x5bc0a2(0x189)),TestFrameworkInstance=require('../instances/testFrameworkInstance.js'),CLIUtils=require('../cliUtils.js'),TrackedInstance=require(a101_0x5bc0a2(0x132)),TestFrameworkConstants=require('./constants/testFrameworkConstants.js'),logger=createClassLogger(a101_0x5bc0a2(0x1dc)),{v4:uuidv4}=require(a101_0x5bc0a2(0x1a9)),util=require(a101_0x5bc0a2(0x136)),{getPlaywrightSessionName,getPlaywrightTestFilePath,getPlaywrightTestId,getPlaywrightTestTitle,getPlaywrightTestTags,getPlaywrightTestCode,getPlaywrightTestScope,getPlaywrightTestScopes,getStepsAndLogs,getScreenshots,getVideos,getPlaywrightCustomRerunParam,getMediaArtifactsLogs,getManualUploadLogs,updatePayloadForTraceLogs}=require(a101_0x5bc0a2(0x1d2)),TestInfo=require('../TestInfo.js'),GrpcClient=require(a101_0x5bc0a2(0x17f)),{removeAnsiColors,getFailureType,failureData}=require(a101_0x5bc0a2(0x227)),{getFailureData,getTestTags,getTestRunIdentifier}=require(a101_0x5bc0a2(0x1dd)),{findNestedKey,sendTraceZip,validateFilePath}=require(a101_0x5bc0a2(0x1dd)),path=require(a101_0x5bc0a2(0x1c2)),fs=require('fs'),helper=require(a101_0x5bc0a2(0x15b)),{PLAYWRIGHT_TRACE_LOGS}=require(a101_0x5bc0a2(0x158)),PLAYWRIGHT_BUILTIN_ANNOTATIONS=new Set([a101_0x5bc0a2(0x21e),'fixme',a101_0x5bc0a2(0x1a1),a101_0x5bc0a2(0x1d1)]);class PlaywrightTestFramework extends TestFramework{constructor(_0x17b043,_0x32b0c1,_0x486b9b){super(_0x17b043,_0x32b0c1,_0x486b9b);}async[a101_0x5bc0a2(0x20b)](_0x5a0513,_0x3aa1e4,_0x1e76ee={}){const _0x1b049b=a101_0x5bc0a2,_0x3b62de={'JaBXx':function(_0x3b00ea,_0x139200){return _0x3b00ea===_0x139200;},'rXNAO':function(_0x5f46d5,_0x2257eb){return _0x5f46d5===_0x2257eb;},'prNdU':function(_0x3cad08,_0xd0c37b,_0x10ba21){return _0x3cad08(_0xd0c37b,_0x10ba21);},'ZtPel':function(_0x5c980b,_0xb353c1){return _0x5c980b===_0xb353c1;},'RIcWO':function(_0x531228,_0x5ef5fa){return _0x531228===_0x5ef5fa;},'FoQZe':function(_0x303198,_0x527233,_0xa6803f){return _0x303198(_0x527233,_0xa6803f);},'dqfGI':function(_0x43a685,_0x5120d6,_0x3ee39c,_0x43906f){return _0x43a685(_0x5120d6,_0x3ee39c,_0x43906f);},'DdBAK':_0x1b049b(0x1be),'yeHDr':_0x1b049b(0x1a2)};super['trackEvent'](_0x5a0513,_0x3aa1e4,_0x1e76ee);if(_0x3b62de[_0x1b049b(0x146)](_0x5a0513,TestFrameworkState['TEST_SCREENSHOT']))try{const _0x29da19=TestInfo[_0x1b049b(0x11e)](_0x1e76ee[_0x1b049b(0x1be)],_0x1e76ee[_0x1b049b(0x1be)][_0x1b049b(0x151)]);await TestInfo[_0x1b049b(0x1c6)](_0x29da19,_0x1e76ee[_0x1b049b(0x21f)],!![]);}catch(_0xa33ff3){logger['debug'](_0x1b049b(0x13d)+(_0xa33ff3&&_0xa33ff3[_0x1b049b(0x1c3)]));}if(_0x3b62de[_0x1b049b(0x1d7)](_0x5a0513,TestFrameworkState[_0x1b049b(0x1ea)])){this[_0x1b049b(0x11c)](_0x5a0513,_0x3aa1e4,_0x1e76ee);return;}const _0x65e8b2=this['resolveInstance'](_0x5a0513,_0x3aa1e4,_0x1e76ee);if(!_0x65e8b2)return;logger[_0x1b049b(0x14d)]('trackEvent:\x20found\x20instance,\x20testFrameworkState='+_0x5a0513+_0x1b049b(0x210)+_0x3aa1e4+_0x1b049b(0x17b)+_0x65e8b2[_0x1b049b(0x172)]());try{if(_0x3b62de[_0x1b049b(0x146)](_0x3aa1e4,HookState[_0x1b049b(0x16c)])&&_0x3b62de['rXNAO'](_0x5a0513,TestFrameworkState[_0x1b049b(0x1db)])){const _0x3647eb=_0x1e76ee[_0x1b049b(0x1be)];logger[_0x1b049b(0x14d)](_0x1b049b(0x155)+_0x3647eb['id']+'}');const _0x180077=TestInfo[_0x1b049b(0x200)](_0x3b62de[_0x1b049b(0x1b6)](getTestRunIdentifier,_0x3647eb,_0x1e76ee[_0x1b049b(0x21f)][_0x1b049b(0x151)]));_0x65e8b2[_0x1b049b(0x21b)](await this[_0x1b049b(0x1d8)](_0x180077,_0x3647eb,_0x1e76ee[_0x1b049b(0x21f)])),logger[_0x1b049b(0x14d)](_0x1b049b(0x1a7)+_0x3647eb['id']+',\x20testFrameworkState='+_0x5a0513+_0x1b049b(0x1bf)+_0x3aa1e4+_0x1b049b(0x16e)+_0x65e8b2[_0x1b049b(0x172)]());}if(_0x3b62de[_0x1b049b(0x12c)](_0x3aa1e4,HookState[_0x1b049b(0x11f)])&&_0x3b62de['RIcWO'](_0x5a0513,TestFrameworkState['TEST'])){const _0x5c6603=_0x1e76ee[_0x1b049b(0x1be)],_0x50af0b=_0x1e76ee[_0x1b049b(0x21f)];logger[_0x1b049b(0x14d)](_0x1b049b(0x1f3)+_0x5c6603['id']);const _0xf87b22=_0x3b62de['FoQZe'](getTestRunIdentifier,_0x5c6603,_0x50af0b['retry']),_0x2ce230=_0x65e8b2[_0x1b049b(0x140)]()[_0x1b049b(0x19b)](_0xf87b22)[TestFrameworkConstants['KEY_TEST_UUID']],{steps:_0x3dab0f,logs:_0x5e459a}=_0x3b62de[_0x1b049b(0x137)](getStepsAndLogs,_0x50af0b[_0x1b049b(0x125)],_0x2ce230,_0x3b62de[_0x1b049b(0x169)]);_0x65e8b2[_0x1b049b(0x21b)](await this[_0x1b049b(0x1f8)](_0x5c6603['id'],_0x50af0b,_0x5c6603,_0x3dab0f)),await this['sendLogCreatedEvent'](_0x65e8b2,_0x5a0513,_0x3aa1e4,_0x3b62de['DdBAK'],_0x1e76ee,_0x5e459a);}if(CLIUtils[_0x1b049b(0x160)](_0x5a0513['toString']()[_0x1b049b(0x13e)]('.')[0x1])){const _0x4bc77b=await this[_0x1b049b(0x219)](_0x65e8b2,_0x5a0513,_0x3aa1e4,_0x1e76ee);_0x65e8b2[_0x1b049b(0x21b)](_0x4bc77b);}}catch(_0x363df1){logger['error'](util['format'](_0x3b62de[_0x1b049b(0x1f4)],_0x5a0513,_0x3aa1e4,_0x1e76ee[_0x1b049b(0x1c1)],_0x363df1));}_0x1e76ee[_0x1b049b(0x173)]=_0x65e8b2,await this[_0x1b049b(0x1f6)](_0x65e8b2,_0x5a0513,_0x3aa1e4,_0x1e76ee);}[a101_0x5bc0a2(0x181)](_0x548e9a,_0x4b9d84,_0x3df947={}){const _0x1c0048=a101_0x5bc0a2,_0x2df69b={};_0x2df69b['OjCaC']=function(_0xf63e67,_0x417868){return _0xf63e67===_0x417868;},_0x2df69b[_0x1c0048(0x1ae)]=function(_0x2254f8,_0x4a2e81){return _0x2254f8===_0x4a2e81;};const _0x3c5930=_0x2df69b;let _0x808176=null;return(_0x3c5930[_0x1c0048(0x12f)](_0x548e9a,TestFrameworkState['INIT_TEST'])||_0x3c5930['TRvGg'](_0x548e9a,TestFrameworkState[_0x1c0048(0x15e)]))&&this[_0x1c0048(0x1ef)](_0x548e9a,_0x3df947),_0x808176=TestFramework[_0x1c0048(0x203)](),_0x808176;}['trackPlaywrightInstance'](_0x593c9e,_0x56358c){const _0x7a080=a101_0x5bc0a2,_0xe139e5=CLIUtils['getCurrentInstanceName'](),_0x1147aa=TrackedInstance[_0x7a080(0x1af)](_0xe139e5);let _0x4b18b5=null;logger[_0x7a080(0x1ee)]('trackPlaywrightInstance:\x20created\x20instance\x20for\x20target='+_0xe139e5+',\x20state='+_0x593c9e),_0x4b18b5=new TestFrameworkInstance(_0x1147aa,this[_0x7a080(0x1f1)](),this['getTestFrameworksVersions'](),_0x593c9e,HookState[_0x7a080(0x15e)]),TestFramework[_0x7a080(0x152)](_0x1147aa,_0x4b18b5),logger['info'](_0x7a080(0x149)+_0x1147aa[_0x7a080(0x226)]()+_0x7a080(0x1f2)+_0xe139e5);}async['parsePlaywrightTest'](_0x51ce1a,_0x237cc4,_0x34e987){const _0x26558b=a101_0x5bc0a2,_0x1d7250={'SjKVq':function(_0x449ec7,_0x4da08e){return _0x449ec7(_0x4da08e);},'YJklf':function(_0x5ef39c,_0x279565){return _0x5ef39c(_0x279565);},'zvCQW':function(_0x23d5d4,_0x3b61e5){return _0x23d5d4(_0x3b61e5);},'Kxhwc':function(_0x5efcf0,_0x377078,_0x564455){return _0x5efcf0(_0x377078,_0x564455);}},_0xb4d5a=_0x1d7250['SjKVq'](getPlaywrightTestId,_0x237cc4),_0x402c14=_0x1d7250['SjKVq'](getPlaywrightTestTitle,_0x237cc4),_0x1cf298=_0x1d7250[_0x26558b(0x1fe)](getTestTags,_0x237cc4),_0x15edb9=_0x1d7250[_0x26558b(0x134)](getPlaywrightTestCode,_0x237cc4),_0x515fb3=_0x1d7250[_0x26558b(0x157)](getPlaywrightTestFilePath,_0x237cc4),_0x100ca8=_0x515fb3,_0x164f82=_0x1d7250[_0x26558b(0x157)](getPlaywrightTestScope,_0x237cc4),_0x7bb3b=_0x1d7250['YJklf'](getPlaywrightTestScopes,_0x237cc4),_0xcbcb96=_0x1d7250[_0x26558b(0x157)](getPlaywrightSessionName,_0x237cc4),_0xcf0611=this[_0x26558b(0x1f1)]()[0x0],_0x3d50ec=_0x1d7250['Kxhwc'](getTestRunIdentifier,_0x237cc4,_0x34e987[_0x26558b(0x151)]),_0x509c04={[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0xcf0611,[TestFrameworkConstants[_0x26558b(0x20f)]]:this[_0x26558b(0x119)]()[_0xcf0611],[TestFrameworkConstants[_0x26558b(0x168)]]:[],[TestFrameworkConstants[_0x26558b(0x1d9)]]:{},[TestFrameworkConstants[_0x26558b(0x229)]]:{},[TestFrameworkConstants['KEY_TEST_UUID']]:_0x51ce1a,[TestFrameworkConstants[_0x26558b(0x1e8)]]:TestFrameworkConstants[_0x26558b(0x1e0)],[TestFrameworkConstants[_0x26558b(0x17d)]]:_0xcbcb96,[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x515fb3,[TestFrameworkConstants[_0x26558b(0x1ad)]]:_0xb4d5a,[TestFrameworkConstants[_0x26558b(0x1b7)]]:_0x402c14,[TestFrameworkConstants['KEY_TEST_LOCATION']]:_0x100ca8,[TestFrameworkConstants[_0x26558b(0x15c)]]:_0x15edb9,[TestFrameworkConstants[_0x26558b(0x1ed)]]:_0x1cf298,[TestFrameworkConstants['KEY_TEST_STARTED_AT']]:_0x237cc4['results'][0x0][_0x26558b(0x133)],[TestFrameworkConstants[_0x26558b(0x18c)]]:_0x164f82,[TestFrameworkConstants[_0x26558b(0x11a)]]:_0x7bb3b,[TestFrameworkConstants[_0x26558b(0x179)]]:_0x1d7250[_0x26558b(0x134)](getPlaywrightCustomRerunParam,_0x237cc4)};await TestInfo[_0x26558b(0x1c6)](_0x3d50ec,_0x509c04);const _0x5e1b96={};return _0x5e1b96[_0x3d50ec]=_0x509c04,_0x5e1b96;}async[a101_0x5bc0a2(0x1f8)](_0x334b3d,_0x4d4384,_0x51d1fb,_0x156cef){const _0x28a29d=a101_0x5bc0a2,_0x2b90e6={'yMIqq':function(_0x12dac7,_0x4e225c){return _0x12dac7(_0x4e225c);},'oVYqc':_0x28a29d(0x154),'AEcph':function(_0x23305b,_0x237d24){return _0x23305b===_0x237d24;},'IVyAU':function(_0x5b3136,_0x17aba7){return _0x5b3136===_0x17aba7;},'MVZqu':function(_0x22b77b,_0x1d44cd){return _0x22b77b===_0x1d44cd;},'YEyLn':function(_0x3a0c54,_0x5486e3){return _0x3a0c54(_0x5486e3);},'VpisJ':'No\x20reason\x20provided','aLpyq':function(_0x3c9cb4,_0x2cf612,_0x5bc2f8){return _0x3c9cb4(_0x2cf612,_0x5bc2f8);},'cubeI':function(_0x1c4608,_0x44b273){return _0x1c4608===_0x44b273;},'dRXzu':'skipped','sNRMA':'passed','ATJAY':function(_0x68ac81,_0x91ad38){return _0x68ac81===_0x91ad38;},'kpqgr':_0x28a29d(0x188),'jbLIz':'timedOut','tKkvI':function(_0x151154,_0xe50d72){return _0x151154===_0xe50d72;},'pjeiR':_0x28a29d(0x1fa),'kammu':function(_0x5ceccd,_0x336f74,_0x3dc459){return _0x5ceccd(_0x336f74,_0x3dc459);},'HhfAc':function(_0x35d90d,_0x1faaab){return _0x35d90d||_0x1faaab;},'SxyRz':function(_0x48ad64,_0x5464eb){return _0x48ad64(_0x5464eb);},'cLTzV':function(_0xa5e4f1,_0x14ce36){return _0xa5e4f1>_0x14ce36;},'AArVR':function(_0x365ef3,_0x124a78,_0x455aed){return _0x365ef3(_0x124a78,_0x455aed);},'bOdKY':function(_0x4e9ced,_0x3213d7){return _0x4e9ced-_0x3213d7;},'yHWYj':function(_0x496d58,_0x2a0668,_0x32c7af,_0x1123be){return _0x496d58(_0x2a0668,_0x32c7af,_0x1123be);},'FrnFE':_0x28a29d(0x1be),'SrKsj':function(_0x5b8f78,_0x2dbd7e){return _0x5b8f78===_0x2dbd7e;},'KsmLC':function(_0xd4a49f,_0x906825){return _0xd4a49f>=_0x906825;},'xZNkZ':function(_0x5e5921,_0x1516f6){return _0x5e5921+_0x1516f6;},'eFRoZ':function(_0xb1db73,_0x462168){return _0xb1db73>_0x462168;},'eBgQx':function(_0x4ec3a2,_0x49e1f1,_0x16af4d){return _0x4ec3a2(_0x49e1f1,_0x16af4d);},'nNqvn':_0x28a29d(0x1c2),'nCXZe':function(_0x5d5bff,_0xbae860){return _0x5d5bff(_0xbae860);},'TELIM':function(_0x6cc502,_0xbf7bfd,_0x29c635){return _0x6cc502(_0xbf7bfd,_0x29c635);},'VRFFA':function(_0x5db69d,_0x5d68a9){return _0x5db69d>_0x5d68a9;},'Dmpqb':_0x28a29d(0x141)};logger[_0x28a29d(0x14d)](_0x28a29d(0x1b9)+_0x334b3d);const _0x2181c3=_0x2b90e6[_0x28a29d(0x204)](getTestRunIdentifier,_0x51d1fb,_0x4d4384[_0x28a29d(0x151)]),_0x5c3a8e=new Date(),_0xdaaed0=_0x4d4384[_0x28a29d(0x14e)],_0x2a791c=await TestInfo['getCustomTagsAsync'](_0x2181c3);let _0x5309cd=_0xdaaed0;if(_0x2b90e6[_0x28a29d(0x17e)](_0x4d4384['status'],_0x51d1fb[_0x28a29d(0x1a0)]))_0x5309cd=_0x2b90e6[_0x28a29d(0x212)](_0x4d4384[_0x28a29d(0x14e)],_0x2b90e6[_0x28a29d(0x1f0)])?_0x2b90e6[_0x28a29d(0x1f0)]:_0x2b90e6['sNRMA'];else{(_0x2b90e6[_0x28a29d(0x17e)](_0x5309cd,_0x2b90e6['sNRMA'])||_0x2b90e6[_0x28a29d(0x1ba)](_0x5309cd,_0x2b90e6[_0x28a29d(0x122)])||_0x2b90e6[_0x28a29d(0x1a3)](_0x5309cd,_0x2b90e6[_0x28a29d(0x1eb)]))&&(_0x5309cd=_0x2b90e6[_0x28a29d(0x122)]);if(_0x2b90e6[_0x28a29d(0x1a5)](_0x4d4384[_0x28a29d(0x14e)],_0x2b90e6['sNRMA'])&&_0x2b90e6[_0x28a29d(0x15d)](_0x51d1fb[_0x28a29d(0x1a0)],_0x2b90e6[_0x28a29d(0x122)])){const _0x2f2f29={};_0x2f2f29[_0x28a29d(0x1c3)]=_0x2b90e6[_0x28a29d(0x148)],_0x2f2f29[_0x28a29d(0x215)]=_0x2b90e6['pjeiR'],_0x4d4384[_0x28a29d(0x11d)]=_0x2f2f29,_0x4d4384['errors']=[_0x4d4384[_0x28a29d(0x11d)]];}}const {failureData:_0x20d26e,logs:_0x276bfc}=_0x2b90e6[_0x28a29d(0x12e)](getFailureData,_0x4d4384?.[_0x28a29d(0x205)],{}),_0x115b45={[TestFrameworkConstants[_0x28a29d(0x183)]]:_0x2b90e6[_0x28a29d(0x14c)](_0x20d26e,null),[TestFrameworkConstants[_0x28a29d(0x167)]]:_0x4d4384?.[_0x28a29d(0x11d)]&&_0x2b90e6[_0x28a29d(0x1ca)](getFailureType,_0x4d4384[_0x28a29d(0x11d)][_0x28a29d(0x1c3)]),[TestFrameworkConstants[_0x28a29d(0x16d)]]:_0x4d4384?.[_0x28a29d(0x11d)]&&_0x2b90e6[_0x28a29d(0x15f)](removeAnsiColors,_0x4d4384[_0x28a29d(0x11d)][_0x28a29d(0x1c3)]),[TestFrameworkConstants['KEY_LOGS']]:[],[TestFrameworkConstants[_0x28a29d(0x1e8)]]:_0x5309cd,[TestFrameworkConstants[_0x28a29d(0x218)]]:_0x5c3a8e[_0x28a29d(0x15a)](),[TestFrameworkConstants[_0x28a29d(0x225)]]:new Date()['toISOString'](),[TestFrameworkConstants['KEY_CUSTOM_TAGS']]:_0x2a791c};if(_0x4d4384&&_0x2b90e6[_0x28a29d(0x156)](_0x4d4384[_0x28a29d(0x151)],0x0)){const _0x2cb0e6=TestInfo[_0x28a29d(0x200)](_0x2b90e6[_0x28a29d(0x13c)](getTestRunIdentifier,_0x51d1fb,_0x2b90e6[_0x28a29d(0x1b3)](_0x4d4384[_0x28a29d(0x151)],0x1)));_0x115b45[TestFrameworkConstants[_0x28a29d(0x1bb)]]=_0x2cb0e6;}const _0x4f3c4d={};_0x4f3c4d[_0x28a29d(0x1be)]=_0x51d1fb;const _0x19db6e=this[_0x28a29d(0x181)](TestFrameworkState['TEST'],HookState[_0x28a29d(0x11f)],_0x4f3c4d),_0x51bbd1=_0x19db6e[_0x28a29d(0x140)]()[_0x28a29d(0x19b)](_0x2181c3)[TestFrameworkConstants['KEY_TEST_UUID']],_0x457947=_0x156cef||_0x2b90e6[_0x28a29d(0x127)](getStepsAndLogs,_0x4d4384[_0x28a29d(0x125)],_0x51bbd1,_0x2b90e6[_0x28a29d(0x1d5)])[_0x28a29d(0x125)],_0x15bd66=new Map(),_0x221e40=new Map();let _0x488190=0x0;const _0x5e59ee=[];for(const _0x5503e8 of _0x457947||[]){const _0x115145=_0x5503e8[_0x28a29d(0x150)]||null;let _0x413917;if(_0x2b90e6[_0x28a29d(0x21a)](_0x115145,null)){if(_0x2b90e6[_0x28a29d(0x221)](_0x488190,TestFrameworkConstants[_0x28a29d(0x1e9)]))continue;_0x413917=0x0,_0x488190++;}else{const _0x738b7=_0x15bd66[_0x28a29d(0x19b)](_0x115145);if(_0x2b90e6['IVyAU'](_0x738b7,undefined))continue;_0x413917=_0x2b90e6['xZNkZ'](_0x738b7,0x1);if(_0x2b90e6[_0x28a29d(0x164)](_0x413917,TestFrameworkConstants[_0x28a29d(0x1e4)]))continue;}_0x15bd66[_0x28a29d(0x1ec)](_0x5503e8['id'],_0x413917),_0x221e40[_0x28a29d(0x1ec)](_0x5503e8['id'],_0x5503e8[_0x28a29d(0x1ce)]),_0x5e59ee[_0x28a29d(0x1b4)]({'id':_0x5503e8['id'],'parent_id':_0x115145,'parent_text':_0x115145?_0x221e40[_0x28a29d(0x19b)](_0x115145)||'':'','text':_0x5503e8[_0x28a29d(0x1ce)],'keyword':_0x5503e8[_0x28a29d(0x1d0)]||null,'started_at':_0x5503e8['started_at'],'duration':_0x5503e8[_0x28a29d(0x1fd)]??null,'result':_0x5503e8[_0x28a29d(0x21f)],'failure':_0x5503e8[_0x28a29d(0x1a8)]||null,'failure_type':_0x5503e8['failure_type']||null});}const _0x1a8f1d={};_0x1a8f1d['steps']=_0x5e59ee,_0x115b45[TestFrameworkConstants[_0x28a29d(0x18b)]]=_0x1a8f1d,logger[_0x28a29d(0x14d)](_0x28a29d(0x176)+_0x5e59ee[_0x28a29d(0x1c1)]+_0x28a29d(0x220)+_0x334b3d);const _0x4bf72c=[],_0xd1319=_0x2b90e6[_0x28a29d(0x1b0)](findNestedKey,_0x4d4384,_0x2b90e6['nNqvn']);if(_0xd1319&&_0x2b90e6[_0x28a29d(0x14f)](validateFilePath,_0xd1319))try{_0x4bf72c['push']({'kind':_0x2b90e6[_0x28a29d(0x1e1)],'timestamp':new Date()[_0x28a29d(0x15a)](),'test_run_uuid':_0x51bbd1,'file_name':path[_0x28a29d(0x142)](_0xd1319),'file_size':fs[_0x28a29d(0x19a)](_0xd1319)[_0x28a29d(0x208)],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x289df3){logger['error'](_0x28a29d(0x186)+_0xd1319+':\x20'+_0x289df3[_0x28a29d(0x1c3)]);}const _0x51e04d=await TestInfo[_0x28a29d(0x184)](_0x51bbd1);_0x51e04d[_0x28a29d(0x196)](_0x57281=>{const _0x388811=_0x28a29d;if(_0x57281[_0x388811(0x131)]&&_0x2b90e6[_0x388811(0x192)](validateFilePath,_0x57281[_0x388811(0x131)])&&!_0x4bf72c[_0x388811(0x159)](_0x34e937=>_0x34e937['file_name']===path[_0x388811(0x142)](_0x57281[_0x388811(0x131)])))try{_0x4bf72c['push']({'kind':_0x2b90e6['oVYqc'],'timestamp':new Date()[_0x388811(0x15a)](),'test_run_uuid':_0x51bbd1,'file_name':path['basename'](_0x57281[_0x388811(0x131)]),'file_size':fs[_0x388811(0x19a)](_0x57281[_0x388811(0x131)])['size'],'attachment_type':PLAYWRIGHT_TRACE_LOGS});}catch(_0x4e86d8){logger['error'](_0x388811(0x19d)+_0x57281[_0x388811(0x131)]+_0x388811(0x18a)+_0x4e86d8[_0x388811(0x1c3)]);}});if(_0x2b90e6['cLTzV'](_0x4bf72c[_0x28a29d(0x1c1)],0x0)){const _0x2664b1=_0x115b45[TestFrameworkConstants[_0x28a29d(0x1a6)]]||[];_0x115b45[TestFrameworkConstants['KEY_LOGS']]=[..._0x2664b1,..._0x4bf72c];}const _0x406fbf=(await TestInfo[_0x28a29d(0x198)](_0x2181c3))[TestFrameworkConstants[_0x28a29d(0x222)]]||{},_0x4ae2f9=_0x2b90e6['TELIM'](getManualUploadLogs,_0x406fbf,_0x19db6e[_0x28a29d(0x140)]()[_0x28a29d(0x19b)](_0x2181c3)[TestFrameworkConstants['KEY_TEST_UUID']]);if(_0x2b90e6['VRFFA'](_0x4ae2f9[_0x28a29d(0x1c1)],0x0)){const _0x1f088d=_0x115b45[TestFrameworkConstants['KEY_LOGS']]||[];_0x115b45[TestFrameworkConstants['KEY_LOGS']]=[..._0x1f088d,..._0x4ae2f9];}const _0x23ec2f=_0x51d1fb['annotations']||[],_0x3dd24e=_0x115b45[TestFrameworkConstants[_0x28a29d(0x19c)]]||{},_0x6c2dd6=_0x2b90e6['yMIqq'](require,_0x2b90e6[_0x28a29d(0x217)]);_0x23ec2f[_0x28a29d(0x196)](_0x4c2bdd=>{const _0x1aaee0=_0x28a29d,{type:_0x430079}=_0x4c2bdd;let _0x3cdb86=_0x4c2bdd[_0x1aaee0(0x1e6)];if(!_0x430079)return;if(PLAYWRIGHT_BUILTIN_ANNOTATIONS['has'](_0x430079))return;(_0x2b90e6[_0x1aaee0(0x1a3)](_0x3cdb86,undefined)||_0x2b90e6[_0x1aaee0(0x17e)](_0x3cdb86,null)||_0x2b90e6[_0x1aaee0(0x15d)](_0x2b90e6[_0x1aaee0(0x15f)](String,_0x3cdb86)[_0x1aaee0(0x16b)](),''))&&(_0x3cdb86=_0x2b90e6[_0x1aaee0(0x1c8)]);const _0x248c0c=helper[_0x1aaee0(0x161)](_0x2b90e6[_0x1aaee0(0x192)](String,_0x3cdb86));_0x6c2dd6[_0x1aaee0(0x193)](_0x3dd24e,_0x430079,_0x248c0c);}),_0x115b45[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x3dd24e,await TestInfo[_0x28a29d(0x1c6)](_0x2181c3,_0x115b45);const _0x5c453f={};return _0x5c453f[_0x2181c3]=_0x115b45,_0x5c453f;}[a101_0x5bc0a2(0x11c)](_0x595ef7,_0x408724,_0x223654){const _0xc1e7ee=a101_0x5bc0a2,_0x16e624={'abyFL':function(_0x2a57a1,_0x5bf6b1){return _0x2a57a1||_0x5bf6b1;},'jSDwA':function(_0x43581a,_0x229a39,_0x116992){return _0x43581a(_0x229a39,_0x116992);}};try{const {test:_0x51193b,result:_0x5dacb4,step:_0x4cf7ce}=_0x223654;if(_0x16e624[_0xc1e7ee(0x1df)](!_0x51193b,!_0x4cf7ce)||!_0x5dacb4)return;const _0x28d751=_0x16e624[_0xc1e7ee(0x187)](getTestRunIdentifier,_0x51193b,_0x5dacb4[_0xc1e7ee(0x151)]);logger[_0xc1e7ee(0x14d)](_0xc1e7ee(0x1c7)+_0x28d751+'\x20hookState='+_0x408724+'\x20step=\x22'+_0x4cf7ce[_0xc1e7ee(0x1e5)]+'\x22');}catch(_0x2daf39){logger['error'](_0xc1e7ee(0x22a)+util['format'](_0x2daf39));}}async[a101_0x5bc0a2(0x219)](_0xcd779b,_0x161c2d,_0x4b55e5,_0x3fcad9){const _0x384d96=a101_0x5bc0a2,_0x3e3f97={'AZGst':function(_0x4d263b,_0x2274e2,_0x48fdc2){return _0x4d263b(_0x2274e2,_0x48fdc2);},'toGVv':function(_0x24c084,_0x2dd3b4){return _0x24c084 in _0x2dd3b4;},'EzeaL':function(_0x4902f0,_0x5e2cca){return _0x4902f0(_0x5e2cca);},'JfVNx':function(_0x228ba3,_0x56111b){return _0x228ba3===_0x56111b;},'dHvGh':function(_0x41ef6a){return _0x41ef6a();},'PRSow':function(_0x1037ee,_0xb1a45d){return _0x1037ee===_0xb1a45d;},'MSYMd':function(_0x3822ed,_0x11dac7){return _0x3822ed>_0x11dac7;},'DkNVV':function(_0x5f238d,_0x2e4f1a,_0x3876e1){return _0x5f238d(_0x2e4f1a,_0x3876e1);},'aToqB':_0x384d96(0x18f),'TIcKc':function(_0x31435f,_0x2b32bd){return _0x31435f(_0x2b32bd);},'vDvBa':function(_0x3bc86d,_0x2162dd){return _0x3bc86d(_0x2162dd);},'apjin':_0x384d96(0x188),'nzEOx':_0x384d96(0x206),'CgtKa':function(_0x448e8d,_0x16063c){return _0x448e8d!==_0x16063c;},'nCnpv':function(_0x3c94b4,_0x11457f){return _0x3c94b4+_0x11457f;},'tuVlE':_0x384d96(0x21c)},_0x3921fe=_0x3fcad9[_0x384d96(0x1be)],_0x19bdca=_0x3fcad9[_0x384d96(0x1e2)],_0x724f0c=_0x3e3f97[_0x384d96(0x1a4)](getTestRunIdentifier,_0x3921fe,_0x3fcad9['result'][_0x384d96(0x151)]),_0x36a15e=_0x161c2d[_0x384d96(0x175)]()[_0x384d96(0x13e)]('.')[0x1];let _0x47fe86=_0xcd779b[_0x384d96(0x140)]()[_0x384d96(0x19b)](_0x724f0c)[TestFrameworkConstants[_0x384d96(0x229)]];!_0x47fe86&&(_0x47fe86={});!_0x3e3f97['toGVv'](_0x36a15e,_0x47fe86)&&(_0x47fe86[_0x36a15e]=[]);let _0xbe6f63=_0xcd779b[_0x384d96(0x140)]()[_0x384d96(0x19b)](_0x724f0c)[TestFrameworkConstants[_0x384d96(0x1d9)]];!_0xbe6f63&&(_0xbe6f63={});!_0x3e3f97[_0x384d96(0x201)](_0x36a15e,_0xbe6f63)&&(_0xbe6f63[_0x36a15e]=[]);const _0x4a6110={[TestFrameworkConstants[_0x384d96(0x229)]]:_0x47fe86,[TestFrameworkConstants['KEY_HOOKS_FINISHED']]:_0xbe6f63},_0x2fb001={};_0x2fb001[_0x724f0c]=_0x4a6110;const _0x2c7b05=_0x2fb001,_0x915cfc=_0x3e3f97[_0x384d96(0x1cb)](getPlaywrightTestFilePath,_0x3921fe),_0x17fb4b=_0x915cfc,_0x3d9b9e=await TestInfo[_0x384d96(0x153)](_0x724f0c);if(_0x3e3f97[_0x384d96(0x199)](_0x4b55e5,HookState['PRE'])){const _0x3cfd03={'key':_0x36a15e,[TestFrameworkConstants[_0x384d96(0x139)]]:_0x3e3f97[_0x384d96(0x12d)](uuidv4),[TestFrameworkConstants[_0x384d96(0x16f)]]:TestFrameworkConstants[_0x384d96(0x1f5)],[TestFrameworkConstants[_0x384d96(0x138)]]:_0x19bdca[_0x384d96(0x133)],[TestFrameworkConstants[_0x384d96(0x21d)]]:[],[TestFrameworkConstants[_0x384d96(0x14b)]]:_0x19bdca[_0x384d96(0x1e5)],[TestFrameworkConstants['KEY_TEST_FILE_PATH']]:_0x915cfc,[TestFrameworkConstants[_0x384d96(0x1ac)]]:_0x17fb4b,[TestFrameworkConstants[_0x384d96(0x19c)]]:_0x3d9b9e};_0x47fe86[_0x36a15e]['push'](_0x3cfd03),_0x2c7b05[_0x724f0c][TestFrameworkConstants[_0x384d96(0x12b)]]=_0x36a15e,logger[_0x384d96(0x14d)]('Hook\x20Started\x20in\x20PRE\x20key\x20=\x20'+_0x36a15e+'\x20&\x20hook\x20=\x20'+_0x3cfd03+_0x384d96(0x171)+_0x3fcad9);}else{if(_0x3e3f97[_0x384d96(0x223)](_0x4b55e5,HookState[_0x384d96(0x11f)])){const _0x5081fa=await _0x3fcad9['result'],_0x1b5a23=_0x47fe86[_0x36a15e]||[],_0xfc56a8=_0x3fcad9[_0x384d96(0x1e2)];logger[_0x384d96(0x14d)](_0x384d96(0x129)+_0x1b5a23+_0x384d96(0x1ab)+_0x3fcad9);if(_0x3e3f97[_0x384d96(0x18d)](_0x1b5a23[_0x384d96(0x1c1)],0x0)){const _0x33f988=_0x1b5a23[_0x384d96(0x202)]();if(_0xfc56a8[_0x384d96(0x11d)]){const _0x34c363=_0x3e3f97['DkNVV'](failureData,_0xfc56a8['error'],_0x3e3f97[_0x384d96(0x228)]);_0x33f988[TestFrameworkConstants[_0x384d96(0x1de)]]=_0x3e3f97[_0x384d96(0x20d)](getFailureType,_0xfc56a8?.[_0x384d96(0x11d)][_0x384d96(0x1c3)]),_0x33f988[TestFrameworkConstants[_0x384d96(0x1e3)]]=_0x3e3f97['vDvBa'](removeAnsiColors,_0xfc56a8?.[_0x384d96(0x11d)][_0x384d96(0x1c3)]),_0x33f988[TestFrameworkConstants[_0x384d96(0x16f)]]=_0x3e3f97[_0x384d96(0x124)],_0x33f988[TestFrameworkConstants['KEY_HOOK_FAILURE']]=_0x34c363;}else _0x33f988[TestFrameworkConstants[_0x384d96(0x16f)]]=_0x3e3f97[_0x384d96(0x19f)];_0x3e3f97[_0x384d96(0x207)](_0x5081fa,TestFrameworkConstants[_0x384d96(0x1f5)])&&(_0x33f988[TestFrameworkConstants['KEY_HOOK_RESULT']]=!_0xfc56a8[_0x384d96(0x11d)]?_0x3e3f97[_0x384d96(0x19f)]:_0x3e3f97[_0x384d96(0x124)]);const _0x123e6a=new Date(_0xfc56a8[_0x384d96(0x133)]),_0x35e767=new Date(_0x3e3f97[_0x384d96(0x1b5)](_0x123e6a[_0x384d96(0x1c4)](),_0xfc56a8[_0x384d96(0x1fd)]));_0x33f988[TestFrameworkConstants['KEY_EVENT_ENDED_AT']]=_0x35e767[_0x384d96(0x15a)](),_0x33f988[TestFrameworkConstants['KEY_CUSTOM_TAGS']]=_0x3d9b9e;const _0x29b2c1=_0x33f988[TestFrameworkConstants[_0x384d96(0x139)]];await this[_0x384d96(0x194)](_0xcd779b,_0x161c2d,_0x29b2c1,_0x3e3f97['tuVlE'],_0x3fcad9),!_0xbe6f63[_0x36a15e]&&(_0xbe6f63[_0x36a15e]=[]),_0xbe6f63[_0x36a15e][_0x384d96(0x1b4)](_0x33f988),_0x2c7b05[_0x724f0c][TestFrameworkConstants[_0x384d96(0x144)]]=_0x36a15e;}}}return _0x2c7b05;}async[a101_0x5bc0a2(0x194)](_0x46afda,_0x41aba3,_0xb66e58,_0x5e3513,_0x22af68,_0xccdca9){const _0x2d5f8c=a101_0x5bc0a2,_0x333360={'RGySG':function(_0x4e6319,_0x18038c){return _0x4e6319===_0x18038c;},'cFHNA':_0x2d5f8c(0x1be),'Tcets':function(_0x12ea27,_0x428b3e,_0x441032){return _0x12ea27(_0x428b3e,_0x441032);},'YVVOy':function(_0x3f166f,_0x446f4c,_0x519686){return _0x3f166f(_0x446f4c,_0x519686);},'rlAbQ':_0x2d5f8c(0x1d3),'zMoQZ':function(_0x418ff8,_0xfb6306){return _0x418ff8>_0xfb6306;},'PIiOh':function(_0x5ac54e,_0x32a78c,_0x1b5500,_0x12c8a4){return _0x5ac54e(_0x32a78c,_0x1b5500,_0x12c8a4);},'zyELb':function(_0x4970e8,_0x3a26bb,_0x531a97){return _0x4970e8(_0x3a26bb,_0x531a97);},'xaThQ':function(_0x2e22c4,_0x175256,_0x2d5985){return _0x2e22c4(_0x175256,_0x2d5985);},'zLmTO':function(_0x112a68,_0x44a9d1){return _0x112a68/_0x44a9d1;},'pOtfq':function(_0x3ac4f9,_0x383d84){return _0x3ac4f9<_0x383d84;},'RVYTU':function(_0xa0eac5,_0x5dbc9f){return _0xa0eac5*_0x5dbc9f;},'MKtjY':function(_0x42ac80,_0x2d31be){return _0x42ac80+_0x2d31be;},'LBnln':function(_0x71bb55,_0x1b94d6,_0x1fa468,_0x43eaff,_0x53ab4a){return _0x71bb55(_0x1b94d6,_0x1fa468,_0x43eaff,_0x53ab4a);},'GZQRd':function(_0x387d06,_0x8259b3,_0x243724,_0x19baab){return _0x387d06(_0x8259b3,_0x243724,_0x19baab);},'GusAj':_0x2d5f8c(0x21c),'XXgig':function(_0x5a898a,_0x860319,_0x15f87e){return _0x5a898a(_0x860319,_0x15f87e);},'jtjMb':function(_0x203649,_0xdca71e,_0x409e19,_0xeff298,_0x29becc){return _0x203649(_0xdca71e,_0x409e19,_0xeff298,_0x29becc);}};try{if(_0x333360[_0x2d5f8c(0x182)](_0x5e3513,_0x333360[_0x2d5f8c(0x20e)])){const _0x550417=await _0x22af68[_0x2d5f8c(0x21f)],_0x4a95e9=_0x333360[_0x2d5f8c(0x1ff)](getTestRunIdentifier,_0x22af68[_0x2d5f8c(0x1be)],_0x22af68[_0x2d5f8c(0x21f)]['retry']),_0x426287=_0x22af68[_0x2d5f8c(0x1be)];logger['debug'](_0x2d5f8c(0x1fc)+_0x4a95e9+'\x20result='+util[_0x2d5f8c(0x13a)](_0x550417));const _0x6a1c2c=_0x46afda[_0x2d5f8c(0x140)]()[_0x2d5f8c(0x19b)](_0x4a95e9)[TestFrameworkConstants[_0x2d5f8c(0x211)]];await _0x333360[_0x2d5f8c(0x190)](sendTraceZip,_0x550417,_0x6a1c2c);const _0x407165=(await TestInfo['getTestDetailsAsync'](_0x4a95e9))[_0x333360[_0x2d5f8c(0x1c5)]],_0x143277={};if(_0x407165&&_0x333360['zMoQZ'](_0x407165['length'],0x0)){!_0x550417[_0x2d5f8c(0x1d3)]&&(_0x550417[_0x2d5f8c(0x1d3)]=[]);_0x143277[_0x2d5f8c(0x1d3)]=_0x550417[_0x2d5f8c(0x1d3)][_0x2d5f8c(0x1e7)](_0x407165||[]);const _0x47e426={};_0x47e426[_0x2d5f8c(0x1d3)]=[],await TestInfo[_0x2d5f8c(0x1c6)](_0x4a95e9,_0x47e426);}const _0x3cf247=_0xccdca9||_0x333360[_0x2d5f8c(0x213)](getStepsAndLogs,_0x550417[_0x2d5f8c(0x125)],_0x46afda['getAllData']()[_0x2d5f8c(0x19b)](_0x4a95e9)[TestFrameworkConstants[_0x2d5f8c(0x211)]],_0x333360[_0x2d5f8c(0x20e)])[_0x2d5f8c(0x16a)],_0x3bd82b=_0x333360['zyELb'](getScreenshots,_0x143277,_0x46afda[_0x2d5f8c(0x140)]()[_0x2d5f8c(0x19b)](_0x4a95e9)[TestFrameworkConstants[_0x2d5f8c(0x211)]]),_0x104fbb=_0x333360['xaThQ'](getVideos,_0x550417,_0x46afda[_0x2d5f8c(0x140)]()[_0x2d5f8c(0x19b)](_0x4a95e9)[TestFrameworkConstants[_0x2d5f8c(0x211)]]),{_:_0x1c17fa,logs:_0x273470}=_0x333360['YVVOy'](getFailureData,_0x550417['errors'],{'test_run_uuid':_0x46afda[_0x2d5f8c(0x140)]()['get'](_0x4a95e9)[TestFrameworkConstants['KEY_TEST_UUID']]}),_0x323934=(await TestInfo[_0x2d5f8c(0x198)](_0x4a95e9))[TestFrameworkConstants[_0x2d5f8c(0x222)]]||{},_0x26c381=_0x333360[_0x2d5f8c(0x195)](getMediaArtifactsLogs,_0x323934,_0x46afda['getAllData']()[_0x2d5f8c(0x19b)](_0x4a95e9)[TestFrameworkConstants['KEY_TEST_UUID']]),_0x231bc8=_0x46afda[_0x2d5f8c(0x140)]()[_0x2d5f8c(0x19b)](_0x4a95e9),{[TestFrameworkConstants[_0x2d5f8c(0x123)]]:_0x5b8dcc='',[TestFrameworkConstants[_0x2d5f8c(0x20f)]]:_0x4c258a=''}=_0x231bc8,_0x479911=(_0x3cf247||[])[_0x2d5f8c(0x1e7)](_0x3bd82b||[])[_0x2d5f8c(0x1e7)](_0x273470||[])[_0x2d5f8c(0x1e7)](_0x104fbb||[])[_0x2d5f8c(0x1e7)](_0x26c381||[]),_0x49249e=0x28,_0x1093f6=Math[_0x2d5f8c(0x209)](_0x333360['zLmTO'](_0x479911[_0x2d5f8c(0x1c1)],_0x49249e));for(let _0x167805=0x0;_0x333360[_0x2d5f8c(0x216)](_0x167805,_0x1093f6);_0x167805++){const _0x3fb45c=_0x333360[_0x2d5f8c(0x1d4)](_0x167805,_0x49249e),_0x40f2a6=_0x333360[_0x2d5f8c(0x1da)](_0x3fb45c,_0x49249e),_0x50afef=_0x479911['slice'](_0x3fb45c,_0x40f2a6),_0x93c85e={'platformIndex':global?.[_0x2d5f8c(0x11b)]??0x0,'logs':_0x50afef,'testFrameworkName':_0x5b8dcc,'testFrameworkVersion':_0x4c258a,'testFrameworkState':_0x41aba3[_0x2d5f8c(0x175)]()[_0x2d5f8c(0x13e)]('.')[0x1]};_0x333360[_0x2d5f8c(0x162)](updatePayloadForTraceLogs,_0x93c85e,_0x22af68,_0x4a95e9,_0x46afda),logger[_0x2d5f8c(0x14d)](_0x2d5f8c(0x1cf)+_0x4a95e9+_0x2d5f8c(0x214)+_0x333360['MKtjY'](_0x167805,0x1)+'/'+_0x1093f6+_0x2d5f8c(0x13f)+util[_0x2d5f8c(0x13a)](_0x93c85e));const _0x4f9e5a=await GrpcClient[_0x2d5f8c(0x1cd)]()[_0x2d5f8c(0x224)](_0x93c85e);logger[_0x2d5f8c(0x14d)](_0x2d5f8c(0x1cf)+_0x4a95e9+_0x2d5f8c(0x214)+_0x333360[_0x2d5f8c(0x1da)](_0x167805,0x1)+'/'+_0x1093f6+_0x2d5f8c(0x1c0)+util['inspect'](_0x4f9e5a));}}else{const {logs:_0x113fe1}=_0x333360[_0x2d5f8c(0x121)](getStepsAndLogs,_0x22af68[_0x2d5f8c(0x1e2)][_0x2d5f8c(0x125)],_0xb66e58,_0x333360[_0x2d5f8c(0x1d6)]),_0x2dab1c=_0x333360[_0x2d5f8c(0x12a)](getTestRunIdentifier,_0x22af68[_0x2d5f8c(0x1be)],_0x22af68[_0x2d5f8c(0x21f)]['retry']);logger[_0x2d5f8c(0x14d)](_0x2d5f8c(0x1fc)+_0x2dab1c);const _0x420ec0=_0x46afda[_0x2d5f8c(0x140)]()[_0x2d5f8c(0x19b)](_0x2dab1c),{[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]:_0x51142e='',[TestFrameworkConstants[_0x2d5f8c(0x20f)]]:_0x44fb3c=''}=_0x420ec0,_0x565006={'platformIndex':'0','logs':_0x113fe1,'testFrameworkName':_0x51142e,'testFrameworkVersion':_0x44fb3c,'testFrameworkState':_0x41aba3[_0x2d5f8c(0x175)]()[_0x2d5f8c(0x13e)]('.')[0x1]};_0x333360[_0x2d5f8c(0x180)](updatePayloadForTraceLogs,_0x565006,_0x22af68,_0x2dab1c,_0x46afda),logger[_0x2d5f8c(0x14d)](_0x2d5f8c(0x1cf)+_0x2dab1c+_0x2d5f8c(0x13f)+util['inspect'](_0x565006));const _0x240263=await GrpcClient[_0x2d5f8c(0x1cd)]()[_0x2d5f8c(0x224)](_0x565006);}}catch(_0x5f25c1){logger['error'](_0x2d5f8c(0x20a)+util[_0x2d5f8c(0x120)](_0x5f25c1));}}[a101_0x5bc0a2(0x191)](_0x3dff85){const _0x3c79bb=a101_0x5bc0a2,_0x5f0b13={'zwbur':function(_0x2a93bf,_0x505116,_0x422a46){return _0x2a93bf(_0x505116,_0x422a46);},'tBrRr':function(_0x244b3f,_0x5b5bb9){return _0x244b3f<_0x5b5bb9;},'qfArO':_0x3c79bb(0x1cc)};try{const _0x497b89=_0x3dff85[_0x3c79bb(0x1be)]['id'],_0x114ef3=_0x5f0b13['zwbur'](getTestRunIdentifier,_0x3dff85[_0x3c79bb(0x1be)],_0x3dff85[_0x3c79bb(0x21f)]['retry']),_0x4447c3=_0x3dff85['instance'],_0x2a5056=_0x4447c3['getContext'](),_0x54d6ea=_0x4447c3[_0x3c79bb(0x140)]()[_0x3c79bb(0x19b)](_0x114ef3);logger[_0x3c79bb(0x14d)](_0x3c79bb(0x17c)+_0x497b89);const {[TestFrameworkConstants[_0x3c79bb(0x123)]]:_0x4b6ff2='',[TestFrameworkConstants[_0x3c79bb(0x20f)]]:_0x133305='',[TestFrameworkConstants[_0x3c79bb(0x19e)]]:_0x125997='',[TestFrameworkConstants['KEY_TEST_ENDED_AT']]:_0xc8f09e=''}=_0x54d6ea,_0x2e18b5=_0x4447c3['getCurrentTestState']()[_0x3c79bb(0x175)]()['split']('.')[0x1],_0x38b314=_0x4447c3['getCurrentHookState']()[_0x3c79bb(0x175)]()[_0x3c79bb(0x13e)]('.')[0x1],_0x3672a8=_0x5f0b13[_0x3c79bb(0x1f7)](_0x3dff85?.[_0x3c79bb(0x21f)]?.['parallelIndex']??0x0,0x0)?0x0:_0x3dff85?.[_0x3c79bb(0x21f)]?.[_0x3c79bb(0x13b)]??0x0,_0x20868f=_0x4447c3[_0x3c79bb(0x172)](),_0x3a6921=Buffer[_0x3c79bb(0x14a)](JSON[_0x3c79bb(0x165)](_0x54d6ea))[_0x3c79bb(0x175)](_0x5f0b13[_0x3c79bb(0x130)]),_0x3e8e04={'hash':_0x2a5056[_0x3c79bb(0x226)](),'threadId':_0x2a5056[_0x3c79bb(0x1bd)]()[_0x3c79bb(0x175)](),'processId':_0x2a5056[_0x3c79bb(0x178)]()[_0x3c79bb(0x175)]()},_0x2c21bb={};_0x2c21bb[_0x3c79bb(0x185)]=_0x3672a8,_0x2c21bb[_0x3c79bb(0x1fb)]=_0x4b6ff2,_0x2c21bb[_0x3c79bb(0x1b1)]=_0x133305,_0x2c21bb[_0x3c79bb(0x177)]=_0x2e18b5,_0x2c21bb[_0x3c79bb(0x1aa)]=_0x38b314,_0x2c21bb[_0x3c79bb(0x166)]=_0x125997,_0x2c21bb[_0x3c79bb(0x126)]=_0xc8f09e,_0x2c21bb[_0x3c79bb(0x1a9)]=_0x20868f,_0x2c21bb['eventJson']=_0x3a6921,_0x2c21bb['executionContext']=_0x3e8e04;const _0x4f02ad=_0x2c21bb;return logger[_0x3c79bb(0x14d)](_0x3c79bb(0x145)+_0x497b89+'\x20testState:\x20'+_0x2e18b5+_0x3c79bb(0x147)+_0x38b314),_0x4f02ad;}catch(_0x4e8249){return logger[_0x3c79bb(0x11d)](_0x3c79bb(0x163)+util[_0x3c79bb(0x120)](_0x4e8249)),{};}}}module[a101_0x5bc0a2(0x17a)]=PlaywrightTestFramework;function a101_0x119f(_0x3c6403,_0x5380ec){const _0x236b0c=a101_0x236b();return a101_0x119f=function(_0x119f02,_0x38e1e0){_0x119f02=_0x119f02-0x119;let _0x5bd35b=_0x236b0c[_0x119f02];return _0x5bd35b;},a101_0x119f(_0x3c6403,_0x5380ec);}function a101_0x236b(){const _0x2ca57e=['skip','result','\x20steps\x20for\x20testId=','KsmLC','KEY_TEST_ATTACHMENTS','PRSow','logCreatedEvent','KEY_TEST_RESULT_AT','getId','../../../helpers/test-observability/utils','aToqB','KEY_HOOKS_STARTED','trackStepEvent:\x20exception=','getTestFrameworksVersions','KEY_TEST_SCOPES','browserstackPlatformIndex','trackStepEvent','error','getTestIdentifierFromTestInfo','POST','format','GZQRd','kpqgr','KEY_TEST_FRAMEWORK_NAME','apjin','steps','endedAt','yHWYj','1226424SCIuaZ','Hook\x20List\x20in\x20Post\x20','XXgig','KEY_HOOK_LAST_STARTED','ZtPel','dHvGh','kammu','OjCaC','qfArO','filePath','../instances/trackedInstance.js','startTime','zvCQW','124132WjPLJv','util','dqfGI','KEY_EVENT_STARTED_AT','KEY_HOOK_ID','inspect','parallelIndex','AArVR','trackEvent:\x20failed\x20to\x20persist\x20screenshot\x20details:\x20','split','\x20payload=','getAllData','../customTagManager','basename','961230dcCsUN','KEY_HOOK_LAST_FINISHED','createTestFrameworkEventPayload:\x20complete\x20for\x20testId:\x20','JaBXx','\x20hookState:\x20','pjeiR','trackPlaywrightInstance:\x20saved\x20instance\x20contextId=','from','KEY_HOOK_NAME','HhfAc','debug','status','nCXZe','parent_id','retry','setTrackedInstance','getCustomTagsAsync','TEST_ATTACHMENT','trackEvent\x20loading\x20testData\x20for\x20testId:\x20','cLTzV','SjKVq','../../utils/constants','some','toISOString','../../../../src/helpers/helper','KEY_TEST_CODE','MVZqu','NONE','YEyLn','matchHookRegex','parseCommaSeparatedValues','LBnln','Error\x20in\x20createTestFrameworkEventPayload:\x20','eFRoZ','stringify','startedAt','KEY_TEST_FAILURE_TYPE','KEY_TEST_LOGS','DdBAK','logs','trim','PRE','KEY_TEST_FAILURE_REASON','\x20instance=','KEY_HOOK_RESULT','9507043mTQXmG','\x20\x20and\x20args\x20=\x20','getRef','instance','9BFPJmo','toString','parsePlaywrightTestResult:\x20extracted\x20','testFrameworkState','getProcessId','KEY_TEST_RERUN_NAME','exports','\x20instanceId=','createTestFrameworkEventPayload\x20testId:\x20','KEY_AUTOMATE_SESSION_NAME','IVyAU','../grpcClient','jtjMb','resolveInstance','RGySG','KEY_TEST_FAILURE','getTraceFilePathsAsync','platformIndex','Error\x20processing\x20direct\x20trace\x20file\x20','jSDwA','failed','../../../helpers/classLogger.js','\x20from\x20TestDetails:\x20','KEY_TEST_META','KEY_TEST_SCOPE','MSYMd','788117DYfPcu','err','YVVOy','createTestFrameworkEventPayload','yMIqq','mergeIntoTags','sendLogCreatedEvent','zyELb','forEach','310dVFMLe','getTestDetailsAsync','JfVNx','statSync','get','KEY_CUSTOM_TAGS','Error\x20processing\x20trace\x20file\x20','KEY_TEST_STARTED_AT','nzEOx','expectedStatus','slow','trackEvent:\x20Exception\x20in\x20event\x20tracking,\x20testFrameworkState=%s\x20hookState=%s\x20argsLength=%s,\x20exception=%s','AEcph','AZGst','tKkvI','KEY_LOGS','trackEvent:\x20loaded\x20testData\x20for\x20testId:\x20','failure','uuid','hookState','\x20and\x20args\x20=\x20','KEY_TEST_LOCATION','KEY_TEST_ID','TRvGg','createContext','eBgQx','testFrameworkVersion','2141432bSDuTF','bOdKY','push','nCnpv','prNdU','KEY_TEST_NAME','51jDYDsf','parsePlaywrightTestResult:\x20testId=','ATJAY','KEY_TEST_RETRY_OF','./testFramework','getThreadId','test','\x20testHookState=','\x20response=','length','path','message','getTime','rlAbQ','setTestDetailsAsync','trackStepEvent:\x20testId=','VpisJ','../state/hookState.js','SxyRz','EzeaL','base64','getInstance','text','sendLogCreatedEvent\x20for\x20testId:\x20','keyword','fail','../../../helpers/helper.js','attachments','RVYTU','FrnFE','GusAj','rXNAO','parsePlaywrightTest','KEY_HOOKS_FINISHED','MKtjY','TEST','PlaywrightTestFramework','../../playwright/reporter/pwUtils','KEY_HOOK_FAILURE_TYPE','abyFL','DEFAULT_TEST_RESULT','oVYqc','step','KEY_HOOK_FAILURE_REASON','MAX_NESTED_STEP_DEPTH','title','description','concat','KEY_TEST_RESULT','MAX_TOP_LEVEL_STEPS','TEST_STEP','jbLIz','set','KEY_TEST_TAGS','info','trackPlaywrightInstance','dRXzu','getTestFrameworks','\x20target=','trackEvent\x20loading\x20testResults\x20for\x20testId:\x20','yeHDr','DEFAULT_HOOK_RESULT','runHooks','tBrRr','parsePlaywrightTestResult','2991020oudVfM','Expected\x20to\x20fail,\x20but\x20passed.','testFrameworkName','sendLogCreatedEvent:\x20testId=','duration','YJklf','Tcets','getTestUUID','toGVv','pop','getTrackedInstance','aLpyq','errors','passed','CgtKa','size','ceil','Error\x20in\x20sendLogCreatedEvent:\x20','trackEvent','25Uwjwpo','TIcKc','cFHNA','KEY_TEST_FRAMEWORK_VERSION','\x20hookState=','KEY_TEST_UUID','cubeI','PIiOh','\x20batch\x20','stack','pOtfq','Dmpqb','KEY_TEST_ENDED_AT','trackHookEvent','SrKsj','addMultipleEntries','hook','KEY_HOOK_LOGS'];a101_0x236b=function(){return _0x2ca57e;};return a101_0x236b();}
@@ -1 +1 @@
1
- const a102_0x568462=a102_0x59c5;function a102_0xbb57(){const _0x47288a=['7244629lyQVdx','../cliUtils.js','resolveInstance','1ILVozo','logger','instance','./automationFramework.js','getAutomationFrameworkName','getTrackedInstance','PBcic','debug','NONE','../instances/trackedInstance.js','trackEvent','KZnId','1390378mUcVlX','../../../helpers/classLogger.js','trackEvent:\x20automationFrameworkState=','YFmrR','../state/automationFrameworkState.js','trackPuppeteerInstance:\x20saved\x20instance\x20contextId=','504560iYJWYF','trackPuppeteerInstance','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','PRE','createContext','PuppeteerAutomationFramework','4680715LDzriy','3520432BxAkdm','setTrackedInstance','../state/hookState.js','1727889RcoZZX','getCurrentInstanceName','\x20target=','19749312UmYAMf','trackPuppeteerInstance:\x20instance\x20already\x20exists','CREATE','6IUUeUR','info','\x20hookState=','getId'];a102_0xbb57=function(){return _0x47288a;};return a102_0xbb57();}(function(_0x54449c,_0x442969){const _0x188764=a102_0x59c5,_0x4808bd=_0x54449c();while(!![]){try{const _0x3426ab=parseInt(_0x188764(0x170))/0x1*(-parseInt(_0x188764(0x17c))/0x2)+parseInt(_0x188764(0x18c))/0x3+parseInt(_0x188764(0x182))/0x4+-parseInt(_0x188764(0x188))/0x5+-parseInt(_0x188764(0x192))/0x6*(parseInt(_0x188764(0x196))/0x7)+parseInt(_0x188764(0x189))/0x8+parseInt(_0x188764(0x18f))/0x9;if(_0x3426ab===_0x442969)break;else _0x4808bd['push'](_0x4808bd['shift']());}catch(_0x5d1488){_0x4808bd['push'](_0x4808bd['shift']());}}}(a102_0xbb57,0xa3a26));const AutomationFramework=require(a102_0x568462(0x173)),{createClassLogger}=require(a102_0x568462(0x17d)),AutomationFrameworkState=require(a102_0x568462(0x180)),HookState=require(a102_0x568462(0x18b)),CLIUtils=require(a102_0x568462(0x197)),TrackedInstance=require(a102_0x568462(0x179)),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');class PuppeteerAutomationFramework extends AutomationFramework{[a102_0x568462(0x171)]=createClassLogger(a102_0x568462(0x187));constructor(_0x47de40,_0x24c938){super(_0x47de40,_0x24c938);}async['trackEvent'](_0x532f68,_0x1ae6d0,_0x5b414b={}){const _0x25a744=a102_0x568462,_0x583f31={};_0x583f31['zfhuD']=function(_0x564986,_0x8e53d4){return _0x564986===_0x8e53d4;},_0x583f31[_0x25a744(0x17f)]=_0x25a744(0x184);const _0x44800d=_0x583f31;this[_0x25a744(0x171)][_0x25a744(0x177)](_0x25a744(0x17e)+_0x532f68+_0x25a744(0x194)+_0x1ae6d0),await super[_0x25a744(0x17a)](_0x532f68,_0x1ae6d0,_0x5b414b);const _0x2b2d96=this[_0x25a744(0x198)](_0x532f68,_0x1ae6d0,_0x5b414b);if(_0x44800d['zfhuD'](_0x2b2d96,null)){this['logger'][_0x25a744(0x177)](_0x44800d[_0x25a744(0x17f)]);return;}_0x5b414b[_0x25a744(0x172)]=_0x2b2d96,await this['runHooks'](_0x2b2d96,_0x532f68,_0x1ae6d0,_0x5b414b);}[a102_0x568462(0x198)](_0xf034d0,_0x2bb4d8,_0x2bf256={}){const _0x74be78=a102_0x568462,_0x1b7cc6={};_0x1b7cc6[_0x74be78(0x17b)]=function(_0x58ef24,_0x540a64){return _0x58ef24===_0x540a64;};const _0x25f372=_0x1b7cc6;let _0x3d580d=null;return(_0x25f372[_0x74be78(0x17b)](_0xf034d0,AutomationFrameworkState[_0x74be78(0x191)])&&_0x25f372[_0x74be78(0x17b)](_0x2bb4d8,HookState[_0x74be78(0x185)])||_0x25f372[_0x74be78(0x17b)](_0xf034d0,AutomationFrameworkState[_0x74be78(0x178)]))&&this[_0x74be78(0x183)](_0xf034d0,_0x2bf256),_0x3d580d=AutomationFramework[_0x74be78(0x175)](),_0x3d580d;}[a102_0x568462(0x183)](_0x3ad523,_0x38f4f6){const _0x5b4383=a102_0x568462,_0x4ab83f={};_0x4ab83f[_0x5b4383(0x176)]=_0x5b4383(0x190);const _0x3a495f=_0x4ab83f;if(AutomationFramework[_0x5b4383(0x175)]()){this[_0x5b4383(0x171)][_0x5b4383(0x193)](_0x3a495f[_0x5b4383(0x176)]);return;}const _0x1ba891=CLIUtils[_0x5b4383(0x18d)](),_0xca1576=TrackedInstance[_0x5b4383(0x186)](_0x1ba891);let _0x43e83d=null;this[_0x5b4383(0x171)][_0x5b4383(0x193)]('trackPuppeteerInstance:\x20created\x20instance\x20for\x20target='+_0x1ba891+',\x20state='+_0x3ad523),_0x43e83d=new AutomationFrameworkInstance(_0xca1576,this[_0x5b4383(0x174)](),this['getAutomationFrameworkVersion'](),_0x3ad523),AutomationFramework[_0x5b4383(0x18a)](_0xca1576,_0x43e83d),this[_0x5b4383(0x171)][_0x5b4383(0x193)](_0x5b4383(0x181)+_0xca1576[_0x5b4383(0x195)]()+_0x5b4383(0x18e)+_0x1ba891);}}function a102_0x59c5(_0x590a63,_0x52ba12){const _0xbb575e=a102_0xbb57();return a102_0x59c5=function(_0x59c52d,_0x40bb97){_0x59c52d=_0x59c52d-0x170;let _0x3c8012=_0xbb575e[_0x59c52d];return _0x3c8012;},a102_0x59c5(_0x590a63,_0x52ba12);}module['exports']=PuppeteerAutomationFramework;
1
+ const a102_0xbe8f76=a102_0x4cec;function a102_0x552a(){const _0x5b49ce=['pmNfC','Wwfku','getAutomationFrameworkVersion','2lMHkpl','trackPuppeteerInstance:\x20instance\x20already\x20exists','getCurrentInstanceName','../state/hookState.js','../state/automationFrameworkState.js','PRE','trackEvent:\x20No\x20instance\x20found,\x20skipping\x20tracking','getId','CREATE','debug','runHooks','zqWHQ','12vXYXsh','mLQNJ','eSRQj','1504907fOYzzW','431118DblYNB','createContext','1328008HxPVkM','7444640MJLIJy','exports','5KgfZbz','trackPuppeteerInstance','setTrackedInstance','\x20hookState=','PuppeteerAutomationFramework','12063600LGYnhB','../../../helpers/classLogger.js',',\x20state=','2475246UarEnD','getAutomationFrameworkName','40969115uEifhi','info','resolveInstance','getTrackedInstance','\x20target=','trackPuppeteerInstance:\x20created\x20instance\x20for\x20target=','./automationFramework.js','trackEvent','../cliUtils.js','logger','63KnRcCx','trackEvent:\x20automationFrameworkState='];a102_0x552a=function(){return _0x5b49ce;};return a102_0x552a();}(function(_0x2cc813,_0x3c0bab){const _0x4ad826=a102_0x4cec,_0x2e3ab7=_0x2cc813();while(!![]){try{const _0x5a890f=-parseInt(_0x4ad826(0x196))/0x1*(parseInt(_0x4ad826(0x187))/0x2)+parseInt(_0x4ad826(0x169))/0x3*(parseInt(_0x4ad826(0x193))/0x4)+-parseInt(_0x4ad826(0x16e))/0x5*(parseInt(_0x4ad826(0x176))/0x6)+parseInt(_0x4ad826(0x16c))/0x7+parseInt(_0x4ad826(0x16b))/0x8*(-parseInt(_0x4ad826(0x182))/0x9)+-parseInt(_0x4ad826(0x173))/0xa+parseInt(_0x4ad826(0x178))/0xb;if(_0x5a890f===_0x3c0bab)break;else _0x2e3ab7['push'](_0x2e3ab7['shift']());}catch(_0x45b4d9){_0x2e3ab7['push'](_0x2e3ab7['shift']());}}}(a102_0x552a,0xe3da8));const AutomationFramework=require(a102_0xbe8f76(0x17e)),{createClassLogger}=require(a102_0xbe8f76(0x174)),AutomationFrameworkState=require(a102_0xbe8f76(0x18b)),HookState=require(a102_0xbe8f76(0x18a)),CLIUtils=require(a102_0xbe8f76(0x180)),TrackedInstance=require('../instances/trackedInstance.js'),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js');function a102_0x4cec(_0x3823cb,_0x523e34){const _0x552a82=a102_0x552a();return a102_0x4cec=function(_0x4cec18,_0x408c32){_0x4cec18=_0x4cec18-0x169;let _0x5c9389=_0x552a82[_0x4cec18];return _0x5c9389;},a102_0x4cec(_0x3823cb,_0x523e34);}class PuppeteerAutomationFramework extends AutomationFramework{[a102_0xbe8f76(0x181)]=createClassLogger(a102_0xbe8f76(0x172));constructor(_0x97639c,_0x31cd0a){super(_0x97639c,_0x31cd0a);}async['trackEvent'](_0xe81a37,_0x30283a,_0x340f55={}){const _0x3b4e2a=a102_0xbe8f76,_0xb71a47={};_0xb71a47[_0x3b4e2a(0x184)]=function(_0x41f9f0,_0x53a765){return _0x41f9f0===_0x53a765;},_0xb71a47[_0x3b4e2a(0x185)]=_0x3b4e2a(0x18d);const _0x4f7746=_0xb71a47;this[_0x3b4e2a(0x181)]['debug'](_0x3b4e2a(0x183)+_0xe81a37+_0x3b4e2a(0x171)+_0x30283a),await super[_0x3b4e2a(0x17f)](_0xe81a37,_0x30283a,_0x340f55);const _0x18bb6e=this[_0x3b4e2a(0x17a)](_0xe81a37,_0x30283a,_0x340f55);if(_0x4f7746[_0x3b4e2a(0x184)](_0x18bb6e,null)){this['logger'][_0x3b4e2a(0x190)](_0x4f7746['Wwfku']);return;}_0x340f55['instance']=_0x18bb6e,await this[_0x3b4e2a(0x191)](_0x18bb6e,_0xe81a37,_0x30283a,_0x340f55);}[a102_0xbe8f76(0x17a)](_0x6f52b,_0x3732bc,_0x2940f1={}){const _0x7ce1fc=a102_0xbe8f76,_0x16ea24={};_0x16ea24[_0x7ce1fc(0x192)]=function(_0x140382,_0x42f1c8){return _0x140382===_0x42f1c8;},_0x16ea24['eSRQj']=function(_0x34cc1d,_0x5c85a8){return _0x34cc1d===_0x5c85a8;};const _0x435c11=_0x16ea24;let _0x350fda=null;return(_0x435c11[_0x7ce1fc(0x192)](_0x6f52b,AutomationFrameworkState[_0x7ce1fc(0x18f)])&&_0x435c11[_0x7ce1fc(0x195)](_0x3732bc,HookState[_0x7ce1fc(0x18c)])||_0x435c11['zqWHQ'](_0x6f52b,AutomationFrameworkState['NONE']))&&this[_0x7ce1fc(0x16f)](_0x6f52b,_0x2940f1),_0x350fda=AutomationFramework[_0x7ce1fc(0x17b)](),_0x350fda;}[a102_0xbe8f76(0x16f)](_0x2f6da1,_0x4ca888){const _0x23e9cd=a102_0xbe8f76,_0xd4c575={};_0xd4c575[_0x23e9cd(0x194)]=_0x23e9cd(0x188);const _0x43a624=_0xd4c575;if(AutomationFramework[_0x23e9cd(0x17b)]()){this['logger'][_0x23e9cd(0x179)](_0x43a624[_0x23e9cd(0x194)]);return;}const _0x155f61=CLIUtils[_0x23e9cd(0x189)](),_0x100d53=TrackedInstance[_0x23e9cd(0x16a)](_0x155f61);let _0x402c70=null;this[_0x23e9cd(0x181)][_0x23e9cd(0x179)](_0x23e9cd(0x17d)+_0x155f61+_0x23e9cd(0x175)+_0x2f6da1),_0x402c70=new AutomationFrameworkInstance(_0x100d53,this[_0x23e9cd(0x177)](),this[_0x23e9cd(0x186)](),_0x2f6da1),AutomationFramework[_0x23e9cd(0x170)](_0x100d53,_0x402c70),this[_0x23e9cd(0x181)][_0x23e9cd(0x179)]('trackPuppeteerInstance:\x20saved\x20instance\x20contextId='+_0x100d53[_0x23e9cd(0x18e)]()+_0x23e9cd(0x17c)+_0x155f61);}}module[a102_0xbe8f76(0x16d)]=PuppeteerAutomationFramework;
@@ -1 +1 @@
1
- const a103_0x28e5f2=a103_0x8da2;(function(_0x5067c8,_0x1b6d53){const _0x1ac33f=a103_0x8da2,_0x40d5fc=_0x5067c8();while(!![]){try{const _0x359827=parseInt(_0x1ac33f(0x1d3))/0x1*(parseInt(_0x1ac33f(0x1e1))/0x2)+-parseInt(_0x1ac33f(0x1e4))/0x3+-parseInt(_0x1ac33f(0x1d6))/0x4*(parseInt(_0x1ac33f(0x1ea))/0x5)+parseInt(_0x1ac33f(0x1e3))/0x6*(-parseInt(_0x1ac33f(0x1e9))/0x7)+-parseInt(_0x1ac33f(0x1e2))/0x8*(parseInt(_0x1ac33f(0x1ce))/0x9)+parseInt(_0x1ac33f(0x1d0))/0xa*(-parseInt(_0x1ac33f(0x1d5))/0xb)+parseInt(_0x1ac33f(0x1cf))/0xc;if(_0x359827===_0x1b6d53)break;else _0x40d5fc['push'](_0x40d5fc['shift']());}catch(_0x546e6e){_0x40d5fc['push'](_0x40d5fc['shift']());}}}(a103_0x30c9,0x41354));function a103_0x8da2(_0x1d7220,_0x44b5bb){const _0x30c924=a103_0x30c9();return a103_0x8da2=function(_0x8da294,_0x3364fe){_0x8da294=_0x8da294-0x1ce;let _0x4984a2=_0x30c924[_0x8da294];return _0x4984a2;},a103_0x8da2(_0x1d7220,_0x44b5bb);}const AutomationFramework=require(a103_0x28e5f2(0x1e6)),AutomationFrameworkState=require(a103_0x28e5f2(0x1f1)),AutomationFrameworkInstance=require(a103_0x28e5f2(0x1dd)),TrackedInstance=require(a103_0x28e5f2(0x1dc)),CLIUtils=require(a103_0x28e5f2(0x1da)),{createClassLogger}=require(a103_0x28e5f2(0x1e5));class SeleniumAutomationFramework extends AutomationFramework{['logger']=createClassLogger('SeleniumAutomationFramework');constructor(_0x2a3b1e,_0x2ae5dd){super(_0x2a3b1e,_0x2ae5dd);}async['trackEvent'](_0x5b1bb3,_0x321f3c,_0x27ca92={}){const _0x33a93f=a103_0x28e5f2,_0xa99736={};_0xa99736[_0x33a93f(0x1e8)]='trackEvent:\x20instance\x20could\x20not\x20be\x20resolved';const _0x3e3262=_0xa99736;this[_0x33a93f(0x1f2)][_0x33a93f(0x1df)](_0x33a93f(0x1e7)+_0x5b1bb3+_0x33a93f(0x1ee)+_0x321f3c),await super['trackEvent'](_0x5b1bb3,_0x321f3c,_0x27ca92);const _0x5038df=this[_0x33a93f(0x1d2)](_0x5b1bb3);if(!_0x5038df){this[_0x33a93f(0x1f2)][_0x33a93f(0x1df)](_0x3e3262[_0x33a93f(0x1e8)]);return;}_0x27ca92['instance']=_0x5038df,await this[_0x33a93f(0x1d7)](_0x5038df,_0x5b1bb3,_0x321f3c,_0x27ca92);}[a103_0x28e5f2(0x1d2)](_0x4b04eb){const _0x1e7c34=a103_0x28e5f2,_0x564ed5={};_0x564ed5[_0x1e7c34(0x1e0)]=function(_0x24a4ae,_0x345c06){return _0x24a4ae!==_0x345c06;};const _0x2517d5=_0x564ed5;let _0x3b1902=AutomationFramework[_0x1e7c34(0x1eb)]();if(_0x3b1902)return _0x3b1902;if(_0x2517d5[_0x1e7c34(0x1e0)](_0x4b04eb,AutomationFrameworkState[_0x1e7c34(0x1d1)])&&_0x2517d5['Bpcbo'](_0x4b04eb,AutomationFrameworkState[_0x1e7c34(0x1db)]))return this['logger'][_0x1e7c34(0x1df)]('resolveInstance:\x20no\x20instance\x20yet\x20and\x20state='+_0x4b04eb+_0x1e7c34(0x1f0)),null;const _0x47ab05=CLIUtils[_0x1e7c34(0x1d4)](),_0x20673b=TrackedInstance['createContext'](_0x47ab05);return _0x3b1902=new AutomationFrameworkInstance(_0x20673b,this[_0x1e7c34(0x1ef)](),this[_0x1e7c34(0x1ec)](),_0x4b04eb),AutomationFramework[_0x1e7c34(0x1d9)](_0x20673b,_0x3b1902),this[_0x1e7c34(0x1f2)][_0x1e7c34(0x1df)](_0x1e7c34(0x1de)+_0x47ab05+_0x1e7c34(0x1ed)+_0x20673b[_0x1e7c34(0x1d8)]()),_0x3b1902;}}function a103_0x30c9(){const _0x434af4=['CREATE','resolveInstance','4531TAaoEZ','getCurrentInstanceName','11TlawvV','144500XbkvMC','runHooks','getId','setTrackedInstance','../cliUtils.js','NONE','../instances/trackedInstance.js','../instances/automationFrameworkInstance.js','resolveInstance:\x20created\x20instance\x20target=','debug','Bpcbo','154KEpxAV','667592HqQLkm','36TsozGH','623547bdRXGY','../../../helpers/classLogger.js','./automationFramework.js','trackEvent:\x20automationFrameworkState=','hHPUN','271922HjvunK','25BvWuXY','getTrackedInstance','getAutomationFrameworkVersion','\x20contextId=','\x20hookState=','getAutomationFrameworkName','\x20does\x20not\x20create\x20one','../state/automationFrameworkState.js','logger','9XeRlpQ','10918812OMhVzt','2866970akMQTT'];a103_0x30c9=function(){return _0x434af4;};return a103_0x30c9();}module['exports']=SeleniumAutomationFramework;
1
+ const a103_0x14efb3=a103_0x2d56;(function(_0x64c489,_0x331246){const _0x4c5812=a103_0x2d56,_0xb41de9=_0x64c489();while(!![]){try{const _0x5153f6=-parseInt(_0x4c5812(0xd7))/0x1*(parseInt(_0x4c5812(0xee))/0x2)+-parseInt(_0x4c5812(0xde))/0x3+parseInt(_0x4c5812(0xe7))/0x4*(parseInt(_0x4c5812(0xea))/0x5)+parseInt(_0x4c5812(0xdc))/0x6+-parseInt(_0x4c5812(0xdb))/0x7*(parseInt(_0x4c5812(0xdd))/0x8)+parseInt(_0x4c5812(0xe9))/0x9*(parseInt(_0x4c5812(0xec))/0xa)+-parseInt(_0x4c5812(0xf0))/0xb;if(_0x5153f6===_0x331246)break;else _0xb41de9['push'](_0xb41de9['shift']());}catch(_0x51e649){_0xb41de9['push'](_0xb41de9['shift']());}}}(a103_0x10df,0x7d5d7));const AutomationFramework=require(a103_0x14efb3(0xd6)),AutomationFrameworkState=require('../state/automationFrameworkState.js'),AutomationFrameworkInstance=require('../instances/automationFrameworkInstance.js'),TrackedInstance=require(a103_0x14efb3(0xe0)),CLIUtils=require('../cliUtils.js'),{createClassLogger}=require(a103_0x14efb3(0xed));function a103_0x2d56(_0x46eb9e,_0x5a777f){const _0x10dfa3=a103_0x10df();return a103_0x2d56=function(_0x2d56ae,_0xef1ee6){_0x2d56ae=_0x2d56ae-0xd4;let _0x2089e9=_0x10dfa3[_0x2d56ae];return _0x2089e9;},a103_0x2d56(_0x46eb9e,_0x5a777f);}function a103_0x10df(){const _0x2dcaab=['9JcZJMj','646735QftKKp','getAutomationFrameworkVersion','6988480ZDTmtY','../../../helpers/classLogger.js','4616AlhjtA','\x20contextId=','3804427Okowld','resolveInstance','trackEvent','exports','mmvdU','./automationFramework.js','415aRkExf','debug','qyzcl','createContext','234031gJYGra','5733696ATQopH','40vLoOew','1338627cPXKuS','getCurrentInstanceName','../instances/trackedInstance.js','trackEvent:\x20instance\x20could\x20not\x20be\x20resolved','\x20does\x20not\x20create\x20one','logger','SeleniumAutomationFramework','setTrackedInstance','getTrackedInstance','24xUptUM','trackEvent:\x20automationFrameworkState='];a103_0x10df=function(){return _0x2dcaab;};return a103_0x10df();}class SeleniumAutomationFramework extends AutomationFramework{[a103_0x14efb3(0xe3)]=createClassLogger(a103_0x14efb3(0xe4));constructor(_0x367a7f,_0x166b92){super(_0x367a7f,_0x166b92);}async[a103_0x14efb3(0xf2)](_0x30a45d,_0x1d796b,_0x3d28b9={}){const _0xe5539a=a103_0x14efb3,_0x17c01a={};_0x17c01a[_0xe5539a(0xd5)]=_0xe5539a(0xe1);const _0x26cc30=_0x17c01a;this['logger'][_0xe5539a(0xd8)](_0xe5539a(0xe8)+_0x30a45d+'\x20hookState='+_0x1d796b),await super['trackEvent'](_0x30a45d,_0x1d796b,_0x3d28b9);const _0x3310a0=this['resolveInstance'](_0x30a45d);if(!_0x3310a0){this[_0xe5539a(0xe3)][_0xe5539a(0xd8)](_0x26cc30['mmvdU']);return;}_0x3d28b9['instance']=_0x3310a0,await this['runHooks'](_0x3310a0,_0x30a45d,_0x1d796b,_0x3d28b9);}[a103_0x14efb3(0xf1)](_0x2f418b){const _0xa80db7=a103_0x14efb3,_0x2df419={};_0x2df419[_0xa80db7(0xd9)]=function(_0x30fbf2,_0x50d06a){return _0x30fbf2!==_0x50d06a;};const _0x536cd8=_0x2df419;let _0x358a26=AutomationFramework[_0xa80db7(0xe6)]();if(_0x358a26)return _0x358a26;if(_0x536cd8[_0xa80db7(0xd9)](_0x2f418b,AutomationFrameworkState['CREATE'])&&_0x536cd8[_0xa80db7(0xd9)](_0x2f418b,AutomationFrameworkState['NONE']))return this[_0xa80db7(0xe3)][_0xa80db7(0xd8)]('resolveInstance:\x20no\x20instance\x20yet\x20and\x20state='+_0x2f418b+_0xa80db7(0xe2)),null;const _0x3c1cc8=CLIUtils[_0xa80db7(0xdf)](),_0x94caf9=TrackedInstance[_0xa80db7(0xda)](_0x3c1cc8);return _0x358a26=new AutomationFrameworkInstance(_0x94caf9,this['getAutomationFrameworkName'](),this[_0xa80db7(0xeb)](),_0x2f418b),AutomationFramework[_0xa80db7(0xe5)](_0x94caf9,_0x358a26),this[_0xa80db7(0xe3)]['debug']('resolveInstance:\x20created\x20instance\x20target='+_0x3c1cc8+_0xa80db7(0xef)+_0x94caf9['getId']()),_0x358a26;}}module[a103_0x14efb3(0xd4)]=SeleniumAutomationFramework;
@@ -1 +1 @@
1
- const a104_0x424030=a104_0x27e9;(function(_0x185e6e,_0xb2c15c){const _0x2e0e85=a104_0x27e9,_0x1236ad=_0x185e6e();while(!![]){try{const _0x41b0f5=parseInt(_0x2e0e85(0x192))/0x1+parseInt(_0x2e0e85(0x170))/0x2*(-parseInt(_0x2e0e85(0x17e))/0x3)+parseInt(_0x2e0e85(0x177))/0x4*(parseInt(_0x2e0e85(0x18a))/0x5)+parseInt(_0x2e0e85(0x196))/0x6*(-parseInt(_0x2e0e85(0x18d))/0x7)+parseInt(_0x2e0e85(0x16d))/0x8*(-parseInt(_0x2e0e85(0x173))/0x9)+parseInt(_0x2e0e85(0x172))/0xa*(-parseInt(_0x2e0e85(0x18c))/0xb)+parseInt(_0x2e0e85(0x18f))/0xc;if(_0x41b0f5===_0xb2c15c)break;else _0x1236ad['push'](_0x1236ad['shift']());}catch(_0x2bbd85){_0x1236ad['push'](_0x1236ad['shift']());}}}(a104_0x4d9f,0x9f287));function a104_0x4d9f(){const _0x2efc38=['../instances/trackedContext','54394OFoGhJ','hasState','1070250yUtjVD','27UegLxU','testFrameworkVersions','__bstack_test_framework_instances__','setInstance','52532aMKjUu','getInstances','get','../state/hookState','debug','getCurrentInstanceName','trackEvent:\x20testFrameworkState=','33WZltfd','setTrackedInstance',';\x20hookState=','getTestFrameworksVersions','setState','../../../helpers/classLogger','../instances/trackedInstance','set','binSessionId','getState','TestFramework','setCurrentHookState','415abwuGI','getTrackedInstance','132GKdnpi','2669716dovCoR','getId','18626808kaMwTL','runHooks','../state/testFrameworkState','1069611aqVvwE','../eventDispatcher','testFrameworks','trackEvent','12EhGNSZ','has','getAllData','instances','getHookRegistryKey','1903280IZXGrc','createContext'];a104_0x4d9f=function(){return _0x2efc38;};return a104_0x4d9f();}const CLIUtils=require('../cliUtils'),eventDispatcher=require(a104_0x424030(0x193)),TestFrameworkInstance=require('../instances/testFrameworkInstance'),TrackedContext=require(a104_0x424030(0x16f)),TestFrameworkState=require(a104_0x424030(0x191)),HookState=require(a104_0x424030(0x17a)),{createClassLogger}=require(a104_0x424030(0x183)),TrackedInstance=require(a104_0x424030(0x184)),logger=createClassLogger(a104_0x424030(0x188));function a104_0x27e9(_0x443536,_0x35615f){const _0x4d9f64=a104_0x4d9f();return a104_0x27e9=function(_0x27e9a9,_0x32bb20){_0x27e9a9=_0x27e9a9-0x16b;let _0x68082a=_0x4d9f64[_0x27e9a9];return _0x68082a;},a104_0x27e9(_0x443536,_0x35615f);}!global['__bstack_test_framework_instances__']&&(global[a104_0x424030(0x175)]=new Map());class TestFramework{static get[a104_0x424030(0x16b)](){return global['__bstack_test_framework_instances__'];}[a104_0x424030(0x194)]=[];[a104_0x424030(0x174)]={};['binSessionId']=null;constructor(_0x526a0d,_0x231cdb,_0x9e70e){const _0x34ebbd=a104_0x424030;this[_0x34ebbd(0x194)]=_0x526a0d,this[_0x34ebbd(0x174)]=_0x231cdb,this[_0x34ebbd(0x186)]=_0x9e70e;}[a104_0x424030(0x178)](){const _0x4a8d6=a104_0x424030;return TestFramework[_0x4a8d6(0x16b)];}[a104_0x424030(0x176)](_0x4ff07c,_0x156725){const _0x5f0017=a104_0x424030;TestFramework[_0x5f0017(0x16b)][_0x5f0017(0x185)](_0x4ff07c[_0x5f0017(0x18e)],_0x156725);}static[a104_0x424030(0x18b)](){const _0x15db53=a104_0x424030,_0x1ddb2f=TrackedInstance[_0x15db53(0x16e)](CLIUtils[_0x15db53(0x17c)]());return TestFramework['instances'][_0x15db53(0x179)](_0x1ddb2f[_0x15db53(0x18e)]());}static[a104_0x424030(0x17f)](_0x601db0,_0x3e67ef){const _0x4b6ac2=a104_0x424030;TestFramework[_0x4b6ac2(0x16b)]['set'](_0x601db0[_0x4b6ac2(0x18e)](),_0x3e67ef);}[a104_0x424030(0x181)](){const _0x26dd08=a104_0x424030;return this[_0x26dd08(0x174)];}['getTestFrameworks'](){const _0x43a631=a104_0x424030;return this[_0x43a631(0x194)];}[a104_0x424030(0x195)](_0x344982,_0x1d5ef8,_0x1384cb={}){const _0xa2be78=a104_0x424030;logger[_0xa2be78(0x17b)](_0xa2be78(0x17d)+_0x344982+_0xa2be78(0x180)+_0x1d5ef8);}async[a104_0x424030(0x190)](_0x304820,_0x506462,_0x1d4f53,_0x53d4ae={}){const _0x2898c4=a104_0x424030,_0x5c0a23=CLIUtils['getHookRegistryKey'](_0x506462,_0x1d4f53);_0x304820['setCurrentTestState'](_0x506462),_0x304820[_0x2898c4(0x189)](_0x1d4f53),await eventDispatcher['notifyObserver'](_0x5c0a23,_0x53d4ae);}static['registerObserver'](_0x4a541c,_0xe0ab01,_0x34b566){const _0x167086=a104_0x424030;eventDispatcher['registerObserver'](CLIUtils[_0x167086(0x16c)](_0x4a541c,_0xe0ab01),_0x34b566);}static[a104_0x424030(0x187)](_0x8884fe,_0x1a4485){const _0x51ab1d=a104_0x424030;return _0x8884fe[_0x51ab1d(0x198)]()[_0x51ab1d(0x179)](_0x1a4485);}static[a104_0x424030(0x182)](_0xc0b719,_0x4737e9,_0x27a046){const _0x16d6df=a104_0x424030;_0xc0b719[_0x16d6df(0x198)]()['set'](_0x4737e9,_0x27a046);}static[a104_0x424030(0x171)](_0x28088c,_0x195e53){const _0x202b3b=a104_0x424030;return _0x28088c[_0x202b3b(0x198)]()[_0x202b3b(0x197)](_0x195e53);}}module['exports']=TestFramework;
1
+ function a104_0x1877(){const _0x4ab6e2=['getHookRegistryKey','44kQztoh','231UPHlpU','../instances/trackedInstance','runHooks','trackEvent:\x20testFrameworkState=','getInstances','getAllData','getCurrentInstanceName','288781HGAfti','6LxZglp','hasState','TestFramework','getState','1232019YVFHCM','registerObserver','351140eciNJa','../cliUtils','setInstance','createContext','40660ZeeGFh','get','1882685AMJvRC','testFrameworkVersions','notifyObserver','testFrameworks','set','getTestFrameworks','trackEvent','setCurrentHookState','../state/hookState','getId','getTrackedInstance','6112DLKBMD','5418rlGTBI','instances','setState','has','../../../helpers/classLogger','__bstack_test_framework_instances__','../instances/trackedContext','getTestFrameworksVersions','setTrackedInstance','setCurrentTestState',';\x20hookState=','binSessionId','752310uyOCKi','../state/testFrameworkState'];a104_0x1877=function(){return _0x4ab6e2;};return a104_0x1877();}const a104_0x46ba00=a104_0x4bf6;(function(_0x52ff81,_0x282f33){const _0x26fad2=a104_0x4bf6,_0x41b191=_0x52ff81();while(!![]){try{const _0x40ef7a=parseInt(_0x26fad2(0x17b))/0x1+parseInt(_0x26fad2(0x170))/0x2+parseInt(_0x26fad2(0x180))/0x3+parseInt(_0x26fad2(0x173))/0x4*(parseInt(_0x26fad2(0x156))/0x5)+parseInt(_0x26fad2(0x17c))/0x6*(parseInt(_0x26fad2(0x158))/0x7)+-parseInt(_0x26fad2(0x163))/0x8*(parseInt(_0x26fad2(0x164))/0x9)+-parseInt(_0x26fad2(0x152))/0xa*(parseInt(_0x26fad2(0x174))/0xb);if(_0x40ef7a===_0x282f33)break;else _0x41b191['push'](_0x41b191['shift']());}catch(_0x12a072){_0x41b191['push'](_0x41b191['shift']());}}}(a104_0x1877,0x39c96));function a104_0x4bf6(_0x5f3640,_0x481baa){const _0x1877c7=a104_0x1877();return a104_0x4bf6=function(_0x4bf677,_0x1a4586){_0x4bf677=_0x4bf677-0x151;let _0x4a64cc=_0x1877c7[_0x4bf677];return _0x4a64cc;},a104_0x4bf6(_0x5f3640,_0x481baa);}const CLIUtils=require(a104_0x46ba00(0x153)),eventDispatcher=require('../eventDispatcher'),TestFrameworkInstance=require('../instances/testFrameworkInstance'),TrackedContext=require(a104_0x46ba00(0x16a)),TestFrameworkState=require(a104_0x46ba00(0x171)),HookState=require(a104_0x46ba00(0x160)),{createClassLogger}=require(a104_0x46ba00(0x168)),TrackedInstance=require(a104_0x46ba00(0x175)),logger=createClassLogger(a104_0x46ba00(0x17e));!global[a104_0x46ba00(0x169)]&&(global[a104_0x46ba00(0x169)]=new Map());class TestFramework{static get[a104_0x46ba00(0x165)](){return global['__bstack_test_framework_instances__'];}['testFrameworks']=[];[a104_0x46ba00(0x159)]={};[a104_0x46ba00(0x16f)]=null;constructor(_0x3feb6f,_0x2c5040,_0x56d63d){const _0x1b1082=a104_0x46ba00;this[_0x1b1082(0x15b)]=_0x3feb6f,this['testFrameworkVersions']=_0x2c5040,this[_0x1b1082(0x16f)]=_0x56d63d;}[a104_0x46ba00(0x178)](){const _0x5795a4=a104_0x46ba00;return TestFramework[_0x5795a4(0x165)];}[a104_0x46ba00(0x154)](_0x563f94,_0x5fc278){const _0x1c94aa=a104_0x46ba00;TestFramework[_0x1c94aa(0x165)]['set'](_0x563f94[_0x1c94aa(0x161)],_0x5fc278);}static[a104_0x46ba00(0x162)](){const _0x3f0008=a104_0x46ba00,_0x40f355=TrackedInstance[_0x3f0008(0x155)](CLIUtils[_0x3f0008(0x17a)]());return TestFramework['instances']['get'](_0x40f355['getId']());}static[a104_0x46ba00(0x16c)](_0x19e59a,_0x3ca960){const _0x47e58f=a104_0x46ba00;TestFramework[_0x47e58f(0x165)][_0x47e58f(0x15c)](_0x19e59a[_0x47e58f(0x161)](),_0x3ca960);}[a104_0x46ba00(0x16b)](){const _0x5424ee=a104_0x46ba00;return this[_0x5424ee(0x159)];}[a104_0x46ba00(0x15d)](){return this['testFrameworks'];}[a104_0x46ba00(0x15e)](_0x3d8ee8,_0x436618,_0x34e124={}){const _0x116d62=a104_0x46ba00;logger['debug'](_0x116d62(0x177)+_0x3d8ee8+_0x116d62(0x16e)+_0x436618);}async[a104_0x46ba00(0x176)](_0x5475fa,_0x25d7ed,_0x182c63,_0x717577={}){const _0x2bbabc=a104_0x46ba00,_0x1ad2f6=CLIUtils[_0x2bbabc(0x172)](_0x25d7ed,_0x182c63);_0x5475fa[_0x2bbabc(0x16d)](_0x25d7ed),_0x5475fa[_0x2bbabc(0x15f)](_0x182c63),await eventDispatcher[_0x2bbabc(0x15a)](_0x1ad2f6,_0x717577);}static[a104_0x46ba00(0x151)](_0x4ec6de,_0x5c49e8,_0x3867c3){const _0x171fc0=a104_0x46ba00;eventDispatcher['registerObserver'](CLIUtils[_0x171fc0(0x172)](_0x4ec6de,_0x5c49e8),_0x3867c3);}static[a104_0x46ba00(0x17f)](_0x574565,_0x1245c1){const _0x3f1239=a104_0x46ba00;return _0x574565[_0x3f1239(0x179)]()[_0x3f1239(0x157)](_0x1245c1);}static[a104_0x46ba00(0x166)](_0x7e5b8,_0x879040,_0x102757){const _0x5dad44=a104_0x46ba00;_0x7e5b8[_0x5dad44(0x179)]()[_0x5dad44(0x15c)](_0x879040,_0x102757);}static[a104_0x46ba00(0x17d)](_0x38c601,_0x293b6b){const _0x2aa5bf=a104_0x46ba00;return _0x38c601[_0x2aa5bf(0x179)]()[_0x2aa5bf(0x167)](_0x293b6b);}}module['exports']=TestFramework;
@@ -1 +1 @@
1
- 'use strict';const a105_0x29bd8d=a105_0x3b48;(function(_0x117ba1,_0xb8c51e){const _0x569ef7=a105_0x3b48,_0x501080=_0x117ba1();while(!![]){try{const _0x5e6c22=-parseInt(_0x569ef7(0x137))/0x1+parseInt(_0x569ef7(0x12e))/0x2+parseInt(_0x569ef7(0x14f))/0x3+parseInt(_0x569ef7(0x158))/0x4+parseInt(_0x569ef7(0x14c))/0x5+-parseInt(_0x569ef7(0x12a))/0x6+-parseInt(_0x569ef7(0x145))/0x7*(-parseInt(_0x569ef7(0x146))/0x8);if(_0x5e6c22===_0xb8c51e)break;else _0x501080['push'](_0x501080['shift']());}catch(_0xd2d953){_0x501080['push'](_0x501080['shift']());}}}(a105_0x4398,0xc8c43));function a105_0x4398(){const _0x1b575a=['resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22','baNwd','slice','iterAllInstances','bhHPc','KRqnU','platformIndex','2690692JCxvdK','get','createContext','LJwwP','entries','../instances/automationFrameworkInstance.js','4901856ZacXaJ','./automationFramework.js','trackEvent:\x20no\x20instance\x20for\x20state=','getAutomationFrameworkVersion','648902xuIzks','vlRTr','removeInstance','\x20hookState=','SoFrc','instance','TestCafeAutomationFramework','instances','muCIs','1231500AQwTGj','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','set','\x22\x20platformIndex=','../instances/trackedInstance.js','debug','../state/automationFrameworkState.js','warn','CREATE','string','isInteger','trackEvent','runHooks','resolveInstance','77kFmuAG','19528ukFrth','\x20→\x20','startsWith','getAutomationFrameworkName','oTeZY','getTrackedInstance','6359215Xwmjcl','userAgent','testcafe:','1724991llpBZf','delete'];a105_0x4398=function(){return _0x1b575a;};return a105_0x4398();}function a105_0x3b48(_0x2457db,_0x22893b){const _0x43981b=a105_0x4398();return a105_0x3b48=function(_0x3b4818,_0x58481a){_0x3b4818=_0x3b4818-0x127;let _0x4c319f=_0x43981b[_0x3b4818];return _0x4c319f;},a105_0x3b48(_0x2457db,_0x22893b);}const AutomationFramework=require(a105_0x29bd8d(0x12b)),AutomationFrameworkInstance=require(a105_0x29bd8d(0x129)),AutomationFrameworkState=require(a105_0x29bd8d(0x13d)),TrackedInstance=require(a105_0x29bd8d(0x13b)),{createClassLogger}=require('../../../helpers/classLogger.js'),logger=createClassLogger(a105_0x29bd8d(0x134));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x3c7da7,_0x59feb5){super(_0x3c7da7,_0x59feb5);}async[a105_0x29bd8d(0x142)](_0x2709f5,_0x334791,_0x456aed={}){const _0x25d7fd=a105_0x29bd8d;await super[_0x25d7fd(0x142)](_0x2709f5,_0x334791,_0x456aed);const _0x21161b=this[_0x25d7fd(0x144)](_0x2709f5,_0x334791,_0x456aed);if(!_0x21161b){logger[_0x25d7fd(0x13c)](_0x25d7fd(0x12c)+_0x2709f5+_0x25d7fd(0x131)+_0x334791);return;}_0x456aed[_0x25d7fd(0x133)]=_0x21161b,await this[_0x25d7fd(0x143)](_0x21161b,_0x2709f5,_0x334791,_0x456aed);}[a105_0x29bd8d(0x144)](_0x1ea4cf,_0x455abf,_0x5a10a9={}){const _0x37e544=a105_0x29bd8d,_0xa96ff2={};_0xa96ff2[_0x37e544(0x12f)]=_0x37e544(0x138),_0xa96ff2[_0x37e544(0x152)]=function(_0x1bbc64,_0x113642){return _0x1bbc64===_0x113642;},_0xa96ff2['LJwwP']=function(_0x5ee91a,_0x162da1){return _0x5ee91a===_0x162da1;},_0xa96ff2['muCIs']=function(_0x43ad30,_0x584b93){return _0x43ad30||_0x584b93;};const _0x5dbb1e=_0xa96ff2,_0x502e6e=_0x5a10a9['userAgent']||null;if(!_0x502e6e)return logger[_0x37e544(0x13e)](_0x5dbb1e[_0x37e544(0x12f)]),AutomationFramework[_0x37e544(0x14b)]();const _0x5ddc7e=Number[_0x37e544(0x141)](_0x5a10a9['platformIndex'])?_0x5a10a9[_0x37e544(0x157)]:0x0,_0x321545='testcafe:'+_0x502e6e+'#'+_0x5ddc7e;let _0x510f79=AutomationFramework[_0x37e544(0x135)]['get'](_0x321545);if(!_0x510f79&&(_0x5dbb1e[_0x37e544(0x152)](_0x1ea4cf,AutomationFrameworkState[_0x37e544(0x13f)])||_0x5dbb1e[_0x37e544(0x127)](_0x1ea4cf,AutomationFrameworkState['NONE']))){const _0x3b4527=TrackedInstance[_0x37e544(0x15a)](_0x321545);_0x510f79=new AutomationFrameworkInstance(_0x3b4527,this[_0x37e544(0x149)](),this[_0x37e544(0x12d)](),_0x1ea4cf),AutomationFramework['instances'][_0x37e544(0x139)](_0x321545,_0x510f79),logger['info'](_0x37e544(0x151)+_0x502e6e+_0x37e544(0x13a)+_0x5ddc7e+_0x37e544(0x147)+_0x321545);}return _0x5dbb1e[_0x37e544(0x136)](_0x510f79,null);}static[a105_0x29bd8d(0x130)](_0x5e5e2b,_0xc858e5=0x0){const _0x13405e=a105_0x29bd8d,_0x303055=_0x13405e(0x14e)+_0x5e5e2b+'#'+_0xc858e5;return AutomationFramework[_0x13405e(0x135)][_0x13405e(0x150)](_0x303055);}static['getInstanceByUserAgent'](_0x4b00cf,_0x5a3b82=0x0){const _0x3b05b5=a105_0x29bd8d;return AutomationFramework[_0x3b05b5(0x135)][_0x3b05b5(0x159)](_0x3b05b5(0x14e)+_0x4b00cf+'#'+_0x5a3b82)||null;}static*[a105_0x29bd8d(0x154)](){const _0x43b236=a105_0x29bd8d,_0x4c2c18={};_0x4c2c18[_0x43b236(0x156)]=function(_0x13a5b7,_0x2e8751){return _0x13a5b7===_0x2e8751;},_0x4c2c18[_0x43b236(0x132)]=_0x43b236(0x140),_0x4c2c18[_0x43b236(0x14a)]=_0x43b236(0x14e),_0x4c2c18[_0x43b236(0x155)]=function(_0x479219,_0x257e50){return _0x479219+_0x257e50;};const _0x2f14c7=_0x4c2c18;for(const [_0x19c39d,_0x1ecf1d]of AutomationFramework[_0x43b236(0x135)][_0x43b236(0x128)]()){if(_0x2f14c7[_0x43b236(0x156)](typeof _0x19c39d,_0x2f14c7['SoFrc'])&&_0x19c39d[_0x43b236(0x148)](_0x2f14c7['oTeZY'])){const _0x3c01dc=_0x19c39d[_0x43b236(0x153)](_0x2f14c7[_0x43b236(0x14a)]['length']),_0x4e4d0c=_0x3c01dc['lastIndexOf']('#');if(_0x2f14c7[_0x43b236(0x156)](_0x4e4d0c,-0x1)){const _0x2cd845={};_0x2cd845[_0x43b236(0x14d)]=_0x3c01dc,_0x2cd845[_0x43b236(0x157)]=0x0,_0x2cd845[_0x43b236(0x133)]=_0x1ecf1d,yield _0x2cd845;}else{const _0x383ef4=_0x3c01dc['slice'](0x0,_0x4e4d0c),_0x55e6c3=Number['parseInt'](_0x3c01dc[_0x43b236(0x153)](_0x2f14c7[_0x43b236(0x155)](_0x4e4d0c,0x1)),0xa)||0x0,_0x2250c4={};_0x2250c4[_0x43b236(0x14d)]=_0x383ef4,_0x2250c4[_0x43b236(0x157)]=_0x55e6c3,_0x2250c4[_0x43b236(0x133)]=_0x1ecf1d,yield _0x2250c4;}}}}}module['exports']=TestCafeAutomationFramework;
1
+ 'use strict';function a105_0x324e(_0x2dc01c,_0x47d7c3){const _0x2854b6=a105_0x2854();return a105_0x324e=function(_0x324efb,_0x4d2d82){_0x324efb=_0x324efb-0x1af;let _0x523ff4=_0x2854b6[_0x324efb];return _0x523ff4;},a105_0x324e(_0x2dc01c,_0x47d7c3);}const a105_0x5eb986=a105_0x324e;(function(_0x440b8a,_0x534da2){const _0x54dead=a105_0x324e,_0xf8622c=_0x440b8a();while(!![]){try{const _0x4313af=-parseInt(_0x54dead(0x1e7))/0x1+parseInt(_0x54dead(0x1d0))/0x2*(parseInt(_0x54dead(0x1bf))/0x3)+-parseInt(_0x54dead(0x1d6))/0x4*(-parseInt(_0x54dead(0x1d4))/0x5)+parseInt(_0x54dead(0x1dd))/0x6+-parseInt(_0x54dead(0x1d1))/0x7*(-parseInt(_0x54dead(0x1be))/0x8)+-parseInt(_0x54dead(0x1af))/0x9*(-parseInt(_0x54dead(0x1b1))/0xa)+-parseInt(_0x54dead(0x1e4))/0xb;if(_0x4313af===_0x534da2)break;else _0xf8622c['push'](_0xf8622c['shift']());}catch(_0x50dafa){_0xf8622c['push'](_0xf8622c['shift']());}}}(a105_0x2854,0x20d52));function a105_0x2854(){const _0xe21185=['CREATE','EgDgs','lSSOi','isInteger','length','776118zfUMCK','getInstanceByUserAgent','set','testcafe:','fKNul','getTrackedInstance','XRIBo','5452073sHBJwS','info','slice','79060SCPFbv','9KxnVeQ','\x20→\x20','1736710utnepa','getAutomationFrameworkName','lastIndexOf','ZPiLq','../instances/automationFrameworkInstance.js','getAutomationFrameworkVersion','resolveInstance:\x20no\x20userAgent\x20in\x20args;\x20falling\x20back\x20to\x20default\x20tracked\x20instance','instances','hisOr','get','../instances/trackedInstance.js','NONE','parseInt','1248yPwxWR','37311WyMdda','iterAllInstances','trackEvent','\x20hookState=','exports','trackEvent:\x20no\x20instance\x20for\x20state=','debug','userAgent','removeInstance','platformIndex','sibLe','resolveInstance','delete','TestCafeAutomationFramework','./automationFramework.js','\x22\x20platformIndex=','../state/automationFrameworkState.js','36IHySOh','2660KdgIXU','runHooks','createContext','695taVaJR','warn','3540zjBdXv','HZnhO'];a105_0x2854=function(){return _0xe21185;};return a105_0x2854();}const AutomationFramework=require(a105_0x5eb986(0x1cd)),AutomationFrameworkInstance=require(a105_0x5eb986(0x1b5)),AutomationFrameworkState=require(a105_0x5eb986(0x1cf)),TrackedInstance=require(a105_0x5eb986(0x1bb)),{createClassLogger}=require('../../../helpers/classLogger.js'),logger=createClassLogger(a105_0x5eb986(0x1cc));class TestCafeAutomationFramework extends AutomationFramework{constructor(_0x294b13,_0x2e9c84){super(_0x294b13,_0x2e9c84);}async['trackEvent'](_0x49ba28,_0x4aa938,_0xd8d478={}){const _0x55c70a=a105_0x5eb986;await super[_0x55c70a(0x1c1)](_0x49ba28,_0x4aa938,_0xd8d478);const _0x57fd70=this[_0x55c70a(0x1ca)](_0x49ba28,_0x4aa938,_0xd8d478);if(!_0x57fd70){logger[_0x55c70a(0x1c5)](_0x55c70a(0x1c4)+_0x49ba28+_0x55c70a(0x1c2)+_0x4aa938);return;}_0xd8d478['instance']=_0x57fd70,await this[_0x55c70a(0x1d2)](_0x57fd70,_0x49ba28,_0x4aa938,_0xd8d478);}['resolveInstance'](_0x6fd10f,_0x285a74,_0xa79335={}){const _0x328438=a105_0x5eb986,_0x2d1fd1={};_0x2d1fd1[_0x328438(0x1e1)]=_0x328438(0x1b7),_0x2d1fd1[_0x328438(0x1d9)]=function(_0x16fcca,_0x399390){return _0x16fcca===_0x399390;},_0x2d1fd1[_0x328438(0x1b4)]=function(_0x2f7306,_0x2bf509){return _0x2f7306||_0x2bf509;};const _0x43d382=_0x2d1fd1,_0x34eeb5=_0xa79335[_0x328438(0x1c6)]||null;if(!_0x34eeb5)return logger[_0x328438(0x1d5)](_0x43d382[_0x328438(0x1e1)]),AutomationFramework[_0x328438(0x1e2)]();const _0x27d3af=Number[_0x328438(0x1db)](_0xa79335[_0x328438(0x1c8)])?_0xa79335['platformIndex']:0x0,_0x3319b7=_0x328438(0x1e0)+_0x34eeb5+'#'+_0x27d3af;let _0x569287=AutomationFramework[_0x328438(0x1b8)][_0x328438(0x1ba)](_0x3319b7);if(!_0x569287&&(_0x43d382[_0x328438(0x1d9)](_0x6fd10f,AutomationFrameworkState[_0x328438(0x1d8)])||_0x43d382['EgDgs'](_0x6fd10f,AutomationFrameworkState[_0x328438(0x1bc)]))){const _0x5ce99a=TrackedInstance[_0x328438(0x1d3)](_0x3319b7);_0x569287=new AutomationFrameworkInstance(_0x5ce99a,this[_0x328438(0x1b2)](),this[_0x328438(0x1b6)](),_0x6fd10f),AutomationFramework[_0x328438(0x1b8)][_0x328438(0x1df)](_0x3319b7,_0x569287),logger[_0x328438(0x1e5)]('resolveInstance:\x20created\x20instance\x20for\x20userAgent=\x22'+_0x34eeb5+_0x328438(0x1ce)+_0x27d3af+_0x328438(0x1b0)+_0x3319b7);}return _0x43d382['ZPiLq'](_0x569287,null);}static[a105_0x5eb986(0x1c7)](_0x3c1f90,_0x5813e3=0x0){const _0x3335ae=a105_0x5eb986,_0x52f540=_0x3335ae(0x1e0)+_0x3c1f90+'#'+_0x5813e3;return AutomationFramework[_0x3335ae(0x1b8)][_0x3335ae(0x1cb)](_0x52f540);}static[a105_0x5eb986(0x1de)](_0x37bf7b,_0x2e5a17=0x0){const _0x4f9b8f=a105_0x5eb986;return AutomationFramework[_0x4f9b8f(0x1b8)][_0x4f9b8f(0x1ba)](_0x4f9b8f(0x1e0)+_0x37bf7b+'#'+_0x2e5a17)||null;}static*[a105_0x5eb986(0x1c0)](){const _0x3be921=a105_0x5eb986,_0xdb66fc={};_0xdb66fc[_0x3be921(0x1e3)]=function(_0x1228c7,_0x3b4f46){return _0x1228c7===_0x3b4f46;},_0xdb66fc[_0x3be921(0x1b9)]='string',_0xdb66fc[_0x3be921(0x1da)]=_0x3be921(0x1e0),_0xdb66fc[_0x3be921(0x1d7)]=function(_0x451782,_0xb5bee5){return _0x451782===_0xb5bee5;},_0xdb66fc[_0x3be921(0x1c9)]=function(_0x1fd925,_0x33cda0){return _0x1fd925+_0x33cda0;};const _0x1e797c=_0xdb66fc;for(const [_0x39847c,_0x14ed98]of AutomationFramework['instances']['entries']()){if(_0x1e797c[_0x3be921(0x1e3)](typeof _0x39847c,_0x1e797c[_0x3be921(0x1b9)])&&_0x39847c['startsWith'](_0x1e797c[_0x3be921(0x1da)])){const _0x225ae3=_0x39847c[_0x3be921(0x1e6)](_0x1e797c[_0x3be921(0x1da)][_0x3be921(0x1dc)]),_0xcfddbd=_0x225ae3[_0x3be921(0x1b3)]('#');if(_0x1e797c['HZnhO'](_0xcfddbd,-0x1)){const _0x45eb78={};_0x45eb78[_0x3be921(0x1c6)]=_0x225ae3,_0x45eb78[_0x3be921(0x1c8)]=0x0,_0x45eb78['instance']=_0x14ed98,yield _0x45eb78;}else{const _0x49d5ad=_0x225ae3[_0x3be921(0x1e6)](0x0,_0xcfddbd),_0x415c39=Number[_0x3be921(0x1bd)](_0x225ae3['slice'](_0x1e797c[_0x3be921(0x1c9)](_0xcfddbd,0x1)),0xa)||0x0,_0x205d9c={};_0x205d9c['userAgent']=_0x49d5ad,_0x205d9c['platformIndex']=_0x415c39,_0x205d9c['instance']=_0x14ed98,yield _0x205d9c;}}}}}module[a105_0x5eb986(0x1c3)]=TestCafeAutomationFramework;