104 Commits

Author SHA1 Message Date
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
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
Hiroshi Ogawa
becabb5e38
fix(browser): support benchmark (#5622) 2024-04-29 13:27:00 +02:00
Vladimir
7c993e9454
test: standardising internal test (#5600) 2024-04-26 15:43:27 +02:00
Michael サイトー 中村 Bashurov
de8cf2d5ba
test(browser): unskipped https test for browser (#5290) 2024-02-26 12:07:23 +09:00
Vladimir
4f40177e06
feat(browser): run test files in isolated iframes (#5036) 2024-02-07 12:18:02 +01:00
Vladimir
714c911f7e
fix(browser): don't exclude node builtins from optimization (#5082) 2024-01-31 10:39:13 +01:00
Vladimir
6c5fe49be4
fix(browser): don't fail when calling vi.useFakeTimers (#4992) 2024-01-17 15:37:04 +01:00
Hiroshi Ogawa
6c1cc78bac
fix(browser): fix browser testing url for https (#4855) 2024-01-16 13:50:38 +01:00
Hiroshi Ogawa
508fced95d
fix(browser): fix updating snapshot during watch mode (#4867)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-01-09 15:42:51 +01:00
Hiroshi Ogawa
4add951622
fix(browser): fix testNamePattern config (#4909) 2024-01-09 15:41:15 +01:00
Hiroshi Ogawa
55f5349fa8
fix(browser): support vite config server.headers (#4890) 2024-01-08 11:31:31 +01:00
Mike Bland
9e34557eee
fix(browser): handle config.base (#4686) (#4692)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2024-01-04 15:11:38 +01:00
Zac Mullett
b8140fcadc
fix(browser): resolved failure to find arbitrarily-named snapshot files when using expect(...).toMatchFileSnapshot() matcher. (#4839)
Co-authored-by: Zac Mullett <zac@Zacs-Air.modem>
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2024-01-04 12:23:33 +01:00
Mike Bland
345a25d6a8
fix(browser): avoid safaridriver collision (#4863) 2024-01-04 09:30:54 +01:00
Hiroshi Ogawa
285bc6132e
test(browser): add test case for cjs import (#4690) 2023-12-09 17:59:28 +01:00
Han
b50cf7ad9c
feat(config): add diff option (#4063)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-09-18 17:47:19 +02:00
Vladimir
f56de2a450
fix!(browser): print correct stacktrace (#3698) 2023-07-19 15:41:53 +02:00
Vladimir
d756ee2495
fix(browser): correctly print diff (#3627) 2023-06-20 10:04:58 +02:00
Vladimir
0c09a40d2b
feat!: update mock implementation to support ESM runtime, introduce "vi.hoisted" (#3258) 2023-04-27 15:04:05 +02:00