fix(core): remove plugins settings (#5337)

depend on https://github.com/toeverything/AFFiNE/pull/5324
This commit is contained in:
Peng Xiao
2023-12-26 06:21:59 +00:00
parent 555d40c3da
commit 972de52833
19 changed files with 25 additions and 98 deletions
-10
View File
@@ -4,7 +4,6 @@ import { waitForEditorLoad } from '@affine-test/kit/utils/page-logic';
import {
openAboutPanel,
openAppearancePanel,
openPluginsPanel,
openSettingModal,
openShortcutsPanel,
} from '@affine-test/kit/utils/setting';
@@ -79,15 +78,6 @@ test('Open shortcuts panel', async ({ page }) => {
await expect(title).toBeVisible();
});
test('Open plugins panel', async ({ page }) => {
await openHomePage(page);
await waitForEditorLoad(page);
await openSettingModal(page);
await openPluginsPanel(page);
const title = page.getByTestId('plugins-title');
await expect(title).toBeVisible();
});
test('Open about panel', async ({ page }) => {
await openHomePage(page);
await waitForEditorLoad(page);
-3
View File
@@ -19,9 +19,6 @@ export async function openAppearancePanel(page: Page) {
export async function openShortcutsPanel(page: Page) {
await page.getByTestId('shortcuts-panel-trigger').click();
}
export async function openPluginsPanel(page: Page) {
await page.getByTestId('plugins-panel-trigger').click();
}
export async function openAboutPanel(page: Page) {
await page.getByTestId('about-panel-trigger').click();