feat: bump blocksuite (#5453)

Change history: https://github.com/toeverything/blocksuite/compare/e3abcbb...master
This commit is contained in:
Peng Xiao
2024-01-03 02:10:19 +00:00
parent 8dc3e3d65c
commit 6cb62ed25d
22 changed files with 169 additions and 178 deletions

View File

@@ -141,7 +141,7 @@ test('create temporary filter by click tag', async ({ page }) => {
await clickNewPageButton(page);
await getBlockSuiteEditorTitle(page).click();
await getBlockSuiteEditorTitle(page).fill('test page');
await page.locator('affine-page-meta-data').click();
await page.locator('page-meta-tags').click();
await page.locator('.add-tag').click();
await page.keyboard.type('TODO Tag');
await page.keyboard.press('Enter');

View File

@@ -44,7 +44,7 @@ const commandsIsVisible = async (page: Page, label: string) => {
async function assertTitle(page: Page, text: string) {
const edgeless = page.locator('affine-edgeless-page');
if (!edgeless) {
const locator = page.locator('.affine-doc-page-block-title').nth(0);
const locator = getBlockSuiteEditorTitle(page);
const actual = await locator.inputValue();
expect(actual).toBe(text);
}
@@ -97,7 +97,7 @@ async function assertResultList(page: Page, texts: string[]) {
async function titleIsFocused(page: Page) {
const edgeless = page.locator('affine-edgeless-page');
if (!edgeless) {
const title = page.locator('.affine-doc-page-block-title');
const title = getBlockSuiteEditorTitle(page);
await expect(title).toBeVisible();
await expect(title).toBeFocused();
}