mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
test: add test case for plugin bootstrap (#3529)
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
import { test } from '@affine-test/kit/playwright';
|
||||
import { openHomePage } from '@affine-test/kit/utils/load-page';
|
||||
import { openHomePage, openPluginPage } from '@affine-test/kit/utils/load-page';
|
||||
import { waitEditorLoad } from '@affine-test/kit/utils/page-logic';
|
||||
import { expect } from '@playwright/test';
|
||||
|
||||
test('plugin map should valid', async ({ page }) => {
|
||||
await openPluginPage(page);
|
||||
await page.waitForSelector('[data-plugins-load-status="success"]');
|
||||
});
|
||||
|
||||
test('plugin should exist', async ({ page }) => {
|
||||
await openHomePage(page);
|
||||
await waitEditorLoad(page);
|
||||
|
||||
Reference in New Issue
Block a user