import { expect, test } from "@playwright/test";

test.describe("Authentication page", () => {
  test("renders login form", async ({ page }) => {
    await page.goto("/login");
    await expect(page.getByLabel("邮箱")).toBeVisible();
    await expect(page.getByLabel("密码")).toBeVisible();
    await expect(page.getByRole("button", { name: "登录" })).toBeVisible();
  });
});
