fix(e2e): 修复一键生成选择器多元素匹配问题,改用heading角色精确定位
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 / Staging E2E Tests (push) Failing after 119h57m16s
Deploy / Deploy Staging (push) Failing after 119h58m48s
CI/CD Pipeline / Frontend Lint (push) Failing after 119h59m22s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 119h59m22s
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 / Staging E2E Tests (push) Failing after 119h57m16s
Deploy / Deploy Staging (push) Failing after 119h58m48s
CI/CD Pipeline / Frontend Lint (push) Failing after 119h59m22s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 119h59m22s
This commit is contained in:
@@ -166,9 +166,9 @@ test.describe("Core generation flow", () => {
|
||||
|
||||
// Navigate to generate page
|
||||
await page.goto("/app/generate");
|
||||
await expect(page.getByText("一键生成")).toBeVisible({
|
||||
timeout: 20_000,
|
||||
});
|
||||
await expect(
|
||||
page.getByRole("heading", { name: "一键生成" }),
|
||||
).toBeVisible({ timeout: 20_000 });
|
||||
|
||||
// Fill in title
|
||||
const titleText = `E2E 生成测试 ${suffix}`;
|
||||
|
||||
Reference in New Issue
Block a user