diff --git a/packages/nc-gui/components/smartsheet/calendar/index.vue b/packages/nc-gui/components/smartsheet/calendar/index.vue index afd0378e6d..334320a4f0 100644 --- a/packages/nc-gui/components/smartsheet/calendar/index.vue +++ b/packages/nc-gui/components/smartsheet/calendar/index.vue @@ -192,8 +192,8 @@ const headerText = computed(() => {
-
- {{ +
+ {{ activeCalendarView === 'month' ? headerText.split(' ')[0] : headerText }} diff --git a/tests/playwright/pages/Dashboard/Sidebar/index.ts b/tests/playwright/pages/Dashboard/Sidebar/index.ts index 173ec1a384..fe0e2e28cf 100644 --- a/tests/playwright/pages/Dashboard/Sidebar/index.ts +++ b/tests/playwright/pages/Dashboard/Sidebar/index.ts @@ -113,8 +113,6 @@ export class SidebarPage extends BasePage { } else if (type === ViewTypes.GALLERY) { createViewTypeButton = this.rootPage.getByTestId('sidebar-view-create-gallery'); } else if (type === ViewTypes.CALENDAR) { - // TODO: Remove this once the easter egg is removed - await this.rootPage.waitForTimeout(4500); createViewTypeButton = this.rootPage.getByTestId('sidebar-view-create-calendar'); } diff --git a/tests/playwright/pages/Dashboard/ViewSidebar/index.ts b/tests/playwright/pages/Dashboard/ViewSidebar/index.ts index c11c855c9d..946dd81988 100644 --- a/tests/playwright/pages/Dashboard/ViewSidebar/index.ts +++ b/tests/playwright/pages/Dashboard/ViewSidebar/index.ts @@ -205,7 +205,7 @@ export class ViewSidebarPage extends BasePage { } private async createView({ title, type }: { title: string; type: ViewTypes }) { - await this.rootPage.waitForTimeout(1000); + await this.rootPage.waitForTimeout(500); await this.dashboard.sidebar.createView({ title, type }); }