mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 02:13:00 +08:00
feat: bump blocksuite (#5453)
Change history: https://github.com/toeverything/blocksuite/compare/e3abcbb...master
This commit is contained in:
@@ -184,7 +184,7 @@ export const createPageWithTag = async (
|
||||
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();
|
||||
for (const name of options.tags) {
|
||||
await createTag(page, name);
|
||||
|
||||
@@ -23,7 +23,7 @@ export async function clickNewPageButton(page: Page) {
|
||||
}
|
||||
|
||||
export function getBlockSuiteEditorTitle(page: Page) {
|
||||
return page.locator('.affine-doc-page-block-title').nth(0);
|
||||
return page.locator('doc-title .inline-editor').nth(0);
|
||||
}
|
||||
|
||||
export async function type(page: Page, content: string, delay = 50) {
|
||||
|
||||
Reference in New Issue
Block a user