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

Function verifyInput

frontend/tests/sign-up.spec.ts:20–25  ·  view source on GitHub ↗
(page: Page, testId: string)

Source from the content-addressed store, hash-verified

18}
19
20const verifyInput = async (page: Page, testId: string) => {
21 const input = page.getByTestId(testId)
22 await expect(input).toBeVisible()
23 await expect(input).toHaveText("")
24 await expect(input).toBeEditable()
25}
26
27test("Inputs are visible, empty and editable", async ({ page }) => {
28 await page.goto("/signup")

Callers 1

sign-up.spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected