feat: bump blocksuite (#5812)

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

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();
});