feat: bump blocksuite (#5953)
This commit is contained in:
@@ -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 }) => {
|
||||
|
||||
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user