27 Commits

Author SHA1 Message Date
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
Vladimir
0f44d2c81f
feat: implement istanbul coverage support for browser testing (#3040)
Co-authored-by: AriPerkkio <ari.perkkio@gmail.com>
2023-03-28 11:13:48 +02:00
Mohammad Bagher Abiat
9dc6929380
feat: playwright as browser provider (#3079)
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2023-03-27 11:52:14 +02:00
Mohammad Bagher Abiat
280ad1ed9b
fix: spy on popup apis like alert (#3076)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2023-03-26 10:05:12 +02:00
Vladimir
ee6f590dfe
feat: show browser console in the terminal (#3048) 2023-03-22 16:36:37 +01:00