mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-23 04:51:49 +08:00
fix: block hub might not work (#3199)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { test } from '@affine-test/kit/playwright';
|
||||
|
||||
import { checkBlockHub } from '../../libs/editor';
|
||||
import { openHomePage } from '../../libs/load-page';
|
||||
import { newPage, waitEditorLoad } from '../../libs/page-logic';
|
||||
|
||||
test('block-hub should work', async ({ page }) => {
|
||||
await openHomePage(page);
|
||||
await waitEditorLoad(page);
|
||||
await checkBlockHub(page);
|
||||
await newPage(page);
|
||||
await page.waitForTimeout(500);
|
||||
await checkBlockHub(page);
|
||||
});
|
||||
Reference in New Issue
Block a user