8935196fcd
Deploy / Staging E2E Tests (push) Has been skipped
Deploy / Build Production Runtime Images (push) Has been skipped
Deploy / Deploy Production (push) Has been skipped
Deploy / Production Browser E2E (push) Has been skipped
Deploy / Deploy Staging (push) Failing after 138h4m33s
CI/CD Pipeline / Frontend Lint (push) Failing after 138h4m39s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 138h4m39s
11 lines
398 B
TypeScript
11 lines
398 B
TypeScript
import { expect, test } from "@playwright/test";
|
|
|
|
test.describe("Authentication page", () => {
|
|
test("renders login form", async ({ page }) => {
|
|
await page.goto("/login");
|
|
await expect(page.getByPlaceholder("邮箱")).toBeVisible();
|
|
await expect(page.getByPlaceholder("密码")).toBeVisible();
|
|
await expect(page.getByRole("button", { name: /登\s*录/ })).toBeVisible();
|
|
});
|
|
});
|