feat(editor): selection as store extension (#9605)

This commit is contained in:
Saul-Mirone committed 2025-01-09 11:49:23 +00:00
1 parent c2d8c23f13
commit 126ab18967
39 files changed
+176 -204

No files matched your search

+3
View File
@@ -62,6 +62,7 @@ test('not allowed to switch to embed view when linking to the same document', as
await expect(peekViewModel.locator('page-editor')).toBeVisible();
await page.keyboard.press('Escape');
await expect(peekViewModel).not.toBeVisible();
await page.click('body');
await cardLink.click();
await cardToolbar.getByLabel('Switch view').click();
@@ -103,6 +104,7 @@ test('not allowed to switch to embed view when linking to block', async ({
await page.keyboard.press('Escape');
await expect(peekViewModel).not.toBeVisible();
await page.click('body');
await cardLink.click();
await cardToolbar.getByLabel('More').click();
@@ -131,6 +133,7 @@ test('not allowed to switch to embed view when linking to block', async ({
await page.keyboard.press('Escape');
await expect(peekViewModel).not.toBeVisible();
await page.click('body');
await otherCardLink.click();
await cardToolbar.getByLabel('Switch view').click();