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