feat: bump blocksuite (#5812)

This commit is contained in:
Flrande
2024-02-08 08:18:03 +08:00
committed by GitHub
parent a84a91d896
commit 2e3ffeced9
14 changed files with 161 additions and 158 deletions

View File

@@ -315,6 +315,7 @@ test('assert the recent browse pages are on the recent list', async ({
{
const title = getBlockSuiteEditorTitle(page);
await title.click();
await page.waitForTimeout(200);
await title.pressSequentially('affine is the best', { delay: 100 });
await expect(title).toHaveText('affine is the best', { timeout: 500 });
}
@@ -419,7 +420,9 @@ test('can use cmdk to search page content and scroll to it, then the block will
page.locator('[data-affine-editor-container]').getByText('123456')
);
expect(isVisitable).toBe(true);
const selectionElement = page.locator('affine-block-selection');
const selectionElement = page.locator(
'affine-block-selection[style*="display: block;"]'
);
await expect(selectionElement).toBeVisible();
});

View File

@@ -22,14 +22,14 @@
"storybook-addon-react-router-v6": "^2.0.10"
},
"devDependencies": {
"@blocksuite/block-std": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/blocks": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/global": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/block-std": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/blocks": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/global": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/icons": "2.1.44",
"@blocksuite/inline": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/lit": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/presets": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/store": "0.12.0-canary-202402010557-e8d6e1d",
"@blocksuite/inline": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/lit": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/presets": "0.12.0-canary-202402062232-9a8554c",
"@blocksuite/store": "0.12.0-canary-202402062232-9a8554c",
"@storybook/addon-actions": "^7.5.3",
"@storybook/addon-essentials": "^7.5.3",
"@storybook/addon-interactions": "^7.5.3",