638 Commits

Author SHA1 Message Date
xuxucode
7e87e86fe3
Update mocking.md (#6180)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-07-22 12:59:36 +02:00
Ari Perkkiö
5da45db152
fix(coverage): ignore *.cts files (#6189) 2024-07-22 11:00:38 +02:00
Vladimir
807a2cbc48
fix: resolve assets imported with require (#6159) 2024-07-18 12:44:00 +02:00
Lenni
0881023e68
docs: list default browser provider consistently (#6154) 2024-07-17 11:00:00 +02:00
Vladimir Sheremet
32c0d99b3c
docs: remove defineCommand reference
Closes #6148
2024-07-16 12:47:26 +02:00
Vladimir
a7636e39e6
docs: add currentTestName difference (#6145) 2024-07-16 09:53:07 +02:00
Mordechai Dror
407f12f4a5
docs: improve extending matchers docs (#6121) 2024-07-15 10:49:57 +02:00
IAfanasov
bd83f6cadc
docs: improve the npx description clarity (#6102) 2024-07-12 13:07:13 +02:00
Vladimir
7012f8c12a
docs: add env documentation (#6063) 2024-07-09 11:54:49 +02:00
Joaquín Sánchez
8c035988be
docs: update VP theme configuration (#6051) 2024-07-08 16:49:13 +02:00
Vladimir Sheremet
51c3242d49
docs: mention SpyInstance 2024-07-08 11:39:42 +02:00
Joaquín Sánchez
354fb9d994
docs: fix browser guide dead link in cli (#6037) 2024-07-05 10:42:56 +03:00
Vladimir
583dd8a986
feat(vitest)!: add "vitest list" API to print collected tests without running them (#6013) 2024-07-03 17:51:33 +02:00
Vladimir
a820b15665
docs: add mock fs section (#6021) 2024-07-02 13:30:25 +02:00
Vladimir
b21f3a9858
docs: add more migration steps (#6008) 2024-07-01 16:19:38 +02:00
Sung Ye In
b1a27d4049
feat(config): allow percentage value for workers option (#5982) 2024-07-01 13:52:45 +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
14a217d53b
fix(browser): make userEvent more stable when running in parallel (#5974) 2024-06-25 17:00:18 +02:00
Vladimir
49e973cb92
feat(browser): add "init" command for browser tests (#5960) 2024-06-25 15:22:51 +02:00
Hiroshi Ogawa
a0c1d371ed
fix!(spy): simplify mock function generic types and align with jest (#4784) 2024-06-23 18:09:21 +02:00
Vladimir
bec434cb68
feat(browser): expose CDP in the browser (#5938) 2024-06-20 17:48:00 +02:00
Vladimir
3a96a3d0e8
feat(browser): introduce expect.dom method and bundle jest-dom matchers with @vitest/browser (#5910) 2024-06-20 13:08:02 +02:00
Vladimir
51c04e2f44
docs: add paragraph about --standalone (#5932) 2024-06-20 11:00:25 +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
66e648ff88
fix(vitest): expose provide to the public API (#5897) 2024-06-16 16:02:22 +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
fb72b4ce35
chore: remove marko from examples folder (#5871) 2024-06-11 16:56:03 +02:00
Vladimir
973ba37403
chore: update eslint config package (#5870) 2024-06-11 16:31:37 +02:00
Nick Heap
e99451cf49
docs: correct oder to order (#5831) 2024-06-03 17:20:13 +02:00
Vladimir
1831008b1f
feat(browser): rename none provider to preview, make it default (#5826) 2024-06-03 13:06:36 +02:00
Matan Borenkraout
fe3190d5e7
docs: rearrange browser guide (#5799)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2024-06-03 12:38:01 +02:00
Vladimir
839c39f067
feat(browser): support click event (#5777) 2024-06-03 12:04:53 +02:00
Tim Weißenfels
041b9c494a
docs: Fix typo in description of --typecheck.checker (tcs -> tsc) (#5819) 2024-06-03 09:02:22 +02:00
Vladimir
718512d80e
feat(browser): support changing the viewport (#5811) 2024-06-01 21:58:38 +02:00
le-harivansh
5878ebf3ce
docs: fix typo (#5805) 2024-05-31 17:00:46 +02:00
Vladimir
fc53f56344
feat: allow configuring expect options in the config (#5729) 2024-05-31 15:09:11 +02:00
Vladimir
5f710182e0
feat!: add promise-based return assertions, do not auto-resolve returned promises (#5749) 2024-05-31 14:46:23 +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
Ari Perkkiö
b7438b9be2
feat!: --merge-reports to support coverage (#5736) 2024-05-25 17:37:35 +02:00
Yann Braga
a431887668
docs: update plugins page (#5768) 2024-05-24 10:26:58 +02:00
Vladimir Sheremet
ee27e48733
docs: remove mentions of deleted examples from docs 2024-05-23 08:53:58 +02:00
Vladimir Sheremet
327066394d
chore: remove segfaultRetry from config options as it doesn't have any effect anymore 2024-05-15 09:21:59 +02:00
Vladimir
6598fba55b
docs: remove version badges (#5727)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2024-05-15 08:44:37 +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
e20538a36e
feat: add blob reporter (#5663) 2024-05-14 18:57:08 +02:00
Ari Perkkiö
7f8f9c0c05
fix!: change default pool to 'forks' (#5047) 2024-05-09 17:24:35 +02:00