feat: bump blocksuite (#5812)

This commit is contained in:
Flrande authored and GitHub committed 2024-02-08 08:18:03 +08:00
1 parent a84a91d896
commit 2e3ffeced9
14 files changed
+161 -158

No files matched your search

+4 -1
View File
@@ -315,6 +315,7 @@ test('assert the recent browse pages are on the recent list', async ({
{
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.waitForTimeout(200);
await title.pressSequentially('affine is the best', { delay: 100 });
await expect(title).toHaveText('affine is the best', { timeout: 500 });
}
@@ -419,7 +420,9 @@ test('can use cmdk to search page content and scroll to it, then the block will
page.locator('[data-affine-editor-container]').getByText('123456')
);
expect(isVisitable).toBe(true);
const selectionElement = page.locator('affine-block-selection');
const selectionElement = page.locator(
'affine-block-selection[style*="display: block;"]'
);
await expect(selectionElement).toBeVisible();
});