refactor(editor): do not create a tag column by default anymore (#9789)

close: BS-2423
This commit is contained in:
zzj3720
2025-01-20 06:59:09 +00:00
parent dce71f8e6e
commit 2e18ae59e3
5 changed files with 23 additions and 51 deletions

View File

@@ -1,6 +1,7 @@
import { test } from '@affine-test/kit/playwright';
import {
addColumn,
addRows,
initDatabaseByOneStep,
pasteString,
@@ -14,6 +15,7 @@ test.describe('Database Clipboard Operations', () => {
}) => {
// Open the home page and wait for the editor to load
await initDatabaseByOneStep(page);
await addColumn(page, 'multi-select');
// Create a database block with two rows
await addRows(page, 2);
@@ -36,6 +38,7 @@ test.describe('Database Clipboard Operations', () => {
}) => {
// Open the home page and wait for the editor to load
await initDatabaseByOneStep(page);
await addColumn(page, 'multi-select');
// Create a database block with two rows
await addRows(page, 2);
@@ -51,6 +54,7 @@ test.describe('Database Clipboard Operations', () => {
test('handle pasting data larger than selected area', async ({ page }) => {
// Open the home page and wait for the editor to load
await initDatabaseByOneStep(page);
await addColumn(page, 'multi-select');
// Create a database block with one row
await addRows(page, 1);