104 Commits

Author SHA1 Message Date
Ari Perkkiö
f5b72374bd
fix(browser): unsubscribe onCancel on rpc destroy (#9088) 2025-11-24 13:07:32 +01:00
Evyatar Daud
9638db0f3e
fix: incorrect error message for non-awaited expect.element() (#8954) 2025-11-07 12:40:17 +01:00
Vladimir
312a612f81
chore: cleanup mocking tests (#8932) 2025-11-04 13:37:15 +01:00
Younes Jaaidi
f50ea7a250
fix(browser): ensure setup files are re-evaluated on each test run (fixes #8883) (#8884) 2025-10-31 12:42:44 +01:00
Vladimir
588f768580
fix(browser): don't print the deprecation notice in node_modules (#8779) 2025-10-23 17:54:46 +02:00
Vladimir
0d6e487022
test: reduce timeout numbers (#8730) 2025-10-18 12:05:58 +02:00
Vladimir
82e4d7636c
test: increase wdio "inspect" timeout (#8729) 2025-10-17 11:38:41 +02:00
Vladimir
0dc93ea988
feat: introduce separate packages for browser mode providers (#8629) 2025-10-01 15:58:13 +02:00
Vladimir
38adc86cfd
feat(browser): support --inspect option in webdriverio (#8613) 2025-09-23 19:38:41 +02:00
Vladimir
1aac59cd20
feat(browser): support playwright tracing (#8584) 2025-09-22 14:57:41 +02:00
Vladimir
6acdc3a5ed
fix(browser): throw an error if iframe is not accessible anymore (#8601) 2025-09-20 17:00:42 +02:00
Vladimir
606cb9e3e3
feat(browser)!: require a provider factory instead of a string (#8445) 2025-08-27 12:00:11 +02:00
Vladimir
c0ec08a905
feat(browser): add trackUnhandledErrors option (#8386) 2025-08-06 19:13:32 +02:00
Vladimir
b825ef87c5
fix: make sure test errors always have stacks property in Node.js context (#8392) 2025-08-06 18:03:32 +02:00
Ari Perkkiö
149f8e5095
fix(reporter)!: remove deprecated APIs (#8223)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2025-08-04 14:30:28 +02:00
Vladimir
9e412de354
fix!: rewrite spying implementation to make module mocking more intuitive (#8363) 2025-08-01 16:13:07 +02:00
Raul Macarie
d45f964c16
feat(browser): introduce toMatchScreenshot for Visual Regression Testing (#8041) 2025-07-22 15:19:06 +02:00
kilavvy
0ad29decd5
Fix: Correct typos in documentation and tests (#8207) 2025-07-14 15:10:36 +02:00
Vladimir
924cb69610
feat: add onUnhandledError callback (#8162) 2025-06-24 16:14:35 +02:00
Vladimir
bdd2e01c3d
fix(browser): run in-source tests only when the file itsels is a test file (#8204) 2025-06-21 20:20:30 +02:00
Vladimir
5600772c22
fix(browser): show a helpful error when spying on an export (#8178) 2025-06-17 19:03:24 +02:00
Vladimir
247ef58227
fix(browser): make custom locators available in vitest-browser-* packages (#8103) 2025-06-05 15:39:54 +02:00
Vladimir
c8d6264bf4
feat: support rolldown-vite (#7509)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2025-06-04 17:53:27 +02:00
Vladimir
e6fbd8d256
feat(browser): custom locators API (#7993) 2025-05-17 17:39:38 +02:00
Florian Schwalm
029c0788c3
feat(browser): implement connect option for playwright browser provider (#7915)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2025-05-05 16:29:15 +02:00
Vladimir
573cb16896
ci: fix flaky browser tests (#7887) 2025-04-30 18:15:19 +02:00
Vladimir
816a5c51f5
perf(browser): improve browser parallelisation (#7665) 2025-04-17 13:22:07 +02:00
Hiroshi Ogawa
c337480872
fix(browser): scale iframe for non ui case (#6512) 2025-04-17 12:57:37 +02:00
Vladimir
a550551801
fix(browser): correctly calculate timeout in hooks when actions are performed (#7747) 2025-03-28 13:47:56 +01: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
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