From 391e808e5c1f7087f50186cbb1336866f27b09be Mon Sep 17 00:00:00 2001 From: Matan Borenkraout Date: Fri, 24 May 2024 23:32:49 +0300 Subject: [PATCH] docs: link to input page instead of locators This PR changes the actions link from the locators page to the (actions)[https://playwright.dev/docs/input) page which seems better to me logically. Signed-off-by: Matan Borenkraout --- docs/src/testing-library-js.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/testing-library-js.md b/docs/src/testing-library-js.md index a5b4350d98..f7a6b21144 100644 --- a/docs/src/testing-library-js.md +++ b/docs/src/testing-library-js.md @@ -18,7 +18,7 @@ If you use DOM Testing Library in the browser (for example, you bundle end-to-en | [screen](https://testing-library.com/docs/queries/about#screen) | [page](./api/class-page) and [component](./api/class-locator) | | [queries](https://testing-library.com/docs/queries/about) | [locators](./locators) | | [async helpers](https://testing-library.com/docs/dom-testing-library/api-async) | [assertions](./test-assertions) | -| [user events](https://testing-library.com/docs/user-event/intro) | [actions](./api/class-locator) | +| [user events](https://testing-library.com/docs/user-event/intro) | [actions](./input) | | `await user.click(screen.getByText('Click me'))` | `await component.getByText('Click me').click()` | | `await user.click(await screen.findByText('Click me'))` | `await component.getByText('Click me').click()` | | `await user.type(screen.getByLabel('Password'), 'secret')` | `await component.getByLabel('Password').fill('secret')` |