feat: bump blocksuite (#5953)

This commit is contained in:
regischen
2024-02-29 14:33:50 +08:00
committed by GitHub
parent fa534869e1
commit d1e6b23e1a
121 changed files with 665 additions and 674 deletions

View File

@@ -66,7 +66,7 @@ test('all page can create new edgeless page', async ({ page }) => {
await waitForEditorLoad(page);
await clickSideBarAllPageButton(page);
await clickNewEdgelessDropdown();
await expect(page.locator('affine-edgeless-page')).toBeVisible();
await expect(page.locator('affine-edgeless-root')).toBeVisible();
});
test('allow creation of filters by favorite', async ({ page }) => {

View File

@@ -32,7 +32,7 @@ test('Switch to edgeless by switch edgeless item', async ({ page }) => {
const count = await getCount();
expect(count).toBe(1);
}
const edgeless = page.locator('affine-edgeless-page');
const edgeless = page.locator('affine-edgeless-root');
await expect(edgeless).toBeVisible();
const editorWrapperPadding = await page
@@ -62,7 +62,7 @@ test('Convert to edgeless by editor header items', async ({ page }) => {
await clickPageMoreActions(page);
const menusEdgelessItem = page.getByTestId('editor-option-menu-edgeless');
await menusEdgelessItem.click({ delay: 100 });
const edgeless = page.locator('affine-edgeless-page');
const edgeless = page.locator('affine-edgeless-root');
await expect(edgeless).toBeVisible();
});

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');
const edgeless = page.locator('affine-edgeless-root');
if (!edgeless) {
const locator = getBlockSuiteEditorTitle(page);
const actual = await locator.inputValue();
@@ -97,7 +97,7 @@ async function assertResultList(page: Page, texts: string[]) {
}
async function titleIsFocused(page: Page) {
const edgeless = page.locator('affine-edgeless-page');
const edgeless = page.locator('affine-edgeless-root');
if (!edgeless) {
const title = getBlockSuiteEditorTitle(page);
await expect(title).toBeVisible();