From 579490687061db3e1f7b8ff9beb926bf330872fe Mon Sep 17 00:00:00 2001 From: GouJ Date: Thu, 15 Oct 2026 18:22:36 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E9=AA=8C=E8=AF=81=E9=87=8D=E7=94=9F?= =?UTF-8?q?=E6=88=90=E5=90=8E=E9=A2=84=E7=AE=97=E4=B8=8E=E5=AE=A1=E8=AE=A1?= =?UTF-8?q?=E9=87=8D=E6=96=B0=E8=AF=BB=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/features/workflows/pages.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/features/workflows/pages.test.ts b/tests/features/workflows/pages.test.ts index 1aacd70..8296dac 100644 --- a/tests/features/workflows/pages.test.ts +++ b/tests/features/workflows/pages.test.ts @@ -1809,8 +1809,8 @@ describe('工作台页面交互', () => { expect(drawerPanel().text()).toContain('本集新镜头已保存') expect(drawerPanel().text()).toContain('2 个镜头') /** Duration Budget 新增一次只读 GET;镜头重生成不应增加额外写入。 */ - expect(fetcher.mock.calls.filter(([, init]) => !init?.method || init.method === 'GET')).toHaveLength(10) - expect(fetcher.mock.calls.filter(([url]) => String(url).endsWith('/duration-budget'))).toHaveLength(1) + expect(fetcher.mock.calls.filter(([, init]) => !init?.method || init.method === 'GET')).toHaveLength(12) + expect(fetcher.mock.calls.filter(([url]) => String(url).endsWith('/duration-budget'))).toHaveLength(2) expect(fetcher.mock.calls.some(([url]) => String(url) === '/api/workflow-executions/page-execution-1')).toBe( true )