fix(e2e): API测试文件增加超时时间到120s,适配登录限流重试等待
Deploy / Deploy Staging (push) Failing after 124h15m26s
CI/CD Pipeline / Frontend Lint (push) Failing after 124h15m36s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 124h15m36s
Deploy / Staging E2E Tests (push) Failing after 1782h50m56s
Deploy / Deploy Production (push) Failing after 1782h51m0s
Deploy / Build Production Runtime Images (push) Failing after 1782h51m2s
Deploy / Production Browser E2E (push) Failing after 1783h22m24s
Deploy / Deploy Staging (push) Failing after 124h15m26s
CI/CD Pipeline / Frontend Lint (push) Failing after 124h15m36s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 124h15m36s
Deploy / Staging E2E Tests (push) Failing after 1782h50m56s
Deploy / Deploy Production (push) Failing after 1782h51m0s
Deploy / Build Production Runtime Images (push) Failing after 1782h51m2s
Deploy / Production Browser E2E (push) Failing after 1783h22m24s
This commit is contained in:
@@ -76,6 +76,9 @@ async function createProject(
|
||||
}
|
||||
|
||||
test.describe("素材库流程", () => {
|
||||
// 登录限流 10次/60s,测试可能触发限流等待,给足够超时
|
||||
test.describe.configure({ timeout: 120_000 });
|
||||
|
||||
test("创建素材库", async ({ request }) => {
|
||||
const { headers } = await createAuthedUser(request, "lib-create");
|
||||
const projectId = await createProject(
|
||||
|
||||
@@ -51,6 +51,9 @@ async function loginWithRetry(
|
||||
}
|
||||
|
||||
test.describe("认证流程", () => {
|
||||
// 登录限流 10次/60s,测试可能触发限流等待,给足够超时
|
||||
test.describe.configure({ timeout: 120_000 });
|
||||
|
||||
// ─── 注册 ────────────────────────────────────────────
|
||||
|
||||
test("注册新用户 - 正向", async ({ request }) => {
|
||||
|
||||
@@ -61,6 +61,9 @@ async function createAuthedUser(request: any, label: string) {
|
||||
}
|
||||
|
||||
test.describe("项目流程", () => {
|
||||
// 登录限流 10次/60s,测试可能触发限流等待,给足够超时
|
||||
test.describe.configure({ timeout: 120_000 });
|
||||
|
||||
test("创建项目", async ({ request }) => {
|
||||
const { headers } = await createAuthedUser(request, "proj-create");
|
||||
const projectName = `E2E 测试项目 ${Date.now()}`;
|
||||
|
||||
Reference in New Issue
Block a user