From ac57a33a4be7976918797b5807dc30ede304412c Mon Sep 17 00:00:00 2001 From: GouJ Date: Sat, 26 Sep 2026 21:22:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A1=B5=E9=9D=A2=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E4=B8=8A=E4=B8=8B=E6=96=87=E8=A1=A5=E9=BD=90=E5=88=B6=E4=BD=9C?= =?UTF-8?q?=E9=98=B6=E6=AE=B5=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/features/workflows/pages.test.ts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/tests/features/workflows/pages.test.ts b/tests/features/workflows/pages.test.ts index d216bb2..c2ddc26 100644 --- a/tests/features/workflows/pages.test.ts +++ b/tests/features/workflows/pages.test.ts @@ -70,11 +70,24 @@ let wrapper: VueWrapper | undefined /** 使用真实上下文形状,不绕过页面内的异步操作与按钮守卫。 */ function context(): ReturnType { - const data = ref({ project: fixture, checkpoints: [] as Checkpoint[] }) + const data = ref({ + project: fixture, + checkpoints: [] as Checkpoint[], + stageReadiness: { + projectId: fixture.id, + script: { ready: true, reason: null }, + breakdown: { ready: true, reason: null }, + visualStyle: { ready: true, reason: null }, + identity: { ready: true, reason: null }, + subjectAssets: { ready: true, reason: null }, + storyboard: { ready: true, reason: null } + } + }) return { data, project: computed(() => data.value.project), checkpoints: computed(() => data.value.checkpoints), + stageReadiness: computed(() => data.value.stageReadiness), loading: ref(false), error: ref(''), updatedAt: ref(''),