84 Commits

Author SHA1 Message Date
Artem Zakharchenko
1e246f8515
docs: use msw/browser in component testing examples (#8909)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2025-11-10 13:49:28 +01:00
Vladimir
65292c3655
docs: update structure (#8625) 2025-11-06 14:59:05 +01:00
Julien Wajsberg
069e6db9bd
fix(webdriverio): When no argument is passed to the .click interaction command, the webdriver command should also have no argument (#8937) 2025-11-06 12:50:11 +01:00
Vitaly Baev
35a27d4b33
fix: add Locator as a possible element type in toContainElement() matcher (fix #8910) (#8927) 2025-11-04 11:55:12 +01:00
Vladimir
9d2b4d501a
fix(browser): inherit isolate option, deprecate browser.isolate/browser.fileParallelism (#8890) 2025-11-03 17:05:04 +01:00
Ryan Johnson
c57511bee0
docs: fix locator example to use elements() method (#8867) 2025-10-30 14:02:10 +01:00
Vladimir
0be4807457
docs(browser): fix manual installation guide (#8823) 2025-10-26 12:53:05 +01:00
Michael Dong
a7c4f6f566
docs: fix tomatchscreenshot link in vitest 4 blog post (#8772)
Co-authored-by: mdong1909 <mdong1909@users.noreply.github.com>
2025-10-23 12:13:52 +02:00
Vladimir
a821833117
docs: vitest 4 blog post (#8724) 2025-10-22 16:03:56 +02:00
Vladimir
8cb219c41d
docs(browser): remove the "experimental" tag (#8707) 2025-10-14 10:24:20 +02:00
Raul Macarie
e63b17efcf
feat(browser): support custom screenshot comparison algorithms (#8687) 2025-10-13 14:12:58 +02:00
Vladimir
699bf80415
docs: fix visualn regression example (#8681)
### Description

<!-- Please insert your description here and provide especially info about the "what" this PR is solving -->

<!-- You can also add additional context here -->

### Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
- [ ] It's really useful if your PR references an issue where it is discussed ahead of time. If the feature is substantial or introduces breaking changes without a discussion, PR might be closed.
- [ ] Ideally, include a test that fails without this PR but passes with it.
- [ ] Please, don't make changes to `pnpm-lock.yaml` unless you introduce a new test example.
- [ ] Please check [Allow edits by maintainers](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork) to make review process faster. Note that this option is not available for repositories that are owned by Github organizations.

### Tests
- [ ] Run the tests with `pnpm test:ci`.

### Documentation
- [ ] If you introduce new functionality, document it. You can run documentation with `pnpm run docs` command.

### Changesets
- [ ] Changes in changelog are generated from PR name. Please, make sure that it explains your changes in an understandable manner. Please, prefix changeset messages with `feat:`, `fix:`, `perf:`, `docs:`, or `chore:`.
2025-10-08 17:54:33 +02:00
Vladimir
0dc93ea988
feat: introduce separate packages for browser mode providers (#8629) 2025-10-01 15:58:13 +02:00
Raul Macarie
9f9d2565ec
docs: update visual regression guide for Azure App Testing migration (#8614) 2025-09-24 14:07:25 +02:00
Vladimir
1aac59cd20
feat(browser): support playwright tracing (#8584) 2025-09-22 14:57:41 +02:00
Rinil Kunhiraman
482ee64815
docs: add comprehensive Component Testing guide (#8409)
Co-authored-by: Rinil Kunhiraman <rinilkunhiraman@users.noreply.github.com>
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2025-09-18 15:55:22 +02:00
Vladimir
2b9b34311f
docs: update mocking guide (#8514) 2025-08-31 12:47:43 +02:00
Vladimir
bbb3514f52
docs(browser): remove mentions of old browser/providers/* (#8515) 2025-08-31 12:45:39 +02:00
Vladimir
2308cbf130
feat(browser): add length property to locators, toHaveLength now accepts locators (#8512) 2025-08-31 11:38:44 +02:00
Vladimir
57b2cca2e0
feat(browser): support iframe locator with playwright provider (#8016) 2025-08-28 10:38:46 +02:00
Vladimir
606cb9e3e3
feat(browser)!: require a provider factory instead of a string (#8445) 2025-08-27 12:00:11 +02:00
Vladimir
a1cb9719a4
fix!: remove deprecated APIs (#8428) 2025-08-12 18:25:50 +02:00
Vladimir
c0ec08a905
feat(browser): add trackUnhandledErrors option (#8386) 2025-08-06 19:13:32 +02:00
Noritaka Kobayashi
02da20864c
chore: fix typos (#8179) 2025-07-22 18:02:11 +02:00
Vladimir
c16abe71ea
fix(wdio): wait for the driver to be properly closed (#8305) 2025-07-22 15:41:50 +02:00
Raul Macarie
d45f964c16
feat(browser): introduce toMatchScreenshot for Visual Regression Testing (#8041) 2025-07-22 15:19:06 +02:00
Jack Shelton
083f521a95
docs: add qwik integration to vitest browser mode (#8323) 2025-07-21 17:56:19 +02:00
Shinobu Hayashi
ceed5b622d
feat(browser): support toBeInViewport utility method to assert element is in viewport or not (#8234) 2025-07-14 15:36:36 +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
b9a312a8a2
fix(browser): resolve upload files relative to the project root (#8042) 2025-05-28 15:08:55 +02:00
Jovi De Croock
cefd4ba3fb
docs: add vitest-browser-preact (#8038) 2025-05-27 16:28:16 +02:00
Ansgar Prause
646a1512f1
docs: fix typo, improve formatting (#8025) 2025-05-26 11:51:55 +09:00
Vladimir Sheremet
edc0b4a1d1
docs: update the browser CLI option 2025-05-19 18:04:10 +02:00
Vladimir
e6fbd8d256
feat(browser): custom locators API (#7993) 2025-05-17 17:39:38 +02:00
Vladimir Sheremet
05b7dd93ad
docs: update version 2025-05-17 15:45:07 +02:00
Vladimir Sheremet
3e20e8391b
docs: update version 2025-05-17 15:44:42 +02:00
Vladimir
d9f5163534
feat(browser): add screenshot.save option (#7777) 2025-05-17 15:44:06 +02:00
flx-sta
33b930a12f
docs: typos in docs/guide/browser/index.md (#7983) 2025-05-15 22:04:49 +03:00
Vladimir
41beb261e6
feat: deprecate workspace in favor of projects (#7923)
Co-authored-by: Ari Perkkiö <ari.perkkio@gmail.com>
2025-05-05 18:49:26 +02:00
Florian Schwalm
029c0788c3
feat(browser): implement connect option for playwright browser provider (#7915)
Co-authored-by: Vladimir <sleuths.slews0s@icloud.com>
2025-05-05 16:29:15 +02:00
Vladimir
69ac92cb7d
fix(browser): resolve FS commands relative to the project root (#7896) 2025-05-05 16:14:10 +02:00
Vladimir
53c997300e
docs: clarify the custom provider API is experimental (#7855) 2025-04-18 09:15:58 +02:00
Ben Durrant
5659a0e0ce
feat: Added vitest-browser-lit to vitest init browser and docs (#7705)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2025-03-26 20:41:04 +01:00
Vladimir
12762ea6cc
perf(browser): fork jest-dom instead of bundling it (#7605) 2025-03-26 10:07:11 +01:00
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
Arya Emami
3fdee3da8b
chore: fix various typos (#7663) 2025-03-14 09:20:41 +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
Matej Vobornik
2923c9a7ac
docs: Fix default screenshots directory in docs (#7579) 2025-02-28 12:00:06 +09:00
Denis Moshkin
43774b8915
docs: update @testing-library/user-event link (#7494) 2025-02-14 11:21:29 +01:00
patak
9745fe8cb5
docs: clarify that locator.nth is zero based (#7326) 2025-01-21 14:52:50 +01:00