74 Commits

Author SHA1 Message Date
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
fee90d855b
fix(browser): print related test file and potential test in unhandled errors (#7564) 2025-02-27 13:54:38 +09:00
Vladimir
e2c570b687
fix(browser): improve source map handling for bundled files (#7534) 2025-02-25 16:56:58 +01:00
Vladimir
b1949c97c2
fix(browser): support webdriverio 9 (#7553) 2025-02-24 18:45:33 +01:00
Hiroshi Ogawa
83e3d515d3
test: tweak browser non US key input test (#7490) 2025-02-19 16:35:07 +01:00
Ari Perkkiö
ed15b5b333
fix(workspace): forward inspect related cli options (#7373) 2025-02-04 14:59:10 +01:00
Hiroshi Ogawa
d3acbd8b96
fix(browser): fix mocking modules out of root (#7415) 2025-02-04 14:38:15 +01:00
Vladimir
dff4406d9c
fix: filter projects eagerly during config resolution (#7313)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-01-23 14:00:59 +01:00
Lucas Correia
a3a46a534a
fix: prevent infinite loop on prettyDOM calls (#7250) 2025-01-16 14:01:44 +01:00
Vladimir
80ce0e1c40
feat(api): add onBrowserInit event (#7255) 2025-01-15 15:09:12 +01:00
Hiroshi Ogawa
903f3b9b76
fix(browser): fix console.time with fake timers (#7207) 2025-01-13 14:34:25 +01:00
Vladimir
423d634537
fix(browser): use correct project when filtering entries in the browser mode (#7167) 2025-01-08 14:22:02 +01:00
Arya Emami
8dd2071376
chore: fix various typos (#7054) 2025-01-08 14:21:45 +01:00
Lucas Correia
847d322119
fix(browser): only use locator.element on last expect.element attempt (fix #7139) (#7152) 2025-01-03 16:08:35 +01:00
Ari Perkkiö
6d23f4b11c
fix(benchmark): rewrite reporter without log-update (#7019) 2024-12-26 10:35:10 +02:00
Hiroshi Ogawa
843a621e70
feat(browser): support clipboard api userEvent.copy, cut, paste (#6769) 2024-12-23 09:32:12 +01:00
Vladimir
78b62ffe1d
feat: allow multi-browser configuration (#6975) 2024-12-19 14:21:41 +01:00
Hiroshi Ogawa
e2c29eaf01
feat(browser): support actionTimeout as playwright provider options (#6984) 2024-12-01 23:55:19 +01:00
Vladimir
417bdb423d
fix(browser): init browsers eagerly when tests are running (#6876) 2024-11-13 16:03:43 +01:00
Vladimir
93b67c24b1
fix: throw an error and a warning if .poll, .element, .rejects/.resolves, and locator.* weren't awaited (#6877) 2024-11-13 13:16:24 +01:00
Hiroshi Ogawa
5969d8da70
fix(browser): support non US key input (#6873) 2024-11-08 10:05:35 +01:00
Hiroshi Ogawa
bdd15dd1ac
fix(browser): user event cleanup on retry (#6764) 2024-10-22 09:50:55 +02:00
Vladimir
b82584c954
fix(browser): don't add v= queries to setup files imports (#6759) 2024-10-21 17:56:23 +02:00
Hiroshi Ogawa
19278f4cb9
fix(browser): cleanup keyboard state (#6731) 2024-10-21 14:16:04 +02:00
Vladimir
079185387b
fix(browser): optimize expect-type (#6713) 2024-10-15 11:55:15 +02:00
Hiroshi Ogawa
9c518c1424
fix(browser): fix default browser port (#6700) 2024-10-14 13:24:34 +02:00
Hiroshi Ogawa
46be62c207
test: refactor browser test utils (#6624) 2024-10-03 12:49:44 +02:00
Hiroshi Ogawa
ea2d429b20
fix(browser): fix dynamic import inside worker (#6569) 2024-09-25 10:24:02 +02:00
Vladimir
94a186ec91
fix(ui): render project name consistently (#6329) 2024-09-12 14:28:16 +02:00
Ari Perkkiö
7ab0f4a8ff
feat(browser): support --inspect-brk (#6434) 2024-09-08 19:37:16 +02:00
Vladimir
c853126e90
fix(browser): correctly run in-source tests in the browser (#6440) 2024-09-02 15:46:06 +02:00
Vladimir
30dc579309
fix(browser): keep querying elements even if locator is created with elementLocator, add pubic @vitest/browser/utils (#6296) 2024-08-07 13:40:18 +02:00
Vladimir
3347f83e5a
feat(browser): introduce built-in locators (#6084) 2024-08-07 08:18:27 +02:00
Vladimir
1da6cebe46
fix(browser): print correct stack trace for unhandled errors (#6134) 2024-07-31 18:05:09 +02:00
Vladimir
804ff2fd41
fix(browser): correctly import optimized module in vi.importActual (#6219) 2024-07-25 12:57:01 +02:00
Vladimir
f44cc917cc
fix(browser): allow immidiate reinvalidation of mocked dependencies (#6108) 2024-07-12 17:34:55 +02:00
Vladimir
2e3c872ae4
fix(browser): support shadow root and svg elements (#6036) 2024-07-04 16:00:05 +02:00
Joaquín Sánchez
ff978e58de
feat(browser): playwright provider doesn't allow resizing the browser viewport (#5984)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2024-07-01 16:10:16 +02:00
Vladimir
62aa720812
fix(browser): print correct stack trace in source files (#6003) 2024-06-30 18:26:14 +02:00
Vladimir
152891b3d5
fix(browser): print screenshot path alongside the test error message (#5992) 2024-06-28 10:23:36 +02:00
Vladimir
bec434cb68
feat(browser): expose CDP in the browser (#5938) 2024-06-20 17:48:00 +02:00
Vladimir
2380cb95eb
fix(browser): correctly update inline snapshot if changed (#5925) 2024-06-19 21:37:25 +02:00
Vladimir
489785d5d4
refactor(browser): prefer pretty-print for objects (#5928) 2024-06-19 21:37:05 +02:00
Vladimir
67d6adde93
refactor(browser): move the browser server into its own entity (#5924) 2024-06-19 18:12:52 +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
839c39f067
feat(browser): support click event (#5777) 2024-06-03 12:04:53 +02:00
Vladimir
e4fe6f51a0
feat: add an option to print console stack trace (#5720) 2024-05-31 15:29:54 +02:00
Vladimir
7b2f64cfa3
feat: implement module mocking in browser mode (#5765) 2024-05-31 11:19:38 +02:00
Vladimir
b881e88b23
fix: remove browser.fileParallelism (#5790) 2024-05-29 17:28:56 +02:00