46 Commits

Author SHA1 Message Date
Ari Perkkiö
f5b72374bd
fix(browser): unsubscribe onCancel on rpc destroy (#9088) 2025-11-24 13:07:32 +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
0d6e487022
test: reduce timeout numbers (#8730) 2025-10-18 12:05:58 +02:00
Vladimir
606cb9e3e3
feat(browser)!: require a provider factory instead of a string (#8445) 2025-08-27 12:00:11 +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
kilavvy
0ad29decd5
Fix: Correct typos in documentation and tests (#8207) 2025-07-14 15:10:36 +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
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
573cb16896
ci: fix flaky browser tests (#7887) 2025-04-30 18:15:19 +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
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
e2c570b687
fix(browser): improve source map handling for bundled files (#7534) 2025-02-25 16:56:58 +01:00
Hiroshi Ogawa
83e3d515d3
test: tweak browser non US key input test (#7490) 2025-02-19 16:35:07 +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
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
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
46be62c207
test: refactor browser test utils (#6624) 2024-10-03 12:49:44 +02:00
Vladimir
c853126e90
fix(browser): correctly run in-source tests in the browser (#6440) 2024-09-02 15:46:06 +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
489785d5d4
refactor(browser): prefer pretty-print for objects (#5928) 2024-06-19 21:37:05 +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
Vladimir
aa431f4db6
feat(browser): add commands to communicate betweens server and the browser (#5097) 2024-05-14 19:17:15 +02:00
Vladimir
21e58bd890
feat(browser): allow injecting scripts (#5656) 2024-05-03 16:00:59 +02:00
Vladimir
7c993e9454
test: standardising internal test (#5600) 2024-04-26 15:43:27 +02:00