fix(component): banner should not affect the editor layout (#7128)

Same as #6605
This commit is contained in:
fundon
2024-06-03 02:13:24 +00:00
parent 03be1d66f9
commit 5b8b2bbf48
2 changed files with 5 additions and 1 deletions

View File

@@ -121,6 +121,9 @@ test('can open peek view for embedded frames', async ({ page }) => {
// enter F to create a frame
await page.keyboard.press('f');
// close affine-banner
await page.locator('[data-testid=local-demo-tips-close-button]').click();
// insert the frame to page
await page
.locator('edgeless-change-frame-button:has-text("Insert into Page")')