feat: add Super Alpha research, management and MCP workflows
Deploy production / deploy (push) Successful in 56s
Deploy production / deploy (push) Successful in 56s
This commit is contained in:
@@ -63,17 +63,26 @@ test("sidebar geometry, recent navigation, user menu and compact tools", async (
|
||||
await page.getByRole("button", { name: "同步任务", exact: true }).click();
|
||||
await expect(page.locator(".job-panel")).toBeVisible();
|
||||
// The drawer must receive pointer events where the global tools sit behind it.
|
||||
await expect.poll(() =>
|
||||
page.getByRole("toolbar").getByRole("button").evaluateAll((buttons) =>
|
||||
buttons.every((button) => {
|
||||
const rect = button.getBoundingClientRect();
|
||||
return Boolean(document.elementFromPoint(
|
||||
rect.x + rect.width / 2,
|
||||
rect.y + rect.height / 2,
|
||||
)?.closest(".job-panel"));
|
||||
}),
|
||||
),
|
||||
).toBe(true);
|
||||
await expect
|
||||
.poll(() =>
|
||||
page
|
||||
.getByRole("toolbar")
|
||||
.getByRole("button")
|
||||
.evaluateAll((buttons) =>
|
||||
buttons.every((button) => {
|
||||
const rect = button.getBoundingClientRect();
|
||||
return Boolean(
|
||||
document
|
||||
.elementFromPoint(
|
||||
rect.x + rect.width / 2,
|
||||
rect.y + rect.height / 2,
|
||||
)
|
||||
?.closest(".job-panel"),
|
||||
);
|
||||
}),
|
||||
),
|
||||
)
|
||||
.toBe(true);
|
||||
await page.locator(".job-panel .semi-sidesheet-close").click();
|
||||
await expect(page.locator(".job-panel")).not.toBeVisible();
|
||||
await page.getByRole("button", { name: "切换研究助手" }).click();
|
||||
@@ -85,7 +94,7 @@ test("sidebar geometry, recent navigation, user menu and compact tools", async (
|
||||
await page.keyboard.press("Control+k");
|
||||
await page
|
||||
.getByRole("dialog")
|
||||
.getByRole("button", { name: "Alpha 管理" })
|
||||
.getByRole("button", { name: "Alpha 管理", exact: true })
|
||||
.click();
|
||||
await expect(
|
||||
page.getByRole("tab", { name: "待提交", exact: true }),
|
||||
|
||||
Reference in New Issue
Block a user