@zohodesk/testinglibrary 3.2.13 → 3.2.14

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 (533) hide show
  1. package/.gitlab-ci.yml +13 -13
  2. package/build/common/data-generator/steps/DataGeneratorStepsHelper.js +3 -1
  3. package/build/core/dataGenerator/DataGenerator.js +0 -9
  4. package/build/core/playwright/helpers/auth/getUsers.js +2 -1
  5. package/build/test/Test.js +13 -0
  6. package/npm-shrinkwrap.json +140 -220
  7. package/package.json +1 -3
  8. package/playwright-mcp-test/node_modules/.package-lock.json +0 -54
  9. package/playwright-mcp-test/node_modules/@playwright/mcp/LICENSE +0 -202
  10. package/playwright-mcp-test/node_modules/@playwright/mcp/README.md +0 -907
  11. package/playwright-mcp-test/node_modules/@playwright/mcp/cli.js +0 -24
  12. package/playwright-mcp-test/node_modules/@playwright/mcp/config.d.ts +0 -174
  13. package/playwright-mcp-test/node_modules/@playwright/mcp/index.d.ts +0 -23
  14. package/playwright-mcp-test/node_modules/@playwright/mcp/index.js +0 -19
  15. package/playwright-mcp-test/node_modules/@playwright/mcp/package.json +0 -52
  16. package/playwright-mcp-test/node_modules/playwright/LICENSE +0 -202
  17. package/playwright-mcp-test/node_modules/playwright/NOTICE +0 -5
  18. package/playwright-mcp-test/node_modules/playwright/README.md +0 -168
  19. package/playwright-mcp-test/node_modules/playwright/ThirdPartyNotices.txt +0 -6277
  20. package/playwright-mcp-test/node_modules/playwright/cli.js +0 -19
  21. package/playwright-mcp-test/node_modules/playwright/index.d.ts +0 -17
  22. package/playwright-mcp-test/node_modules/playwright/index.js +0 -17
  23. package/playwright-mcp-test/node_modules/playwright/index.mjs +0 -18
  24. package/playwright-mcp-test/node_modules/playwright/jsx-runtime.js +0 -42
  25. package/playwright-mcp-test/node_modules/playwright/jsx-runtime.mjs +0 -21
  26. package/playwright-mcp-test/node_modules/playwright/lib/agents/generateAgents.js +0 -368
  27. package/playwright-mcp-test/node_modules/playwright/lib/agents/generator.agent.md +0 -101
  28. package/playwright-mcp-test/node_modules/playwright/lib/agents/healer.agent.md +0 -77
  29. package/playwright-mcp-test/node_modules/playwright/lib/agents/planner.agent.md +0 -138
  30. package/playwright-mcp-test/node_modules/playwright/lib/agents/test-coverage.prompt.md +0 -31
  31. package/playwright-mcp-test/node_modules/playwright/lib/agents/test-generate.prompt.md +0 -8
  32. package/playwright-mcp-test/node_modules/playwright/lib/agents/test-heal.prompt.md +0 -6
  33. package/playwright-mcp-test/node_modules/playwright/lib/agents/test-plan.prompt.md +0 -9
  34. package/playwright-mcp-test/node_modules/playwright/lib/common/config.js +0 -280
  35. package/playwright-mcp-test/node_modules/playwright/lib/common/configLoader.js +0 -344
  36. package/playwright-mcp-test/node_modules/playwright/lib/common/esmLoaderHost.js +0 -102
  37. package/playwright-mcp-test/node_modules/playwright/lib/common/expectBundle.js +0 -52
  38. package/playwright-mcp-test/node_modules/playwright/lib/common/expectBundleImpl.js +0 -389
  39. package/playwright-mcp-test/node_modules/playwright/lib/common/fixtures.js +0 -302
  40. package/playwright-mcp-test/node_modules/playwright/lib/common/globals.js +0 -58
  41. package/playwright-mcp-test/node_modules/playwright/lib/common/ipc.js +0 -60
  42. package/playwright-mcp-test/node_modules/playwright/lib/common/poolBuilder.js +0 -85
  43. package/playwright-mcp-test/node_modules/playwright/lib/common/process.js +0 -104
  44. package/playwright-mcp-test/node_modules/playwright/lib/common/suiteUtils.js +0 -140
  45. package/playwright-mcp-test/node_modules/playwright/lib/common/test.js +0 -321
  46. package/playwright-mcp-test/node_modules/playwright/lib/common/testLoader.js +0 -101
  47. package/playwright-mcp-test/node_modules/playwright/lib/common/testType.js +0 -298
  48. package/playwright-mcp-test/node_modules/playwright/lib/common/validators.js +0 -68
  49. package/playwright-mcp-test/node_modules/playwright/lib/fsWatcher.js +0 -67
  50. package/playwright-mcp-test/node_modules/playwright/lib/index.js +0 -682
  51. package/playwright-mcp-test/node_modules/playwright/lib/internalsForTest.js +0 -42
  52. package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/events.js +0 -77
  53. package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/folders.js +0 -30
  54. package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/stringInternPool.js +0 -69
  55. package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/teleReceiver.js +0 -508
  56. package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/teleSuiteUpdater.js +0 -137
  57. package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/testServerConnection.js +0 -211
  58. package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/testServerInterface.js +0 -16
  59. package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/testTree.js +0 -334
  60. package/playwright-mcp-test/node_modules/playwright/lib/isomorphic/types.d.js +0 -16
  61. package/playwright-mcp-test/node_modules/playwright/lib/loader/loaderMain.js +0 -59
  62. package/playwright-mcp-test/node_modules/playwright/lib/matchers/expect.js +0 -325
  63. package/playwright-mcp-test/node_modules/playwright/lib/matchers/matcherHint.js +0 -87
  64. package/playwright-mcp-test/node_modules/playwright/lib/matchers/matchers.js +0 -366
  65. package/playwright-mcp-test/node_modules/playwright/lib/matchers/toBeTruthy.js +0 -73
  66. package/playwright-mcp-test/node_modules/playwright/lib/matchers/toEqual.js +0 -99
  67. package/playwright-mcp-test/node_modules/playwright/lib/matchers/toHaveURL.js +0 -102
  68. package/playwright-mcp-test/node_modules/playwright/lib/matchers/toMatchAriaSnapshot.js +0 -159
  69. package/playwright-mcp-test/node_modules/playwright/lib/matchers/toMatchSnapshot.js +0 -341
  70. package/playwright-mcp-test/node_modules/playwright/lib/matchers/toMatchText.js +0 -99
  71. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/actions.d.js +0 -16
  72. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/browserContextFactory.js +0 -296
  73. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/browserServerBackend.js +0 -76
  74. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/codegen.js +0 -66
  75. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/config.js +0 -385
  76. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/context.js +0 -287
  77. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/response.js +0 -228
  78. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/sessionLog.js +0 -160
  79. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tab.js +0 -280
  80. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/common.js +0 -63
  81. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/console.js +0 -44
  82. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/dialogs.js +0 -60
  83. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/evaluate.js +0 -69
  84. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/files.js +0 -58
  85. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/form.js +0 -73
  86. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/install.js +0 -69
  87. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/keyboard.js +0 -84
  88. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/mouse.js +0 -107
  89. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/navigate.js +0 -62
  90. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/network.js +0 -54
  91. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/pdf.js +0 -59
  92. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/screenshot.js +0 -106
  93. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/snapshot.js +0 -181
  94. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/tabs.js +0 -67
  95. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/tool.js +0 -49
  96. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/tracing.js +0 -74
  97. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/utils.js +0 -89
  98. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/verify.js +0 -153
  99. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools/wait.js +0 -63
  100. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/tools.js +0 -80
  101. package/playwright-mcp-test/node_modules/playwright/lib/mcp/browser/watchdog.js +0 -44
  102. package/playwright-mcp-test/node_modules/playwright/lib/mcp/config.d.js +0 -16
  103. package/playwright-mcp-test/node_modules/playwright/lib/mcp/extension/cdpRelay.js +0 -351
  104. package/playwright-mcp-test/node_modules/playwright/lib/mcp/extension/extensionContextFactory.js +0 -75
  105. package/playwright-mcp-test/node_modules/playwright/lib/mcp/extension/protocol.js +0 -28
  106. package/playwright-mcp-test/node_modules/playwright/lib/mcp/index.js +0 -61
  107. package/playwright-mcp-test/node_modules/playwright/lib/mcp/log.js +0 -35
  108. package/playwright-mcp-test/node_modules/playwright/lib/mcp/program.js +0 -96
  109. package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/bundle.js +0 -81
  110. package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/exports.js +0 -32
  111. package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/http.js +0 -187
  112. package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/inProcessTransport.js +0 -71
  113. package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/mdb.js +0 -206
  114. package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/proxyBackend.js +0 -128
  115. package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/server.js +0 -189
  116. package/playwright-mcp-test/node_modules/playwright/lib/mcp/sdk/tool.js +0 -51
  117. package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/browserBackend.js +0 -98
  118. package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/generatorTools.js +0 -122
  119. package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/plannerTools.js +0 -46
  120. package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/seed.js +0 -82
  121. package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/streams.js +0 -39
  122. package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/testBackend.js +0 -97
  123. package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/testContext.js +0 -176
  124. package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/testTool.js +0 -30
  125. package/playwright-mcp-test/node_modules/playwright/lib/mcp/test/testTools.js +0 -115
  126. package/playwright-mcp-test/node_modules/playwright/lib/mcpBundleImpl.js +0 -41
  127. package/playwright-mcp-test/node_modules/playwright/lib/plugins/gitCommitInfoPlugin.js +0 -198
  128. package/playwright-mcp-test/node_modules/playwright/lib/plugins/index.js +0 -28
  129. package/playwright-mcp-test/node_modules/playwright/lib/plugins/webServerPlugin.js +0 -209
  130. package/playwright-mcp-test/node_modules/playwright/lib/program.js +0 -411
  131. package/playwright-mcp-test/node_modules/playwright/lib/reporters/base.js +0 -609
  132. package/playwright-mcp-test/node_modules/playwright/lib/reporters/blob.js +0 -135
  133. package/playwright-mcp-test/node_modules/playwright/lib/reporters/dot.js +0 -82
  134. package/playwright-mcp-test/node_modules/playwright/lib/reporters/empty.js +0 -32
  135. package/playwright-mcp-test/node_modules/playwright/lib/reporters/github.js +0 -128
  136. package/playwright-mcp-test/node_modules/playwright/lib/reporters/html.js +0 -623
  137. package/playwright-mcp-test/node_modules/playwright/lib/reporters/internalReporter.js +0 -130
  138. package/playwright-mcp-test/node_modules/playwright/lib/reporters/json.js +0 -254
  139. package/playwright-mcp-test/node_modules/playwright/lib/reporters/junit.js +0 -232
  140. package/playwright-mcp-test/node_modules/playwright/lib/reporters/line.js +0 -113
  141. package/playwright-mcp-test/node_modules/playwright/lib/reporters/list.js +0 -235
  142. package/playwright-mcp-test/node_modules/playwright/lib/reporters/listModeReporter.js +0 -69
  143. package/playwright-mcp-test/node_modules/playwright/lib/reporters/markdown.js +0 -144
  144. package/playwright-mcp-test/node_modules/playwright/lib/reporters/merge.js +0 -541
  145. package/playwright-mcp-test/node_modules/playwright/lib/reporters/multiplexer.js +0 -104
  146. package/playwright-mcp-test/node_modules/playwright/lib/reporters/reporterV2.js +0 -102
  147. package/playwright-mcp-test/node_modules/playwright/lib/reporters/teleEmitter.js +0 -298
  148. package/playwright-mcp-test/node_modules/playwright/lib/reporters/versions/blobV1.js +0 -16
  149. package/playwright-mcp-test/node_modules/playwright/lib/runner/dispatcher.js +0 -491
  150. package/playwright-mcp-test/node_modules/playwright/lib/runner/failureTracker.js +0 -72
  151. package/playwright-mcp-test/node_modules/playwright/lib/runner/lastRun.js +0 -77
  152. package/playwright-mcp-test/node_modules/playwright/lib/runner/loadUtils.js +0 -334
  153. package/playwright-mcp-test/node_modules/playwright/lib/runner/loaderHost.js +0 -89
  154. package/playwright-mcp-test/node_modules/playwright/lib/runner/processHost.js +0 -161
  155. package/playwright-mcp-test/node_modules/playwright/lib/runner/projectUtils.js +0 -241
  156. package/playwright-mcp-test/node_modules/playwright/lib/runner/rebase.js +0 -189
  157. package/playwright-mcp-test/node_modules/playwright/lib/runner/reporters.js +0 -139
  158. package/playwright-mcp-test/node_modules/playwright/lib/runner/sigIntWatcher.js +0 -96
  159. package/playwright-mcp-test/node_modules/playwright/lib/runner/taskRunner.js +0 -127
  160. package/playwright-mcp-test/node_modules/playwright/lib/runner/tasks.js +0 -410
  161. package/playwright-mcp-test/node_modules/playwright/lib/runner/testGroups.js +0 -117
  162. package/playwright-mcp-test/node_modules/playwright/lib/runner/testRunner.js +0 -390
  163. package/playwright-mcp-test/node_modules/playwright/lib/runner/testServer.js +0 -264
  164. package/playwright-mcp-test/node_modules/playwright/lib/runner/uiModeReporter.js +0 -30
  165. package/playwright-mcp-test/node_modules/playwright/lib/runner/vcs.js +0 -72
  166. package/playwright-mcp-test/node_modules/playwright/lib/runner/watchMode.js +0 -395
  167. package/playwright-mcp-test/node_modules/playwright/lib/runner/workerHost.js +0 -95
  168. package/playwright-mcp-test/node_modules/playwright/lib/third_party/pirates.js +0 -62
  169. package/playwright-mcp-test/node_modules/playwright/lib/third_party/tsconfig-loader.js +0 -103
  170. package/playwright-mcp-test/node_modules/playwright/lib/transform/babelBundle.js +0 -43
  171. package/playwright-mcp-test/node_modules/playwright/lib/transform/babelBundleImpl.js +0 -461
  172. package/playwright-mcp-test/node_modules/playwright/lib/transform/compilationCache.js +0 -272
  173. package/playwright-mcp-test/node_modules/playwright/lib/transform/esmLoader.js +0 -104
  174. package/playwright-mcp-test/node_modules/playwright/lib/transform/portTransport.js +0 -67
  175. package/playwright-mcp-test/node_modules/playwright/lib/transform/transform.js +0 -293
  176. package/playwright-mcp-test/node_modules/playwright/lib/util.js +0 -403
  177. package/playwright-mcp-test/node_modules/playwright/lib/utilsBundle.js +0 -43
  178. package/playwright-mcp-test/node_modules/playwright/lib/utilsBundleImpl.js +0 -100
  179. package/playwright-mcp-test/node_modules/playwright/lib/worker/fixtureRunner.js +0 -258
  180. package/playwright-mcp-test/node_modules/playwright/lib/worker/testInfo.js +0 -514
  181. package/playwright-mcp-test/node_modules/playwright/lib/worker/testTracing.js +0 -344
  182. package/playwright-mcp-test/node_modules/playwright/lib/worker/timeoutManager.js +0 -174
  183. package/playwright-mcp-test/node_modules/playwright/lib/worker/util.js +0 -31
  184. package/playwright-mcp-test/node_modules/playwright/lib/worker/workerMain.js +0 -520
  185. package/playwright-mcp-test/node_modules/playwright/package.json +0 -72
  186. package/playwright-mcp-test/node_modules/playwright/test.d.ts +0 -18
  187. package/playwright-mcp-test/node_modules/playwright/test.js +0 -24
  188. package/playwright-mcp-test/node_modules/playwright/test.mjs +0 -33
  189. package/playwright-mcp-test/node_modules/playwright/types/test.d.ts +0 -10185
  190. package/playwright-mcp-test/node_modules/playwright/types/testReporter.d.ts +0 -821
  191. package/playwright-mcp-test/node_modules/playwright-core/LICENSE +0 -202
  192. package/playwright-mcp-test/node_modules/playwright-core/NOTICE +0 -5
  193. package/playwright-mcp-test/node_modules/playwright-core/README.md +0 -3
  194. package/playwright-mcp-test/node_modules/playwright-core/ThirdPartyNotices.txt +0 -1161
  195. package/playwright-mcp-test/node_modules/playwright-core/bin/install_media_pack.ps1 +0 -5
  196. package/playwright-mcp-test/node_modules/playwright-core/bin/install_webkit_wsl.ps1 +0 -35
  197. package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_chrome_beta_linux.sh +0 -42
  198. package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_chrome_beta_mac.sh +0 -13
  199. package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_chrome_beta_win.ps1 +0 -24
  200. package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_chrome_stable_linux.sh +0 -42
  201. package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_chrome_stable_mac.sh +0 -12
  202. package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_chrome_stable_win.ps1 +0 -24
  203. package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_beta_linux.sh +0 -48
  204. package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_beta_mac.sh +0 -11
  205. package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_beta_win.ps1 +0 -23
  206. package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_dev_linux.sh +0 -48
  207. package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_dev_mac.sh +0 -11
  208. package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_dev_win.ps1 +0 -23
  209. package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_stable_linux.sh +0 -48
  210. package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_stable_mac.sh +0 -11
  211. package/playwright-mcp-test/node_modules/playwright-core/bin/reinstall_msedge_stable_win.ps1 +0 -24
  212. package/playwright-mcp-test/node_modules/playwright-core/browsers.json +0 -80
  213. package/playwright-mcp-test/node_modules/playwright-core/cli.js +0 -18
  214. package/playwright-mcp-test/node_modules/playwright-core/index.d.ts +0 -17
  215. package/playwright-mcp-test/node_modules/playwright-core/index.js +0 -32
  216. package/playwright-mcp-test/node_modules/playwright-core/index.mjs +0 -28
  217. package/playwright-mcp-test/node_modules/playwright-core/lib/androidServerImpl.js +0 -65
  218. package/playwright-mcp-test/node_modules/playwright-core/lib/browserServerImpl.js +0 -120
  219. package/playwright-mcp-test/node_modules/playwright-core/lib/cli/driver.js +0 -97
  220. package/playwright-mcp-test/node_modules/playwright-core/lib/cli/program.js +0 -634
  221. package/playwright-mcp-test/node_modules/playwright-core/lib/cli/programWithTestStub.js +0 -74
  222. package/playwright-mcp-test/node_modules/playwright-core/lib/client/accessibility.js +0 -49
  223. package/playwright-mcp-test/node_modules/playwright-core/lib/client/android.js +0 -361
  224. package/playwright-mcp-test/node_modules/playwright-core/lib/client/api.js +0 -137
  225. package/playwright-mcp-test/node_modules/playwright-core/lib/client/artifact.js +0 -79
  226. package/playwright-mcp-test/node_modules/playwright-core/lib/client/browser.js +0 -163
  227. package/playwright-mcp-test/node_modules/playwright-core/lib/client/browserContext.js +0 -529
  228. package/playwright-mcp-test/node_modules/playwright-core/lib/client/browserType.js +0 -184
  229. package/playwright-mcp-test/node_modules/playwright-core/lib/client/cdpSession.js +0 -51
  230. package/playwright-mcp-test/node_modules/playwright-core/lib/client/channelOwner.js +0 -194
  231. package/playwright-mcp-test/node_modules/playwright-core/lib/client/clientHelper.js +0 -64
  232. package/playwright-mcp-test/node_modules/playwright-core/lib/client/clientInstrumentation.js +0 -55
  233. package/playwright-mcp-test/node_modules/playwright-core/lib/client/clientStackTrace.js +0 -69
  234. package/playwright-mcp-test/node_modules/playwright-core/lib/client/clock.js +0 -68
  235. package/playwright-mcp-test/node_modules/playwright-core/lib/client/connection.js +0 -314
  236. package/playwright-mcp-test/node_modules/playwright-core/lib/client/consoleMessage.js +0 -54
  237. package/playwright-mcp-test/node_modules/playwright-core/lib/client/coverage.js +0 -44
  238. package/playwright-mcp-test/node_modules/playwright-core/lib/client/dialog.js +0 -56
  239. package/playwright-mcp-test/node_modules/playwright-core/lib/client/download.js +0 -62
  240. package/playwright-mcp-test/node_modules/playwright-core/lib/client/electron.js +0 -138
  241. package/playwright-mcp-test/node_modules/playwright-core/lib/client/elementHandle.js +0 -281
  242. package/playwright-mcp-test/node_modules/playwright-core/lib/client/errors.js +0 -77
  243. package/playwright-mcp-test/node_modules/playwright-core/lib/client/eventEmitter.js +0 -314
  244. package/playwright-mcp-test/node_modules/playwright-core/lib/client/events.js +0 -99
  245. package/playwright-mcp-test/node_modules/playwright-core/lib/client/fetch.js +0 -369
  246. package/playwright-mcp-test/node_modules/playwright-core/lib/client/fileChooser.js +0 -46
  247. package/playwright-mcp-test/node_modules/playwright-core/lib/client/fileUtils.js +0 -34
  248. package/playwright-mcp-test/node_modules/playwright-core/lib/client/frame.js +0 -408
  249. package/playwright-mcp-test/node_modules/playwright-core/lib/client/harRouter.js +0 -87
  250. package/playwright-mcp-test/node_modules/playwright-core/lib/client/input.js +0 -84
  251. package/playwright-mcp-test/node_modules/playwright-core/lib/client/jsHandle.js +0 -109
  252. package/playwright-mcp-test/node_modules/playwright-core/lib/client/jsonPipe.js +0 -39
  253. package/playwright-mcp-test/node_modules/playwright-core/lib/client/localUtils.js +0 -60
  254. package/playwright-mcp-test/node_modules/playwright-core/lib/client/locator.js +0 -369
  255. package/playwright-mcp-test/node_modules/playwright-core/lib/client/network.js +0 -747
  256. package/playwright-mcp-test/node_modules/playwright-core/lib/client/page.js +0 -721
  257. package/playwright-mcp-test/node_modules/playwright-core/lib/client/platform.js +0 -74
  258. package/playwright-mcp-test/node_modules/playwright-core/lib/client/playwright.js +0 -71
  259. package/playwright-mcp-test/node_modules/playwright-core/lib/client/selectors.js +0 -55
  260. package/playwright-mcp-test/node_modules/playwright-core/lib/client/stream.js +0 -39
  261. package/playwright-mcp-test/node_modules/playwright-core/lib/client/timeoutSettings.js +0 -79
  262. package/playwright-mcp-test/node_modules/playwright-core/lib/client/tracing.js +0 -117
  263. package/playwright-mcp-test/node_modules/playwright-core/lib/client/types.js +0 -28
  264. package/playwright-mcp-test/node_modules/playwright-core/lib/client/video.js +0 -59
  265. package/playwright-mcp-test/node_modules/playwright-core/lib/client/waiter.js +0 -142
  266. package/playwright-mcp-test/node_modules/playwright-core/lib/client/webError.js +0 -39
  267. package/playwright-mcp-test/node_modules/playwright-core/lib/client/webSocket.js +0 -93
  268. package/playwright-mcp-test/node_modules/playwright-core/lib/client/worker.js +0 -63
  269. package/playwright-mcp-test/node_modules/playwright-core/lib/client/writableStream.js +0 -39
  270. package/playwright-mcp-test/node_modules/playwright-core/lib/generated/bindingsControllerSource.js +0 -28
  271. package/playwright-mcp-test/node_modules/playwright-core/lib/generated/clockSource.js +0 -28
  272. package/playwright-mcp-test/node_modules/playwright-core/lib/generated/injectedScriptSource.js +0 -28
  273. package/playwright-mcp-test/node_modules/playwright-core/lib/generated/pollingRecorderSource.js +0 -28
  274. package/playwright-mcp-test/node_modules/playwright-core/lib/generated/storageScriptSource.js +0 -28
  275. package/playwright-mcp-test/node_modules/playwright-core/lib/generated/utilityScriptSource.js +0 -28
  276. package/playwright-mcp-test/node_modules/playwright-core/lib/generated/webSocketMockSource.js +0 -336
  277. package/playwright-mcp-test/node_modules/playwright-core/lib/inProcessFactory.js +0 -60
  278. package/playwright-mcp-test/node_modules/playwright-core/lib/inprocess.js +0 -3
  279. package/playwright-mcp-test/node_modules/playwright-core/lib/outofprocess.js +0 -76
  280. package/playwright-mcp-test/node_modules/playwright-core/lib/protocol/serializers.js +0 -192
  281. package/playwright-mcp-test/node_modules/playwright-core/lib/protocol/validator.js +0 -2912
  282. package/playwright-mcp-test/node_modules/playwright-core/lib/protocol/validatorPrimitives.js +0 -193
  283. package/playwright-mcp-test/node_modules/playwright-core/lib/remote/playwrightConnection.js +0 -129
  284. package/playwright-mcp-test/node_modules/playwright-core/lib/remote/playwrightServer.js +0 -335
  285. package/playwright-mcp-test/node_modules/playwright-core/lib/server/accessibility.js +0 -69
  286. package/playwright-mcp-test/node_modules/playwright-core/lib/server/android/android.js +0 -465
  287. package/playwright-mcp-test/node_modules/playwright-core/lib/server/android/backendAdb.js +0 -177
  288. package/playwright-mcp-test/node_modules/playwright-core/lib/server/artifact.js +0 -127
  289. package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiBrowser.js +0 -490
  290. package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiChromium.js +0 -153
  291. package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiConnection.js +0 -212
  292. package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiExecutionContext.js +0 -221
  293. package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiFirefox.js +0 -130
  294. package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiInput.js +0 -146
  295. package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiNetworkManager.js +0 -383
  296. package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiOverCdp.js +0 -102
  297. package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiPage.js +0 -554
  298. package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/bidiPdf.js +0 -106
  299. package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiCommands.d.js +0 -22
  300. package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiDeserializer.js +0 -98
  301. package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiKeyboard.js +0 -256
  302. package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocol.js +0 -24
  303. package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocolCore.js +0 -179
  304. package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiProtocolPermissions.js +0 -42
  305. package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/bidiSerializer.js +0 -148
  306. package/playwright-mcp-test/node_modules/playwright-core/lib/server/bidi/third_party/firefoxPrefs.js +0 -259
  307. package/playwright-mcp-test/node_modules/playwright-core/lib/server/browser.js +0 -149
  308. package/playwright-mcp-test/node_modules/playwright-core/lib/server/browserContext.js +0 -695
  309. package/playwright-mcp-test/node_modules/playwright-core/lib/server/browserType.js +0 -328
  310. package/playwright-mcp-test/node_modules/playwright-core/lib/server/callLog.js +0 -82
  311. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/appIcon.png +0 -0
  312. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/chromium.js +0 -402
  313. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/chromiumSwitches.js +0 -95
  314. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crAccessibility.js +0 -263
  315. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crBrowser.js +0 -502
  316. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crConnection.js +0 -202
  317. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crCoverage.js +0 -235
  318. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crDevTools.js +0 -113
  319. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crDragDrop.js +0 -131
  320. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crExecutionContext.js +0 -146
  321. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crInput.js +0 -187
  322. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crNetworkManager.js +0 -666
  323. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crPage.js +0 -1069
  324. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crPdf.js +0 -121
  325. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crProtocolHelper.js +0 -145
  326. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/crServiceWorker.js +0 -123
  327. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/defaultFontFamilies.js +0 -162
  328. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/protocol.d.js +0 -16
  329. package/playwright-mcp-test/node_modules/playwright-core/lib/server/chromium/videoRecorder.js +0 -113
  330. package/playwright-mcp-test/node_modules/playwright-core/lib/server/clock.js +0 -149
  331. package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/csharp.js +0 -327
  332. package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/java.js +0 -274
  333. package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/javascript.js +0 -270
  334. package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/jsonl.js +0 -52
  335. package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/language.js +0 -132
  336. package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/languages.js +0 -68
  337. package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/python.js +0 -279
  338. package/playwright-mcp-test/node_modules/playwright-core/lib/server/codegen/types.js +0 -16
  339. package/playwright-mcp-test/node_modules/playwright-core/lib/server/console.js +0 -53
  340. package/playwright-mcp-test/node_modules/playwright-core/lib/server/cookieStore.js +0 -206
  341. package/playwright-mcp-test/node_modules/playwright-core/lib/server/debugController.js +0 -191
  342. package/playwright-mcp-test/node_modules/playwright-core/lib/server/debugger.js +0 -119
  343. package/playwright-mcp-test/node_modules/playwright-core/lib/server/deviceDescriptors.js +0 -39
  344. package/playwright-mcp-test/node_modules/playwright-core/lib/server/deviceDescriptorsSource.json +0 -1779
  345. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dialog.js +0 -116
  346. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/androidDispatcher.js +0 -325
  347. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/artifactDispatcher.js +0 -118
  348. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/browserContextDispatcher.js +0 -364
  349. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/browserDispatcher.js +0 -118
  350. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/browserTypeDispatcher.js +0 -64
  351. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/cdpSessionDispatcher.js +0 -44
  352. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/debugControllerDispatcher.js +0 -78
  353. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/dialogDispatcher.js +0 -47
  354. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/dispatcher.js +0 -371
  355. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/electronDispatcher.js +0 -89
  356. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/elementHandlerDispatcher.js +0 -181
  357. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/frameDispatcher.js +0 -227
  358. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/jsHandleDispatcher.js +0 -85
  359. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/jsonPipeDispatcher.js +0 -58
  360. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/localUtilsDispatcher.js +0 -149
  361. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/networkDispatchers.js +0 -213
  362. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/pageDispatcher.js +0 -401
  363. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/playwrightDispatcher.js +0 -108
  364. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/streamDispatcher.js +0 -67
  365. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/tracingDispatcher.js +0 -68
  366. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/webSocketRouteDispatcher.js +0 -165
  367. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dispatchers/writableStreamDispatcher.js +0 -79
  368. package/playwright-mcp-test/node_modules/playwright-core/lib/server/dom.js +0 -806
  369. package/playwright-mcp-test/node_modules/playwright-core/lib/server/download.js +0 -70
  370. package/playwright-mcp-test/node_modules/playwright-core/lib/server/electron/electron.js +0 -270
  371. package/playwright-mcp-test/node_modules/playwright-core/lib/server/electron/loader.js +0 -29
  372. package/playwright-mcp-test/node_modules/playwright-core/lib/server/errors.js +0 -69
  373. package/playwright-mcp-test/node_modules/playwright-core/lib/server/fetch.js +0 -621
  374. package/playwright-mcp-test/node_modules/playwright-core/lib/server/fileChooser.js +0 -43
  375. package/playwright-mcp-test/node_modules/playwright-core/lib/server/fileUploadUtils.js +0 -84
  376. package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffAccessibility.js +0 -238
  377. package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffBrowser.js +0 -428
  378. package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffConnection.js +0 -147
  379. package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffExecutionContext.js +0 -150
  380. package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffInput.js +0 -159
  381. package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffNetworkManager.js +0 -256
  382. package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/ffPage.js +0 -503
  383. package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/firefox.js +0 -116
  384. package/playwright-mcp-test/node_modules/playwright-core/lib/server/firefox/protocol.d.js +0 -16
  385. package/playwright-mcp-test/node_modules/playwright-core/lib/server/formData.js +0 -147
  386. package/playwright-mcp-test/node_modules/playwright-core/lib/server/frameSelectors.js +0 -154
  387. package/playwright-mcp-test/node_modules/playwright-core/lib/server/frames.js +0 -1455
  388. package/playwright-mcp-test/node_modules/playwright-core/lib/server/har/harRecorder.js +0 -147
  389. package/playwright-mcp-test/node_modules/playwright-core/lib/server/har/harTracer.js +0 -607
  390. package/playwright-mcp-test/node_modules/playwright-core/lib/server/harBackend.js +0 -157
  391. package/playwright-mcp-test/node_modules/playwright-core/lib/server/helper.js +0 -96
  392. package/playwright-mcp-test/node_modules/playwright-core/lib/server/index.js +0 -58
  393. package/playwright-mcp-test/node_modules/playwright-core/lib/server/input.js +0 -273
  394. package/playwright-mcp-test/node_modules/playwright-core/lib/server/instrumentation.js +0 -69
  395. package/playwright-mcp-test/node_modules/playwright-core/lib/server/javascript.js +0 -291
  396. package/playwright-mcp-test/node_modules/playwright-core/lib/server/launchApp.js +0 -128
  397. package/playwright-mcp-test/node_modules/playwright-core/lib/server/localUtils.js +0 -214
  398. package/playwright-mcp-test/node_modules/playwright-core/lib/server/macEditingCommands.js +0 -143
  399. package/playwright-mcp-test/node_modules/playwright-core/lib/server/network.js +0 -629
  400. package/playwright-mcp-test/node_modules/playwright-core/lib/server/page.js +0 -867
  401. package/playwright-mcp-test/node_modules/playwright-core/lib/server/pipeTransport.js +0 -89
  402. package/playwright-mcp-test/node_modules/playwright-core/lib/server/playwright.js +0 -69
  403. package/playwright-mcp-test/node_modules/playwright-core/lib/server/progress.js +0 -112
  404. package/playwright-mcp-test/node_modules/playwright-core/lib/server/protocolError.js +0 -52
  405. package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder/chat.js +0 -161
  406. package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder/recorderApp.js +0 -387
  407. package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder/recorderRunner.js +0 -138
  408. package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder/recorderSignalProcessor.js +0 -83
  409. package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder/recorderUtils.js +0 -157
  410. package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder/throttledFile.js +0 -57
  411. package/playwright-mcp-test/node_modules/playwright-core/lib/server/recorder.js +0 -499
  412. package/playwright-mcp-test/node_modules/playwright-core/lib/server/registry/browserFetcher.js +0 -175
  413. package/playwright-mcp-test/node_modules/playwright-core/lib/server/registry/dependencies.js +0 -371
  414. package/playwright-mcp-test/node_modules/playwright-core/lib/server/registry/index.js +0 -1361
  415. package/playwright-mcp-test/node_modules/playwright-core/lib/server/registry/nativeDeps.js +0 -1280
  416. package/playwright-mcp-test/node_modules/playwright-core/lib/server/registry/oopDownloadBrowserMain.js +0 -124
  417. package/playwright-mcp-test/node_modules/playwright-core/lib/server/screenshotter.js +0 -333
  418. package/playwright-mcp-test/node_modules/playwright-core/lib/server/selectors.js +0 -112
  419. package/playwright-mcp-test/node_modules/playwright-core/lib/server/socksClientCertificatesInterceptor.js +0 -383
  420. package/playwright-mcp-test/node_modules/playwright-core/lib/server/socksInterceptor.js +0 -95
  421. package/playwright-mcp-test/node_modules/playwright-core/lib/server/trace/recorder/snapshotter.js +0 -147
  422. package/playwright-mcp-test/node_modules/playwright-core/lib/server/trace/recorder/snapshotterInjected.js +0 -541
  423. package/playwright-mcp-test/node_modules/playwright-core/lib/server/trace/recorder/tracing.js +0 -602
  424. package/playwright-mcp-test/node_modules/playwright-core/lib/server/trace/test/inMemorySnapshotter.js +0 -87
  425. package/playwright-mcp-test/node_modules/playwright-core/lib/server/trace/viewer/traceViewer.js +0 -230
  426. package/playwright-mcp-test/node_modules/playwright-core/lib/server/transport.js +0 -181
  427. package/playwright-mcp-test/node_modules/playwright-core/lib/server/types.js +0 -28
  428. package/playwright-mcp-test/node_modules/playwright-core/lib/server/usKeyboardLayout.js +0 -145
  429. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/ascii.js +0 -44
  430. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/comparators.js +0 -139
  431. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/crypto.js +0 -216
  432. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/debug.js +0 -42
  433. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/debugLogger.js +0 -122
  434. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/env.js +0 -73
  435. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/eventsHelper.js +0 -39
  436. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/expectUtils.js +0 -38
  437. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/fileUtils.js +0 -191
  438. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/happyEyeballs.js +0 -207
  439. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/hostPlatform.js +0 -123
  440. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/httpServer.js +0 -218
  441. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/imageUtils.js +0 -146
  442. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/image_tools/colorUtils.js +0 -89
  443. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/image_tools/compare.js +0 -109
  444. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/image_tools/imageChannel.js +0 -78
  445. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/image_tools/stats.js +0 -102
  446. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/linuxUtils.js +0 -71
  447. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/network.js +0 -233
  448. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/nodePlatform.js +0 -148
  449. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/pipeTransport.js +0 -84
  450. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/processLauncher.js +0 -241
  451. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/profiler.js +0 -65
  452. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/socksProxy.js +0 -511
  453. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/spawnAsync.js +0 -41
  454. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/task.js +0 -51
  455. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/userAgent.js +0 -98
  456. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/wsServer.js +0 -121
  457. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/zipFile.js +0 -74
  458. package/playwright-mcp-test/node_modules/playwright-core/lib/server/utils/zones.js +0 -57
  459. package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/protocol.d.js +0 -16
  460. package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/webkit.js +0 -119
  461. package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkAccessibility.js +0 -237
  462. package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkBrowser.js +0 -339
  463. package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkConnection.js +0 -149
  464. package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkExecutionContext.js +0 -154
  465. package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkInput.js +0 -181
  466. package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkInterceptableRequest.js +0 -169
  467. package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkPage.js +0 -1134
  468. package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkProvisionalPage.js +0 -83
  469. package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wkWorkers.js +0 -104
  470. package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wsl/webkit-wsl-transport-client.js +0 -74
  471. package/playwright-mcp-test/node_modules/playwright-core/lib/server/webkit/wsl/webkit-wsl-transport-server.js +0 -113
  472. package/playwright-mcp-test/node_modules/playwright-core/lib/third_party/pixelmatch.js +0 -255
  473. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/ariaSnapshot.js +0 -392
  474. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/assert.js +0 -31
  475. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/colors.js +0 -72
  476. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/cssParser.js +0 -245
  477. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/cssTokenizer.js +0 -1051
  478. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/headers.js +0 -53
  479. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/locatorGenerators.js +0 -689
  480. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/locatorParser.js +0 -176
  481. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/locatorUtils.js +0 -81
  482. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/manualPromise.js +0 -114
  483. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/mimeType.js +0 -459
  484. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/multimap.js +0 -80
  485. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/protocolFormatter.js +0 -81
  486. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/protocolMetainfo.js +0 -321
  487. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/rtti.js +0 -43
  488. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/selectorParser.js +0 -386
  489. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/semaphore.js +0 -54
  490. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/stackTrace.js +0 -158
  491. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/stringUtils.js +0 -155
  492. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/time.js +0 -49
  493. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/timeoutRunner.js +0 -66
  494. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/traceUtils.js +0 -58
  495. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/types.js +0 -16
  496. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/urlMatch.js +0 -179
  497. package/playwright-mcp-test/node_modules/playwright-core/lib/utils/isomorphic/utilityScriptSerializers.js +0 -251
  498. package/playwright-mcp-test/node_modules/playwright-core/lib/utils.js +0 -109
  499. package/playwright-mcp-test/node_modules/playwright-core/lib/utilsBundle.js +0 -112
  500. package/playwright-mcp-test/node_modules/playwright-core/lib/utilsBundleImpl/index.js +0 -218
  501. package/playwright-mcp-test/node_modules/playwright-core/lib/utilsBundleImpl/xdg-open +0 -1066
  502. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/htmlReport/index.html +0 -84
  503. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-C3UTv-Ge.css +0 -1
  504. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/assets/codeMirrorModule-DX585GyR.js +0 -25
  505. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/assets/codicon-DCmgc-ay.ttf +0 -0
  506. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/assets/index-DjadjNw5.js +0 -193
  507. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/assets/index-Ri0uHF7I.css +0 -1
  508. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/index.html +0 -29
  509. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/recorder/playwright-logo.svg +0 -9
  510. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/assets/codeMirrorModule-Cw-6jrKz.js +0 -25
  511. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/assets/defaultSettingsView-BZIhX7gh.js +0 -266
  512. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/assets/xtermModule-CsJ4vdCR.js +0 -9
  513. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/codeMirrorModule.C3UTv-Ge.css +0 -1
  514. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/codicon.DCmgc-ay.ttf +0 -0
  515. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/defaultSettingsView.BEjzWGz-.css +0 -1
  516. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/index.Dk_obRs3.js +0 -2
  517. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/index.I8N9v4jT.css +0 -1
  518. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/index.html +0 -43
  519. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/manifest.webmanifest +0 -16
  520. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/playwright-logo.svg +0 -9
  521. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/snapshot.html +0 -21
  522. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/sw.bundle.js +0 -3
  523. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/uiMode.Bai-qGIw.js +0 -5
  524. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/uiMode.Btcz36p_.css +0 -1
  525. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/uiMode.html +0 -17
  526. package/playwright-mcp-test/node_modules/playwright-core/lib/vite/traceViewer/xtermModule.DYP7pi_n.css +0 -32
  527. package/playwright-mcp-test/node_modules/playwright-core/lib/zipBundle.js +0 -34
  528. package/playwright-mcp-test/node_modules/playwright-core/lib/zipBundleImpl.js +0 -5
  529. package/playwright-mcp-test/node_modules/playwright-core/package.json +0 -42
  530. package/playwright-mcp-test/node_modules/playwright-core/types/protocol.d.ts +0 -23130
  531. package/playwright-mcp-test/node_modules/playwright-core/types/structs.d.ts +0 -45
  532. package/playwright-mcp-test/node_modules/playwright-core/types/types.d.ts +0 -22872
  533. package/playwright-mcp-test/package-lock.json +0 -76
