mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
refactor(editor): add runtime type checks to database cell values (#10770)
This commit is contained in:
@@ -531,8 +531,11 @@ test.describe('readonly mode', () => {
|
||||
});
|
||||
await cell.click();
|
||||
await pressEnter(page);
|
||||
await waitNextFrame(page, 100);
|
||||
await type(page, '123');
|
||||
await waitNextFrame(page, 100);
|
||||
await pressEnter(page);
|
||||
await waitNextFrame(page, 100);
|
||||
await assertDatabaseCellRichTexts(page, { text: '123' });
|
||||
|
||||
await switchReadonly(page);
|
||||
|
||||
Reference in New Issue
Block a user