mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 13:23:07 +01:00
16 lines
508 B
TypeScript
16 lines
508 B
TypeScript
import { test, expect } from "@playwright/test";
|
|
|
|
test.beforeEach(async ({ page }) => {
|
|
await page.goto("http://dozzle-with-agent:8080/");
|
|
});
|
|
|
|
test("has right title", async ({ page }) => {
|
|
await expect(page).toHaveTitle(/.* - Dozzle/);
|
|
});
|
|
|
|
test("select running container", async ({ page }) => {
|
|
await page.getByTestId("side-menu").getByRole("link", { name: "dozzle" }).click();
|
|
await expect(page).toHaveURL(/\/container/);
|
|
await expect(page.getByText("Accepting connections")).toBeVisible();
|
|
});
|