MCPcopy
hub / github.com/fastapi/full-stack-fastapi-template / verifyInput

Function verifyInput

frontend/tests/login.spec.ts:12–17  ·  view source on GitHub ↗
(page: Page, testId: string)

Source from the content-addressed store, hash-verified

10}
11
12const verifyInput = async (page: Page, testId: string) => {
13 const input = page.getByTestId(testId)
14 await expect(input).toBeVisible()
15 await expect(input).toHaveText("")
16 await expect(input).toBeEditable()
17}
18
19test("Inputs are visible, empty and editable", async ({ page }) => {
20 await page.goto("/login")

Callers 1

login.spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected