mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-24 05:07:06 +08:00
feat(editor): selection as store extension (#9605)
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user