fix(e2e): 修复确认生成按钮选择器,避开步骤条step-item
CI/CD Pipeline / Staging E2E Tests (push) Failing after 73h53m16s
CI/CD Pipeline / Deploy Staging (push) Failing after 73h55m18s
CI/CD Pipeline / Frontend Lint (push) Failing after 73h57m16s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 73h58m45s
CI/CD Pipeline / Production Browser E2E (push) Failing after 1732h22m27s
CI/CD Pipeline / Build Production Runtime Images (push) Failing after 1732h29m25s
CI/CD Pipeline / Deploy Production (push) Failing after 1732h54m2s

This commit is contained in:
DevOps Bot
2026-07-06 10:55:46 +08:00
parent 7462f8d42c
commit 4fa0c45c52
+1 -1
View File
@@ -200,7 +200,7 @@ test.describe("Core generation flow", () => {
{ timeout: 30_000 },
);
await page.getByRole("button", { name: "确认生成" }).click();
await page.locator(".xx-btn-primary").filter({ hasText: "确认生成" }).first().click();
const createTaskResp = await createTaskPromise;
expect(createTaskResp.ok()).toBeTruthy();