From cef9e0539d26d9fd05db5d20dddeb853fed09e35 Mon Sep 17 00:00:00 2001
From: JimmFly <447268514@qq.com>
Date: Mon, 18 Dec 2023 13:36:56 +0000
Subject: [PATCH] fix(storybook): fix test (#5325)
---
.../app-sidebar/add-page-button/index.tsx | 2 +-
.../page-list/components/new-page-buttton.tsx | 1 -
.../src/pages/workspace/all-page/all-page.tsx | 8 +++-
tests/affine-desktop/e2e/basic.spec.ts | 8 ++--
tests/affine-local/e2e/all-page.spec.ts | 7 ++--
tests/kit/utils/page-logic.ts | 2 +-
tests/kit/utils/sidebar.ts | 2 +-
tests/storybook/.storybook/preview.tsx | 1 +
tests/storybook/src/stories/core.stories.tsx | 40 +++++++++++--------
9 files changed, 41 insertions(+), 30 deletions(-)
diff --git a/packages/frontend/component/src/components/app-sidebar/add-page-button/index.tsx b/packages/frontend/component/src/components/app-sidebar/add-page-button/index.tsx
index 43bde9f114b4f..405e111d4bd41 100644
--- a/packages/frontend/component/src/components/app-sidebar/add-page-button/index.tsx
+++ b/packages/frontend/component/src/components/app-sidebar/add-page-button/index.tsx
@@ -21,7 +21,7 @@ export function AddPageButton({
return (