(page: Page, testId: string)
| 18 | } |
| 19 | |
| 20 | const 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 | |
| 27 | test("Inputs are visible, empty and editable", async ({ page }) => { |
| 28 | await page.goto("/signup") |