Files
xiaoxia-saas/apps/web/e2e/auth.spec.ts
T
灵应 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
style: 后端代码black格式化
2026-07-03 18:49:54 +08:00

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();
});
});