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

Function fillForm

frontend/tests/login.spec.ts:7–10  ·  view source on GitHub ↗
(page: Page, email: string, password: string)

Source from the content-addressed store, hash-verified

5test.use({ storageState: { cookies: [], origins: [] } })
6
7const fillForm = async (page: Page, email: string, password: string) => {
8 await page.getByTestId("email-input").fill(email)
9 await page.getByTestId("password-input").fill(password)
10}
11
12const verifyInput = async (page: Page, testId: string) => {
13 const input = page.getByTestId(testId)

Callers 1

login.spec.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected