mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
feat: bump blocksuite (#7634)
## Features - https://github.com/toeverything/BlockSuite/pull/7704 @L-Sun - https://github.com/toeverything/BlockSuite/pull/7733 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/7585 @fundon ## Bugfix - https://github.com/toeverything/BlockSuite/pull/7749 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/7745 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/7737 @fundon - https://github.com/toeverything/BlockSuite/pull/7734 @fundon - https://github.com/toeverything/BlockSuite/pull/7735 @L-Sun - https://github.com/toeverything/BlockSuite/pull/7730 @fourdim - https://github.com/toeverything/BlockSuite/pull/7718 @fourdim - https://github.com/toeverything/BlockSuite/pull/7723 @Flrande ## Refactor - https://github.com/toeverything/BlockSuite/pull/7738 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/7731 @fourdim - https://github.com/toeverything/BlockSuite/pull/7732 @zzj3720 - https://github.com/toeverything/BlockSuite/pull/7724 @doouding - https://github.com/toeverything/BlockSuite/pull/7725 @doodlewind ## Misc - https://github.com/toeverything/BlockSuite/pull/7748 @doodlewind - https://github.com/toeverything/BlockSuite/pull/7721 @fundon - https://github.com/toeverything/BlockSuite/pull/7729 @fundon - https://github.com/toeverything/BlockSuite/pull/7728 @L-Sun - https://github.com/toeverything/BlockSuite/pull/7595 @fundon
This commit is contained in:
@@ -140,7 +140,12 @@ test('can open peek view for embedded frames', async ({ page }) => {
|
||||
|
||||
await page
|
||||
.locator('.surface-ref-toolbar-container')
|
||||
.locator('icon-button:has-text("center peek")')
|
||||
.locator('editor-icon-button[aria-label="Open doc"]')
|
||||
.click();
|
||||
|
||||
await page
|
||||
.locator('.surface-ref-toolbar-container')
|
||||
.locator('editor-menu-action:has-text("center peek")')
|
||||
.click();
|
||||
|
||||
// verify peek view is opened
|
||||
|
||||
@@ -16,12 +16,13 @@ test('should be able to undo on empty page', async ({ page }) => {
|
||||
await page.keyboard.press('ControlOrMeta+Z');
|
||||
|
||||
// test editor still work
|
||||
await page.locator('.affine-note-block-container').click({ force: true });
|
||||
await page.locator('.affine-note-block-container').click({ force: true });
|
||||
await page.locator('.edgeless-note-page-content').click({ force: true });
|
||||
await page.locator('.edgeless-note-page-content').click({ force: true });
|
||||
await page.waitForTimeout(100);
|
||||
await page
|
||||
.locator('.affine-note-block-container')
|
||||
.locator('.edgeless-note-page-content')
|
||||
.pressSequentially('test text');
|
||||
await expect(page.locator('.affine-note-block-container')).toContainText(
|
||||
await expect(page.locator('.edgeless-note-page-content')).toContainText(
|
||||
'test text'
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user