feat: bump blocksuite (#5453)
Change history: https://github.com/toeverything/blocksuite/compare/e3abcbb...master
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user