@@ -1,821 +0,0 @@
1
- // This file is generated by /utils/generate_types/index.js
2
- /**
3
- * Copyright (c) Microsoft Corporation.
4
- *
5
- * Licensed under the Apache License, Version 2.0 (the "License");
6
- * you may not use this file except in compliance with the License.
7
- * You may obtain a copy of the License at
8
- *
9
- * http://www.apache.org/licenses/LICENSE-2.0
10
- *
11
- * Unless required by applicable law or agreed to in writing, software
12
- * distributed under the License is distributed on an "AS IS" BASIS,
13
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
- * See the License for the specific language governing permissions and
15
- * limitations under the License.
16
- */
17
-
18
- import type { TestStatus, Metadata, PlaywrightTestOptions, PlaywrightWorkerOptions, ReporterDescription, FullConfig, FullProject, Location } from './test';
19
- export type { FullConfig, FullProject, TestStatus, Location } from './test';
20
-
21
- /**
22
- * Result of the full test run.
23
- */
24
- export interface FullResult {
25
- /**
26
- * Status:
27
- * - 'passed' - everything went as expected.
28
- * - 'failed' - any test has failed.
29
- * - 'timedout' - the global time has been reached.
30
- * - 'interrupted' - interrupted by the user.
31
- */
32
- status: 'passed' | 'failed' | 'timedout' | 'interrupted';
33
-
34
- /**
35
- * Test start wall time.
36
- */
37
- startTime: Date;
38
-
39
- /**
40
- * Test duration in milliseconds.
41
- */
42
- duration: number;
43
- }
44
-
45
- /**
46
- * Test runner notifies the reporter about various events during test execution. All methods of the reporter are
47
- * optional.
48
- *
49
- * You can create a custom reporter by implementing a class with some of the reporter methods. Make sure to export
50
- * this class as default.
51
- *
52
- * ```js
53
- * // my-awesome-reporter.ts
54
- * import type {
55
- * Reporter, FullConfig, Suite, TestCase, TestResult, FullResult
56
- * } from '@playwright/test/reporter';
57
- *
58
- * class MyReporter implements Reporter {
59
- * constructor(options: { customOption?: string } = {}) {
60
- * console.log(`my-awesome-reporter setup with customOption set to ${options.customOption}`);
61
- * }
62
- *
63
- * onBegin(config: FullConfig, suite: Suite) {
64
- * console.log(`Starting the run with ${suite.allTests().length} tests`);
65
- * }
66
- *
67
- * onTestBegin(test: TestCase) {
68
- * console.log(`Starting test ${test.title}`);
69
- * }
70
- *
71
- * onTestEnd(test: TestCase, result: TestResult) {
72
- * console.log(`Finished test ${test.title}: ${result.status}`);
73
- * }
74
- *
75
- * onEnd(result: FullResult) {
76
- * console.log(`Finished the run: ${result.status}`);
77
- * }
78
- * }
79
- * export default MyReporter;
80
- * ```
81
- *
82
- * Now use this reporter with
83
- * [testConfig.reporter](https://playwright.dev/docs/api/class-testconfig#test-config-reporter). Learn more about
84
- * [using reporters](https://playwright.dev/docs/test-reporters).
85
- *
86
- * ```js
87
- * // playwright.config.ts
88
- * import { defineConfig } from '@playwright/test';
89
- *
90
- * export default defineConfig({
91
- * reporter: [['./my-awesome-reporter.ts', { customOption: 'some value' }]],
92
- * });
93
- * ```
94
- *
95
- * Here is a typical order of reporter calls:
96
- * - [reporter.onBegin(config, suite)](https://playwright.dev/docs/api/class-reporter#reporter-on-begin) is called
97
- * once with a root suite that contains all other suites and tests. Learn more about
98
- * [suites hierarchy][Suite](https://playwright.dev/docs/api/class-suite).
99
- * - [reporter.onTestBegin(test, result)](https://playwright.dev/docs/api/class-reporter#reporter-on-test-begin) is
100
- * called for each test run. It is given a [TestCase](https://playwright.dev/docs/api/class-testcase) that is
101
- * executed, and a [TestResult](https://playwright.dev/docs/api/class-testresult) that is almost empty. Test
102
- * result will be populated while the test runs (for example, with steps and stdio) and will get final `status`
103
- * once the test finishes.
104
- * - [reporter.onStepBegin(test, result, step)](https://playwright.dev/docs/api/class-reporter#reporter-on-step-begin)
105
- * and
106
- * [reporter.onStepEnd(test, result, step)](https://playwright.dev/docs/api/class-reporter#reporter-on-step-end)
107
- * are called for each executed step inside the test. When steps are executed, test run has not finished yet.
108
- * - [reporter.onTestEnd(test, result)](https://playwright.dev/docs/api/class-reporter#reporter-on-test-end) is
109
- * called when test run has finished. By this time, [TestResult](https://playwright.dev/docs/api/class-testresult)
110
- * is complete and you can use
111
- * [testResult.status](https://playwright.dev/docs/api/class-testresult#test-result-status),
112
- * [testResult.error](https://playwright.dev/docs/api/class-testresult#test-result-error) and more.
113
- * - [reporter.onEnd(result)](https://playwright.dev/docs/api/class-reporter#reporter-on-end) is called once after
114
- * all tests that should run had finished.
115
- * - [reporter.onExit()](https://playwright.dev/docs/api/class-reporter#reporter-on-exit) is called immediately
116
- * before the test runner exits.
117
- *
118
- * Additionally,
119
- * [reporter.onStdOut(chunk, test, result)](https://playwright.dev/docs/api/class-reporter#reporter-on-std-out) and
120
- * [reporter.onStdErr(chunk, test, result)](https://playwright.dev/docs/api/class-reporter#reporter-on-std-err) are
121
- * called when standard output is produced in the worker process, possibly during a test execution, and
122
- * [reporter.onError(error)](https://playwright.dev/docs/api/class-reporter#reporter-on-error) is called when
123
- * something went wrong outside of the test execution.
124
- *
125
- * If your custom reporter does not print anything to the terminal, implement
126
- * [reporter.printsToStdio()](https://playwright.dev/docs/api/class-reporter#reporter-prints-to-stdio) and return
127
- * `false`. This way, Playwright will use one of the standard terminal reporters in addition to your custom reporter
128
- * to enhance user experience.
129
- *
130
- * **Reporter errors**
131
- *
132
- * Playwright will swallow any errors thrown in your custom reporter methods. If you need to detect or fail on
133
- * reporter errors, you must wrap and handle them yourself.
134
- *
135
- * **Merged report API notes**
136
- *
137
- * When merging multiple [`blob`](https://playwright.dev/docs/test-reporters#blob-reporter) reports via
138
- * [`merge-reports`](https://playwright.dev/docs/test-sharding#merge-reports-cli) CLI command, the same
139
- * [Reporter](https://playwright.dev/docs/api/class-reporter) API is called to produce final reports and all existing
140
- * reporters should work without any changes. There some subtle differences though which might affect some custom
141
- * reporters.
142
- * - Projects from different shards are always kept as separate
143
- * [TestProject](https://playwright.dev/docs/api/class-testproject) objects. E.g. if project 'Desktop Chrome' was
144
- * sharded across 5 machines then there will be 5 instances of projects with the same name in the config passed to
145
- * [reporter.onBegin(config, suite)](https://playwright.dev/docs/api/class-reporter#reporter-on-begin).
146
- */
147
- export interface Reporter {
148
- /**
149
- * Called after all tests have been run, or testing has been interrupted. Note that this method may return a [Promise]
150
- * and Playwright Test will await it. Reporter is allowed to override the status and hence affect the exit code of the
151
- * test runner.
152
- * @param result Result of the full test run, `status` can be one of:
153
- * - `'passed'` - Everything went as expected.
154
- * - `'failed'` - Any test has failed.
155
- * - `'timedout'` - The
156
- * [testConfig.globalTimeout](https://playwright.dev/docs/api/class-testconfig#test-config-global-timeout) has
157
- * been reached.
158
- * - `'interrupted'` - Interrupted by the user.
159
- */
160
- onEnd?(result: FullResult): Promise<{ status?: FullResult['status'] } | undefined | void> | void;
161
- /**
162
- * Called once before running tests. All tests have been already discovered and put into a hierarchy of
163
- * [Suite](https://playwright.dev/docs/api/class-suite)s.
164
- * @param config Resolved configuration.
165
- * @param suite The root suite that contains all projects, files and test cases.
166
- */
167
- onBegin?(config: FullConfig, suite: Suite): void;
168
-
169
- /**
170
- * Called on some global error, for example unhandled exception in the worker process.
171
- * @param error The error.
172
- */
173
- onError?(error: TestError): void;
174
-
175
- /**
176
- * Called immediately before test runner exists. At this point all the reporters have received the
177
- * [reporter.onEnd(result)](https://playwright.dev/docs/api/class-reporter#reporter-on-end) signal, so all the reports
178
- * should be build. You can run the code that uploads the reports in this hook.
179
- */
180
- onExit?(): Promise<void>;
181
-
182
- /**
183
- * Called when something has been written to the standard error in the worker process.
184
- * @param chunk Output chunk.
185
- * @param test Test that was running. Note that output may happen when no test is running, in which case this will be [void].
186
- * @param result Result of the test run, this object gets populated while the test runs.
187
- */
188
- onStdErr?(chunk: string|Buffer, test: void|TestCase, result: void|TestResult): void;
189
-
190
- /**
191
- * Called when something has been written to the standard output in the worker process.
192
- * @param chunk Output chunk.
193
- * @param test Test that was running. Note that output may happen when no test is running, in which case this will be [void].
194
- * @param result Result of the test run, this object gets populated while the test runs.
195
- */
196
- onStdOut?(chunk: string|Buffer, test: void|TestCase, result: void|TestResult): void;
197
-
198
- /**
199
- * Called when a test step started in the worker process.
200
- * @param test Test that the step belongs to.
201
- * @param result Result of the test run, this object gets populated while the test runs.
202
- * @param step Test step instance that has started.
203
- */
204
- onStepBegin?(test: TestCase, result: TestResult, step: TestStep): void;
205
-
206
- /**
207
- * Called when a test step finished in the worker process.
208
- * @param test Test that the step belongs to.
209
- * @param result Result of the test run.
210
- * @param step Test step instance that has finished.
211
- */
212
- onStepEnd?(test: TestCase, result: TestResult, step: TestStep): void;
213
-
214
- /**
215
- * Called after a test has been started in the worker process.
216
- * @param test Test that has been started.
217
- * @param result Result of the test run, this object gets populated while the test runs.
218
- */
219
- onTestBegin?(test: TestCase, result: TestResult): void;
220
-
221
- /**
222
- * Called after a test has been finished in the worker process.
223
- * @param test Test that has been finished.
224
- * @param result Result of the test run.
225
- */
226
- onTestEnd?(test: TestCase, result: TestResult): void;
227
-
228
- /**
229
- * Whether this reporter uses stdio for reporting. When it does not, Playwright Test could add some output to enhance
230
- * user experience. If your reporter does not print to the terminal, it is strongly recommended to return `false`.
231
- */
232
- printsToStdio?(): boolean;
233
- }
234
-
235
- export interface JSONReport {
236
- config: Omit<FullConfig, 'projects'> & {
237
- projects: {
238
- outputDir: string,
239
- repeatEach: number,
240
- retries: number,
241
- metadata: Metadata,
242
- id: string,
243
- name: string,
244
- testDir: string,
245
- testIgnore: string[],
246
- testMatch: string[],
247
- timeout: number,
248
- }[],
249
- };
250
- suites: JSONReportSuite[];
251
- errors: TestError[];
252
- stats: {
253
- startTime: string; // Date in ISO 8601 format.
254
- duration: number; // In milliseconds;
255
- expected: number;
256
- unexpected: number;
257
- flaky: number;
258
- skipped: number;
259
- }
260
- }
261
-
262
- export interface JSONReportSuite {
263
- title: string;
264
- file: string;
265
- column: number;
266
- line: number;
267
- specs: JSONReportSpec[];
268
- suites?: JSONReportSuite[];
269
- }
270
-
271
- export interface JSONReportSpec {
272
- tags: string[],
273
- title: string;
274
- ok: boolean;
275
- tests: JSONReportTest[];
276
- id: string;
277
- file: string;
278
- line: number;
279
- column: number;
280
- }
281
-
282
- export interface JSONReportTest {
283
- timeout: number;
284
- annotations: { type: string, description?: string }[],
285
- expectedStatus: TestStatus;
286
- projectName: string;
287
- projectId: string;
288
- results: JSONReportTestResult[];
289
- status: 'skipped' | 'expected' | 'unexpected' | 'flaky';
290
- }
291
-
292
- export interface JSONReportError {
293
- message: string;
294
- location?: Location;
295
- }
296
-
297
- export interface JSONReportTestResult {
298
- workerIndex: number;
299
- parallelIndex: number;
300
- status: TestStatus | undefined;
301
- duration: number;
302
- error: TestError | undefined;
303
- errors: JSONReportError[];
304
- stdout: JSONReportSTDIOEntry[];
305
- stderr: JSONReportSTDIOEntry[];
306
- retry: number;
307
- steps?: JSONReportTestStep[];
308
- startTime: string; // Date in ISO 8601 format.
309
- attachments: {
310
- name: string;
311
- path?: string;
312
- body?: string;
313
- contentType: string;
314
- }[];
315
- annotations: { type: string, description?: string }[];
316
- errorLocation?: Location;
317
- }
318
-
319
- export interface JSONReportTestStep {
320
- title: string;
321
- duration: number;
322
- error: TestError | undefined;
323
- steps?: JSONReportTestStep[];
324
- }
325
-
326
- export type JSONReportSTDIOEntry = { text: string } | { buffer: string };
327
-
328
- // This is required to not export everything by default. See https://github.com/Microsoft/TypeScript/issues/19545#issuecomment-340490459
329
- export {};
330
-
331
-
332
- /**
333
- * `Suite` is a group of tests. All tests in Playwright Test form the following hierarchy:
334
- * - Root suite has a child suite for each [FullProject](https://playwright.dev/docs/api/class-fullproject).
335
- * - Project suite #1. Has a child suite for each test file in the project.
336
- * - File suite #1
337
- * - [TestCase](https://playwright.dev/docs/api/class-testcase) #1
338
- * - [TestCase](https://playwright.dev/docs/api/class-testcase) #2
339
- * - Suite corresponding to a
340
- * [test.describe([title, details, callback])](https://playwright.dev/docs/api/class-test#test-describe)
341
- * group
342
- * - [TestCase](https://playwright.dev/docs/api/class-testcase) #1 in a group
343
- * - [TestCase](https://playwright.dev/docs/api/class-testcase) #2 in a group
344
- * - < more test cases ... >
345
- * - File suite #2
346
- * - < more file suites ... >
347
- * - Project suite #2
348
- * - < more project suites ... >
349
- *
350
- * Reporter is given a root suite in the
351
- * [reporter.onBegin(config, suite)](https://playwright.dev/docs/api/class-reporter#reporter-on-begin) method.
352
- */
353
- export interface Suite {
354
- /**
355
- * Returns the list of all test cases in this suite and its descendants, as opposite to
356
- * [suite.tests](https://playwright.dev/docs/api/class-suite#suite-tests).
357
- */
358
- allTests(): Array<TestCase>;
359
-
360
- /**
361
- * Test cases and suites defined directly in this suite. The elements are returned in their declaration order. You can
362
- * differentiate between various entry types by using
363
- * [testCase.type](https://playwright.dev/docs/api/class-testcase#test-case-type) and
364
- * [suite.type](https://playwright.dev/docs/api/class-suite#suite-type).
365
- */
366
- entries(): Array<TestCase|Suite>;
367
-
368
- /**
369
- * Configuration of the project this suite belongs to, or [void] for the root suite.
370
- */
371
- project(): FullProject|undefined;
372
-
373
- /**
374
- * Returns a list of titles from the root down to this suite.
375
- */
376
- titlePath(): Array<string>;
377
-
378
- /**
379
- * Location in the source where the suite is defined. Missing for root and project suites.
380
- */
381
- location?: Location;
382
-
383
- /**
384
- * Parent suite, missing for the root suite.
385
- */
386
- parent?: Suite;
387
-
388
- /**
389
- * Child suites. See [Suite](https://playwright.dev/docs/api/class-suite) for the hierarchy of suites.
390
- */
391
- suites: Array<Suite>;
392
-
393
- /**
394
- * Test cases in the suite. Note that only test cases defined directly in this suite are in the list. Any test cases
395
- * defined in nested
396
- * [test.describe([title, details, callback])](https://playwright.dev/docs/api/class-test#test-describe) groups are
397
- * listed in the child [suite.suites](https://playwright.dev/docs/api/class-suite#suite-suites).
398
- */
399
- tests: Array<TestCase>;
400
-
401
- /**
402
- * Suite title.
403
- * - Empty for root suite.
404
- * - Project name for project suite.
405
- * - File path for file suite.
406
- * - Title passed to
407
- * [test.describe([title, details, callback])](https://playwright.dev/docs/api/class-test#test-describe) for a
408
- * group suite.
409
- */
410
- title: string;
411
-
412
- /**
413
- * Returns the type of the suite. The Suites form the following hierarchy: `root` -> `project` -> `file` -> `describe`
414
- * -> ...`describe` -> `test`.
415
- */
416
- type: "root"|"project"|"file"|"describe";
417
- }
418
-
419
- /**
420
- * `TestCase` corresponds to every
421
- * [test.(call)(title[, details, body])](https://playwright.dev/docs/api/class-test#test-call) call in a test file.
422
- * When a single [test.(call)(title[, details, body])](https://playwright.dev/docs/api/class-test#test-call) is
423
- * running in multiple projects or repeated multiple times, it will have multiple `TestCase` objects in corresponding
424
- * projects' suites.
425
- */
426
- export interface TestCase {
427
- /**
428
- * Whether the test is considered running fine. Non-ok tests fail the test run with non-zero exit code.
429
- */
430
- ok(): boolean;
431
-
432
- /**
433
- * Testing outcome for this test. Note that outcome is not the same as
434
- * [testResult.status](https://playwright.dev/docs/api/class-testresult#test-result-status):
435
- * - Test that is expected to fail and actually fails is `'expected'`.
436
- * - Test that passes on a second retry is `'flaky'`.
437
- */
438
- outcome(): "skipped"|"expected"|"unexpected"|"flaky";
439
-
440
- /**
441
- * Returns a list of titles from the root down to this test.
442
- */
443
- titlePath(): Array<string>;
444
-
445
- /**
446
- * [testResult.annotations](https://playwright.dev/docs/api/class-testresult#test-result-annotations) of the last test
447
- * run.
448
- */
449
- annotations: Array<{
450
- /**
451
- * Annotation type, for example `'skip'` or `'fail'`.
452
- */
453
- type: string;
454
-
455
- /**
456
- * Optional description.
457
- */
458
- description?: string;
459
-
460
- /**
461
- * Optional location in the source where the annotation is added.
462
- */
463
- location?: Location;
464
- }>;
465
-
466
- /**
467
- * Expected test status.
468
- * - Tests marked as
469
- * [test.skip([title, details, body, condition, callback, description])](https://playwright.dev/docs/api/class-test#test-skip)
470
- * or
471
- * [test.fixme([title, details, body, condition, callback, description])](https://playwright.dev/docs/api/class-test#test-fixme)
472
- * are expected to be `'skipped'`.
473
- * - Tests marked as
474
- * [test.fail([title, details, body, condition, callback, description])](https://playwright.dev/docs/api/class-test#test-fail)
475
- * are expected to be `'failed'`.
476
- * - Other tests are expected to be `'passed'`.
477
- *
478
- * See also [testResult.status](https://playwright.dev/docs/api/class-testresult#test-result-status) for the actual
479
- * status.
480
- */
481
- expectedStatus: "passed"|"failed"|"timedOut"|"skipped"|"interrupted";
482
-
483
- /**
484
- * A test ID that is computed based on the test file name, test title and project name. The ID is unique within
485
- * Playwright session.
486
- */
487
- id: string;
488
-
489
- /**
490
- * Location in the source where the test is defined.
491
- */
492
- location: Location;
493
-
494
- /**
495
- * Suite this test case belongs to.
496
- */
497
- parent: Suite;
498
-
499
- /**
500
- * Contains the repeat index when running in "repeat each" mode. This mode is enabled by passing `--repeat-each` to
501
- * the [command line](https://playwright.dev/docs/test-cli).
502
- */
503
- repeatEachIndex: number;
504
-
505
- /**
506
- * Results for each run of this test.
507
- */
508
- results: Array<TestResult>;
509
-
510
- /**
511
- * The maximum number of retries given to this test in the configuration.
512
- *
513
- * Learn more about [test retries](https://playwright.dev/docs/test-retries#retries).
514
- */
515
- retries: number;
516
-
517
- /**
518
- * The list of tags defined on the test or suite via
519
- * [test.(call)(title[, details, body])](https://playwright.dev/docs/api/class-test#test-call) or
520
- * [test.describe([title, details, callback])](https://playwright.dev/docs/api/class-test#test-describe), as well as
521
- * `@`-tokens extracted from test and suite titles.
522
- *
523
- * Learn more about [test tags](https://playwright.dev/docs/test-annotations#tag-tests).
524
- */
525
- tags: Array<string>;
526
-
527
- /**
528
- * The timeout given to the test. Affected by
529
- * [testConfig.timeout](https://playwright.dev/docs/api/class-testconfig#test-config-timeout),
530
- * [testProject.timeout](https://playwright.dev/docs/api/class-testproject#test-project-timeout),
531
- * [test.setTimeout(timeout)](https://playwright.dev/docs/api/class-test#test-set-timeout),
532
- * [test.slow([condition, callback, description])](https://playwright.dev/docs/api/class-test#test-slow) and
533
- * [testInfo.setTimeout(timeout)](https://playwright.dev/docs/api/class-testinfo#test-info-set-timeout).
534
- */
535
- timeout: number;
536
-
537
- /**
538
- * Test title as passed to the
539
- * [test.(call)(title[, details, body])](https://playwright.dev/docs/api/class-test#test-call) call.
540
- */
541
- title: string;
542
-
543
- /**
544
- * Returns "test". Useful for detecting test cases in
545
- * [suite.entries()](https://playwright.dev/docs/api/class-suite#suite-entries).
546
- */
547
- type: "test";
548
- }
549
-
550
- /**
551
- * Information about an error thrown during test execution.
552
- */
553
- export interface TestError {
554
- /**
555
- * Error cause. Set when there is a
556
- * [cause](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error/cause) for the
557
- * error. Will be `undefined` if there is no cause or if the cause is not an instance of [Error].
558
- */
559
- cause?: TestError;
560
-
561
- /**
562
- * Error location in the source code.
563
- */
564
- location?: Location;
565
-
566
- /**
567
- * Error message. Set when [Error] (or its subclass) has been thrown.
568
- */
569
- message?: string;
570
-
571
- /**
572
- * Source code snippet with highlighted error.
573
- */
574
- snippet?: string;
575
-
576
- /**
577
- * Error stack. Set when [Error] (or its subclass) has been thrown.
578
- */
579
- stack?: string;
580
-
581
- /**
582
- * The value that was thrown. Set when anything except the [Error] (or its subclass) has been thrown.
583
- */
584
- value?: string;
585
- }
586
-
587
- /**
588
- * A result of a single [TestCase](https://playwright.dev/docs/api/class-testcase) run.
589
- */
590
- export interface TestResult {
591
- /**
592
- * The list of annotations applicable to the current test. Includes:
593
- * - annotations defined on the test or suite via
594
- * [test.(call)(title[, details, body])](https://playwright.dev/docs/api/class-test#test-call) and
595
- * [test.describe([title, details, callback])](https://playwright.dev/docs/api/class-test#test-describe);
596
- * - annotations implicitly added by methods
597
- * [test.skip([title, details, body, condition, callback, description])](https://playwright.dev/docs/api/class-test#test-skip),
598
- * [test.fixme([title, details, body, condition, callback, description])](https://playwright.dev/docs/api/class-test#test-fixme)
599
- * and
600
- * [test.fail([title, details, body, condition, callback, description])](https://playwright.dev/docs/api/class-test#test-fail);
601
- * - annotations appended to
602
- * [testInfo.annotations](https://playwright.dev/docs/api/class-testinfo#test-info-annotations) during the test
603
- * execution.
604
- *
605
- * Annotations are available during test execution through
606
- * [testInfo.annotations](https://playwright.dev/docs/api/class-testinfo#test-info-annotations).
607
- *
608
- * Learn more about [test annotations](https://playwright.dev/docs/test-annotations).
609
- */
610
- annotations: Array<{
611
- /**
612
- * Annotation type, for example `'skip'` or `'fail'`.
613
- */
614
- type: string;
615
-
616
- /**
617
- * Optional description.
618
- */
619
- description?: string;
620
-
621
- /**
622
- * Optional location in the source where the annotation is added.
623
- */
624
- location?: Location;
625
- }>;
626
-
627
- /**
628
- * The list of files or buffers attached during the test execution through
629
- * [testInfo.attachments](https://playwright.dev/docs/api/class-testinfo#test-info-attachments).
630
- */
631
- attachments: Array<{
632
- /**
633
- * Attachment name.
634
- */
635
- name: string;
636
-
637
- /**
638
- * Content type of this attachment to properly present in the report, for example `'application/json'` or
639
- * `'image/png'`.
640
- */
641
- contentType: string;
642
-
643
- /**
644
- * Optional path on the filesystem to the attached file.
645
- */
646
- path?: string;
647
-
648
- /**
649
- * Optional attachment body used instead of a file.
650
- */
651
- body?: Buffer;
652
- }>;
653
-
654
- /**
655
- * Running time in milliseconds.
656
- */
657
- duration: number;
658
-
659
- /**
660
- * First error thrown during test execution, if any. This is equal to the first element in
661
- * [testResult.errors](https://playwright.dev/docs/api/class-testresult#test-result-errors).
662
- */
663
- error?: TestError;
664
-
665
- /**
666
- * Errors thrown during the test execution.
667
- */
668
- errors: Array<TestError>;
669
-
670
- /**
671
- * The index of the worker between `0` and `workers - 1`. It is guaranteed that workers running at the same time have
672
- * a different `parallelIndex`.
673
- */
674
- parallelIndex: number;
675
-
676
- /**
677
- * When test is retried multiple times, each retry attempt is given a sequential number.
678
- *
679
- * Learn more about [test retries](https://playwright.dev/docs/test-retries#retries).
680
- */
681
- retry: number;
682
-
683
- /**
684
- * Start time of this particular test run.
685
- */
686
- startTime: Date;
687
-
688
- /**
689
- * The status of this test result. See also
690
- * [testCase.expectedStatus](https://playwright.dev/docs/api/class-testcase#test-case-expected-status).
691
- */
692
- status: "passed"|"failed"|"timedOut"|"skipped"|"interrupted";
693
-
694
- /**
695
- * Anything written to the standard error during the test run.
696
- */
697
- stderr: Array<string|Buffer>;
698
-
699
- /**
700
- * Anything written to the standard output during the test run.
701
- */
702
- stdout: Array<string|Buffer>;
703
-
704
- /**
705
- * List of steps inside this test run.
706
- */
707
- steps: Array<TestStep>;
708
-
709
- /**
710
- * Index of the worker where the test was run. If the test was not run a single time, for example when the user
711
- * interrupted testing, the only result will have a `workerIndex` equal to `-1`.
712
- *
713
- * Learn more about [parallelism and sharding](https://playwright.dev/docs/test-parallel) with Playwright Test.
714
- */
715
- workerIndex: number;
716
- }
717
-
718
- /**
719
- * Represents a step in the [TestRun].
720
- */
721
- export interface TestStep {
722
- /**
723
- * Returns a list of step titles from the root step down to this step.
724
- */
725
- titlePath(): Array<string>;
726
-
727
- /**
728
- * The list of annotations applicable to the current test step.
729
- */
730
- annotations: Array<{
731
- /**
732
- * Annotation type, for example `'skip'`.
733
- */
734
- type: string;
735
-
736
- /**
737
- * Optional description.
738
- */
739
- description?: string;
740
-
741
- /**
742
- * Optional location in the source where the annotation is added.
743
- */
744
- location?: Location;
745
- }>;
746
-
747
- /**
748
- * The list of files or buffers attached in the step execution through
749
- * [testInfo.attach(name[, options])](https://playwright.dev/docs/api/class-testinfo#test-info-attach).
750
- */
751
- attachments: Array<{
752
- /**
753
- * Attachment name.
754
- */
755
- name: string;
756
-
757
- /**
758
- * Content type of this attachment to properly present in the report, for example `'application/json'` or
759
- * `'image/png'`.
760
- */
761
- contentType: string;
762
-
763
- /**
764
- * Optional path on the filesystem to the attached file.
765
- */
766
- path?: string;
767
-
768
- /**
769
- * Optional attachment body used instead of a file.
770
- */
771
- body?: Buffer;
772
- }>;
773
-
774
- /**
775
- * Step category to differentiate steps with different origin and verbosity. Built-in categories are:
776
- * - `expect` for expect calls
777
- * - `fixture` for fixtures setup and teardown
778
- * - `hook` for hooks initialization and teardown
779
- * - `pw:api` for Playwright API calls.
780
- * - `test.step` for test.step API calls.
781
- * - `test.attach` for testInfo.attach API calls.
782
- */
783
- category: string;
784
-
785
- /**
786
- * Running time in milliseconds.
787
- */
788
- duration: number;
789
-
790
- /**
791
- * Error thrown during the step execution, if any.
792
- */
793
- error?: TestError;
794
-
795
- /**
796
- * Optional location in the source where the step is defined.
797
- */
798
- location?: Location;
799
-
800
- /**
801
- * Parent step, if any.
802
- */
803
- parent?: TestStep;
804
-
805
- /**
806
- * Start time of this particular test step.
807
- */
808
- startTime: Date;
809
-
810
- /**
811
- * List of steps inside this step.
812
- */
813
- steps: Array<TestStep>;
814
-
815
- /**
816
- * User-friendly test step title.
817
- */
818
- title: string;
819
- }
820
-
821
-