feat: bump blocksuite (#5286)

Co-authored-by: donteatfriedrice <huisheng.chen7788@outlook.com>
This commit is contained in:
Yifeng Wang
2023-12-15 12:57:52 +08:00
committed by GitHub
parent 136b4ccb4e
commit af15aa06d4
37 changed files with 302 additions and 259 deletions

View File

@@ -400,7 +400,7 @@ test('can use cmdk to search page content and scroll to it, then the block will
await page.keyboard.press('Enter', { delay: 10 });
}
await page.keyboard.insertText('123456');
const textBlock = page.locator('editor-container').getByText('123456');
const textBlock = page.locator('affine-editor-container').getByText('123456');
await expect(textBlock).toBeVisible();
await clickSideBarAllPageButton(page);
await openQuickSearchByShortcut(page);
@@ -414,7 +414,7 @@ test('can use cmdk to search page content and scroll to it, then the block will
await waitForScrollToFinish(page);
const isVisitable = await checkElementIsInView(
page,
page.locator('editor-container').getByText('123456')
page.locator('affine-editor-container').getByText('123456')
);
expect(isVisitable).toBe(true);
const selectionElement = page.locator('affine-block-selection');