1a32d7e81f
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Failing after 72h36m32s
CI/CD Pipeline / Deploy Staging (push) Failing after 72h38m8s
CI/CD Pipeline / Frontend Lint (push) Failing after 72h38m42s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 72h39m27s
- auth.spec.ts: 登录按钮文本 '登 录' → '登录'(去掉空格) - core-titles.spec.ts: 搜索框占位符 '搜索标题关键词' → '搜索标题关键词...'(补省略号) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
11 lines
383 B
TypeScript
11 lines
383 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.getByLabel("邮箱")).toBeVisible();
|
|
await expect(page.getByLabel("密码")).toBeVisible();
|
|
await expect(page.getByRole("button", { name: "登录" })).toBeVisible();
|
|
});
|
|
});
|