From fe730c63634e9586ad4b0b16c7bd4633b1cb7328 Mon Sep 17 00:00:00 2001 From: David Laban Date: Mon, 23 Dec 2024 16:56:15 +0000 Subject: [PATCH] simple shared rendering test for mobile and desktop kanban --- tests/database/kanban.shared.spec.ts | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 tests/database/kanban.shared.spec.ts diff --git a/tests/database/kanban.shared.spec.ts b/tests/database/kanban.shared.spec.ts new file mode 100644 index 000000000000..0e0dc7b10239 --- /dev/null +++ b/tests/database/kanban.shared.spec.ts @@ -0,0 +1,31 @@ + +import { + enterPlaygroundRoom, + initKanbanViewState, +} from '../utils/actions/index.js'; +import { test } from '../utils/playwright.js'; +import { + focusKanbanCardHeader, +} from './actions.js'; + +test.describe('kanban view', () => { + test('basic rendering of kanban card', async ({ page }) => { + await enterPlaygroundRoom(page); + await initKanbanViewState(page, { + rows: ['row1'], + columns: [ + { + type: 'number', + value: [1], + }, + { + type: 'rich-text', + value: ['text'], + }, + ], + }); + + await focusKanbanCardHeader(page); + }); + +});