mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 21:27:20 +00:00
refactor(editor): image toolbar config extension (#11329)
Closes: [BS-2378](https://linear.app/affine-design/issue/BS-2378/image-toolbar-迁移)
This commit is contained in:
@@ -217,13 +217,6 @@ export async function assertImageSize(
|
||||
});
|
||||
}
|
||||
|
||||
export async function assertImageOption(page: Page) {
|
||||
// const actual = await page.locator('.embed-editing-state').count();
|
||||
// expect(actual).toEqual(1);
|
||||
const locator = page.locator('.affine-image-toolbar-container');
|
||||
await expect(locator).toBeVisible();
|
||||
}
|
||||
|
||||
export async function assertDocTitleFocus(page: Page) {
|
||||
const locator = page.locator('doc-title .inline-editor').nth(0);
|
||||
await expect(locator).toBeFocused();
|
||||
|
||||
Reference in New Issue
Block a user