feat: consolidate plugin navigation

This commit is contained in:
inman
2026-08-31 16:30:17 +08:00
parent 38f85f6b5e
commit b3f4166f21
12 changed files with 227 additions and 69 deletions

View File

@@ -51,8 +51,12 @@ test.describe('Project Plugin Center', () => {
});
});
await page.getByTestId('sidebar-nav-project-plugins').click();
await page.getByTestId('resource-card-plugins').click();
await expect(page.getByTestId('project-plugins-page')).toBeVisible();
await page.getByTestId('project-plugins-page').getByRole('button', { name: '刷新' }).click();
await expect.poll(async () => app.evaluate(() => (
(globalThis as typeof globalThis & { __projectPluginE2E?: { localProjectId: string } }).__projectPluginE2E?.localProjectId
))).toBeTruthy();
await expect(page.getByText('当前包含,不按单次调用扣点')).toBeVisible();
const localProjectId = await app.evaluate(() => (
(globalThis as typeof globalThis & { __projectPluginE2E?: { localProjectId: string } }).__projectPluginE2E?.localProjectId