MCPcopy Create free account
hub / github.com/Vinyzu/Botright / test_input_value

Function test_input_value

tests/playwright_tests/test_page.py:1066–1073  ·  view source on GitHub ↗
(page: Page, server)

Source from the content-addressed store, hash-verified

1064
1065@pytest.mark.asyncio
1066async def test_input_value(page: Page, server):
1067 await page.goto(server.PREFIX + "/input/textarea.html")
1068
1069 await page.fill("input", "my-text-content")
1070 assert await page.input_value("input") == "my-text-content"
1071
1072 await page.fill("input", "")
1073 assert await page.input_value("input") == ""
1074
1075
1076@pytest.mark.asyncio

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected