mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 13:23:07 +01:00
10 lines
430 B
TypeScript
10 lines
430 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("label.running-containers")).toHaveText("Running Containers");
|
|
});
|