134 Commits

Author SHA1 Message Date
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
4b5ed90213
fix: use browser.isolate instead of config.isolate (#7560) 2025-02-26 17:18:16 +01: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ö
5e21181186
test: replace browser.name with browser.instances (#7477) 2025-02-13 17:11:26 +02:00
Hiroshi Ogawa
12eaf3ea43
chore: cleanup deps (#7434) 2025-02-06 12:43:33 +02:00
Ari Perkkiö
ed15b5b333
fix(workspace): forward inspect related cli options (#7373) 2025-02-04 14:59:10 +01:00
Hiroshi Ogawa
7ef238c060
fix(browser): fix toHaveClass typing (#7383) 2025-02-04 14:52:58 +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
Joaquín Sánchez
a942ea7cc6
chore(ui): fix static ui client types (#7201) 2025-01-12 18:54:50 +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
Hiroshi Ogawa
10598503c7
test: fix some types in test/browser (#7178) 2025-01-07 08:25:12 +01:00
Tony Spataro
38458ea6ff
feat(browser): implement locator.nth() (#7137)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2025-01-04 12:30:30 +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
8e94427e9b
fix(browser): fix user event state on preview provider (#7041) 2024-12-09 10:23:18 +01:00
renovate[bot]
2521fa235c
chore(deps): update all non-major dependencies (#6920)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2024-12-04 12:01:57 +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
de74785e05
chore(deps): update @antfu/eslint-config v3.8.0 (#6751) 2024-10-23 13:18:42 +02: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
da6d2ea72c
fix(browser): don't polyfill process.env (#6718) 2024-10-15 14:54:54 +02:00
Vladimir
079185387b
fix(browser): optimize expect-type (#6713) 2024-10-15 11:55:15 +02:00
renovate[bot]
d260cef634
chore(deps): update all non-major dependencies (#6360)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
Co-authored-by: Vladimir Sheremet <sleuths.slews0s@icloud.com>
2024-10-14 13:43:10 +02:00
Hiroshi Ogawa
9c518c1424
fix(browser): fix default browser port (#6700) 2024-10-14 13:24:34 +02:00
Vladimir
8bef5d2b99
fix(browser): not.toBeInTheDocument works with locators API (#6634) 2024-10-07 10:25:36 +02:00
Hiroshi Ogawa
46be62c207
test: refactor browser test utils (#6624) 2024-10-03 12:49:44 +02:00
Ari Perkkiö
5f757900b5
refactor: replace strip-ansi with stripVTControlCharacters from node:util (#6608) 2024-10-02 09:50:19 +02:00
Hiroshi Ogawa
adcdaee8a2
fix(browser): serve ui assets as static (#6564) 2024-09-25 10:35:55 +02:00
Hiroshi Ogawa
f131f93ba3
fix(browser): fix browser mock factory event race condition (#6530) 2024-09-25 10:33:58 +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
Vladimir
0b4da69e11
fix: userEvent works consistently between providers (#6480) 2024-09-12 13:49:15 +02:00
Ari Perkkiö
7ab0f4a8ff
feat(browser): support --inspect-brk (#6434) 2024-09-08 19:37:16 +02:00
Vladimir
cf148645c9
feat(browser): support userEvent.upload in playwright provider (#6442) 2024-09-02 18:33:22 +02:00
Vladimir
c853126e90
fix(browser): correctly run in-source tests in the browser (#6440) 2024-09-02 15:46:06 +02:00