feat: add tickets page and update workbench rail links to correct paths
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user