test(editor): move blocksuite test to tests folder (#10917)

This commit is contained in:
Saul-Mirone
2025-03-17 06:40:25 +00:00
parent 0f83566504
commit d5a5df5e49
352 changed files with 47 additions and 44 deletions
@@ -0,0 +1,19 @@
import { expect } from '@playwright/test';
import {
enterPlaygroundRoom,
initDatabaseDynamicRowWithData,
initEmptyDatabaseState,
} from '../utils/actions/misc.js';
import { test } from '../utils/playwright.js';
import { press } from './actions.js';
test.describe('title', () => {
test('should able to link doc by press @', async ({ page }) => {
await enterPlaygroundRoom(page);
await initEmptyDatabaseState(page);
await initDatabaseDynamicRowWithData(page, '123', true);
await press(page, '@');
await expect(page.locator('.linked-doc-popover')).toBeVisible();
});
});