chore(editor): remove edgeless element toolbar (#10900)

This commit is contained in:
fundon
2025-03-20 02:08:21 +00:00
parent 831f290f84
commit 8b995ea420
71 changed files with 330 additions and 6449 deletions

View File

@@ -5,7 +5,7 @@ import {
createEdgelessNoteBlock,
dragView,
locateEditorContainer,
locateElementToolbar,
locateToolbar,
toViewCoord,
} from '@affine-test/kit/utils/editor';
import {
@@ -34,7 +34,7 @@ test.beforeEach(async ({ page }) => {
test('should update zindex of element when moving it into frame', async ({
page,
}) => {
const toolbar = locateElementToolbar(page);
const toolbar = locateToolbar(page);
// create a top frame
await page.keyboard.press('f');
@@ -47,7 +47,7 @@ test('should update zindex of element when moving it into frame', async ({
await createEdgelessNoteBlock(page, [500, 500]);
await clickView(page, [0, 100]);
await clickView(page, [500, 500]);
await toolbar.getByLabel('More').click();
await toolbar.getByLabel('more-menu').click();
await toolbar.getByLabel('Send to Back').click();
await pressEscape(page);