mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 21:33:18 +01:00
10 lines
395 B
TypeScript
10 lines
395 B
TypeScript
import { test, expect } from "@playwright/test";
|
|
|
|
test("simple authentication", async ({ page }) => {
|
|
await page.goto("http://simple-auth:8080/");
|
|
await page.locator('input[name="username"]').fill("admin");
|
|
await page.locator('input[name="password"]').fill("password");
|
|
await page.locator('button[type="submit"]').click();
|
|
await expect(page.getByTestId("settings")).toBeVisible();
|
|
});
|