36 Commits

Author SHA1 Message Date
Vladimir
0dc93ea988
feat: introduce separate packages for browser mode providers (#8629) 2025-10-01 15:58:13 +02:00
Vladimir
2308cbf130
feat(browser): add length property to locators, toHaveLength now accepts locators (#8512) 2025-08-31 11:38:44 +02:00
Vladimir
57b2cca2e0
feat(browser): support iframe locator with playwright provider (#8016) 2025-08-28 10:38:46 +02:00
Vladimir
c1ac15c6b2
fix(browser): locator.element() returns HTMLElement or SVGElement (#8440) 2025-08-15 18:05:48 +02:00
Raul Macarie
d45f964c16
feat(browser): introduce toMatchScreenshot for Visual Regression Testing (#8041) 2025-07-22 15:19:06 +02:00
Vladimir
70fb03c388
fix(browser): add this type to locators.extend (#8069) 2025-06-02 09:46:49 +02:00
Ansgar Prause
646a1512f1
docs: fix typo, improve formatting (#8025) 2025-05-26 11:51:55 +09:00
Vladimir
e6fbd8d256
feat(browser): custom locators API (#7993) 2025-05-17 17:39:38 +02:00
Vladimir
d9f5163534
feat(browser): add screenshot.save option (#7777) 2025-05-17 15:44:06 +02:00
Vladimir
12762ea6cc
perf(browser): fork jest-dom instead of bundling it (#7605) 2025-03-26 10:07:11 +01:00
Vladimir
63949b1d73
feat(browser): introduce and, or and filter locators (#7463)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-03-20 15:19:50 +01:00
Vladimir
5eb4cd1fa5
fix(browser): fail playwright timeouts earlier than a test timeout (#7565)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2025-03-07 09:54:16 +01:00
Vladimir
1b8c5c9e15
fix(browser): relax locator selectors methods (#7422) 2025-02-04 15:30:41 +01:00
Tony Spataro
d262e059d3
fix: Add Locator typings for nth, first and last. (#7176) 2025-01-05 21:22:32 +01:00
Hiroshi Ogawa
843a621e70
feat(browser): support clipboard api userEvent.copy, cut, paste (#6769) 2024-12-23 09:32:12 +01:00
Vladimir
9a1b501223
feat: prepare the Vitest API to be stable (#6962) 2024-12-10 11:12:47 +01:00
Hiroshi Ogawa
19278f4cb9
fix(browser): cleanup keyboard state (#6731) 2024-10-21 14:16:04 +02:00
Vladimir
f36eac77c1
fix(browser): provide aria role intellisense (#6629) 2024-10-03 14:09:12 +02:00
Vladimir
cf148645c9
feat(browser): support userEvent.upload in playwright provider (#6442) 2024-09-02 18:33:22 +02:00
Vladimir
3347f83e5a
feat(browser): introduce built-in locators (#6084) 2024-08-07 08:18:27 +02:00
Vladimir
af2b813c75
feat(browser): move page.config to server.config, add more docs (#6252) 2024-07-31 20:06:12 +02:00
Vladimir
3aab8a1ed6
refactor: deprecate all config types from the main Vitest entrypoint, introduce SerializedConfig type (#6205) 2024-07-23 19:28:59 +02:00
Vladimir
883f348274
fix(browser): userEvent.setup initiates a separate state for userEvent instance (#6088) 2024-07-23 15:56:21 +02:00
Joaquín Sánchez
50130bdb59
docs: split browser page (#5988)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-07-01 13:51:59 +02:00
Vladimir
be32317638
feat: add an option to return base64 from page.screenshot (#5993) 2024-06-30 19:12:32 +02:00
Joaquín Sánchez
200a4349a2
feat(browser): add tripleClick to interactive api (#5987) 2024-06-28 10:38:07 +02:00
Vladimir
bec434cb68
feat(browser): expose CDP in the browser (#5938) 2024-06-20 17:48:00 +02:00
Vladimir
4dbea4aed1
feat(browser): implement several userEvent methods, add fill and dragAndDrop events (#5882) 2024-06-18 13:29:49 +02:00
Vladimir
471cf97b0c
chore: always require curly braces (#5885)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-06-16 18:10:10 +02:00
Vladimir
81c42fc8a8
feat(browser): run tests in parallel in headless mode, add page.screenshot method (#5853) 2024-06-12 14:06:05 +02:00
Vladimir
1831008b1f
feat(browser): rename none provider to preview, make it default (#5826) 2024-06-03 13:06:36 +02:00
Vladimir
839c39f067
feat(browser): support click event (#5777) 2024-06-03 12:04:53 +02:00
Vladimir
5ebb3abf5b
fix(browser): restore the original viewport when unselecting the preset viewport (#5821) 2024-06-02 21:10:33 +02:00
Vladimir
718512d80e
feat(browser): support changing the viewport (#5811) 2024-06-01 21:58:38 +02:00
Vladimir
7b2f64cfa3
feat: implement module mocking in browser mode (#5765) 2024-05-31 11:19:38 +02:00
Vladimir
aa431f4db6
feat(browser): add commands to communicate betweens server and the browser (#5097) 2024-05-14 19:17:15 +02:00