From 67ed9aafcf6f9440ec70a240a49ef045bc054bd0 Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Tue, 20 Feb 2024 07:16:21 +0000 Subject: [PATCH] test: fix playwright failing --- tests/playwright/tests/db/views/viewCalendar.spec.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/playwright/tests/db/views/viewCalendar.spec.ts b/tests/playwright/tests/db/views/viewCalendar.spec.ts index 92e0f9a547..75dbef8e50 100644 --- a/tests/playwright/tests/db/views/viewCalendar.spec.ts +++ b/tests/playwright/tests/db/views/viewCalendar.spec.ts @@ -5,6 +5,7 @@ import { ToolbarPage } from '../../../pages/Dashboard/common/Toolbar'; import setup, { unsetup } from '../../../setup'; import { TopbarPage } from '../../../pages/Dashboard/common/Topbar'; import { CalendarTopbarPage } from '../../../pages/Dashboard/Calendar/CalendarTopBar'; +import { isEE } from '../../../setup/db'; const dateRecords = [ { @@ -77,9 +78,11 @@ test.describe('View', () => { topbar = dashboard.calendar.topbar; calendarTopbar = dashboard.calendar.calendarTopbar; + const base = isEE() ? 'Getting Started' : 'pgExtREST0'; + await dashboard.treeView.createTable({ title: 'Social Media Calendar', - baseTitle: 'Getting Started', + baseTitle: base, }); await dashboard.treeView.openTable({ title: 'Social Media Calendar' });