feat: 重构侧栏布局,优化用户菜单和同步功能

This commit is contained in:
yuxuanhui
2026-09-09 08:34:34 +08:00
parent c67031a7cb
commit f6c2dcead8
4 changed files with 84 additions and 102 deletions
+4 -2
View File
@@ -9,7 +9,7 @@ test("submission tabs, day selection, local correlation and reload", async ({
await page.getByLabel("密码", { exact: true }).fill("browser-test-password");
await page.getByRole("button", { name: "进入工作空间" }).click();
await expect(
page.getByRole("heading", { name: "Alpha 管理", exact: true }),
page.getByRole("tab", { name: "待提交", exact: true }),
).toBeVisible();
const headers = { "X-WQ-Request": "1" };
const credentials = await page.request.put("/api/v1/account/credentials", {
@@ -118,7 +118,9 @@ test("submission tabs, day selection, local correlation and reload", async ({
await page.reload();
await page.getByRole("textbox", { name: "搜索 Alpha" }).fill("TEST0004");
await page.getByRole("button", { name: "查询", exact: true }).click();
await expect(page.locator(".alpha-table:visible")).toContainText("相关性偏高");
await expect(page.locator(".alpha-table:visible")).toContainText(
"相关性偏高",
);
await page.getByRole("tab", { name: "已提交", exact: true }).click();
await expect(
page.getByRole("button", { name: "全量同步已提交" }),