mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-24 14:31:44 +01:00
* feat: updates host menu to be part of side menu * updates routes to be host/id * fixes go tests * fixes js tests * fixes typescheck * fixes int tests * fixes mobile * fixes bug in merging containers * fixed minor bug with menu
10 lines
405 B
TypeScript
10 lines
405 B
TypeScript
import { test, expect } from "@playwright/test";
|
|
|
|
test("authentication", async ({ page }) => {
|
|
await page.goto("http://auth:8080/");
|
|
await page.locator('input[name="username"]').fill("foo");
|
|
await page.locator('input[name="password"]').fill("bar");
|
|
await page.getByRole("button", { name: "Login" }).click();
|
|
await expect(page.locator(".menu-label [aria-current]")).toHaveText("Containers");
|
|
});
|