feat: add tickets page and update workbench rail links to correct paths

This commit is contained in:
mlogclub
2026-06-13 12:05:57 +08:00
parent d9a05a17ca
commit 32c93322e7
4 changed files with 16 additions and 2 deletions
+8
View File
@@ -67,6 +67,14 @@ test.describe("support workbench", () => {
await screenshot(page, "03-workbench-initial");
await expect(page.getByText(/客服工作台|Support Workbench/).first()).toBeVisible();
await expect(page.getByRole("link", { name: /会话|Conversations/ }).first()).toHaveAttribute(
"href",
"/workbench/",
);
await expect(page.getByRole("link", { name: /工单|Tickets/ }).first()).toHaveAttribute(
"href",
"/workbench/tickets/",
);
await page.getByRole("button", { name: /贝壳AGENT|Agent Desk/i }).first().click();
await expect(page.getByText(/切换工作区|Switch workspace/)).toBeVisible();
await expect(page.getByRole("menuitem", { name: /管理后台|Admin Dashboard/ })).toBeVisible();