Skip to content

Commit

Permalink
simple shared rendering test for mobile and desktop kanban
Browse files Browse the repository at this point in the history
  • Loading branch information
alsuren committed Dec 23, 2024
1 parent c4ba37c commit fe730c6
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions tests/database/kanban.shared.spec.ts
Original file line number Diff line number Diff line change
@@ -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);
});

});

0 comments on commit fe730c6

Please sign in to comment.