Function
test_locators_clear_should_work
(page: Page, server: Server)
Source from the content-addressed store, hash-verified
| 270 | |
| 271 | |
| 272 | def test_locators_clear_should_work(page: Page, server: Server) -> None: |
| 273 | page.goto(server.PREFIX + "/input/textarea.html") |
| 274 | button = page.locator("input") |
| 275 | button.fill("some value") |
| 276 | assert page.evaluate("result") == "some value" |
| 277 | button.clear() |
| 278 | assert page.evaluate("result") == "" |
| 279 | |
| 280 | |
| 281 | def test_locators_check_should_work(page: Page) -> None: |
Callers
nothing calls this directly
Tested by
no test coverage detected