统一页面右上角操作区(05-31-unified-page-header-actions)
这个提交包含在:
@@ -348,6 +348,8 @@ test.describe("R103 cross page UI consistency", () => {
|
||||
|
||||
await expect(page.locator("header").filter({ hasText: "业务" }).getByText("采购")).toBeVisible();
|
||||
await expect(page.getByRole("heading", { name: "采购" })).toBeVisible();
|
||||
const purchaseHeader = page.locator(".page-header-shell").filter({ hasText: "采购" }).first();
|
||||
await expect(purchaseHeader.getByRole("button", { name: "筛选" })).toHaveCount(0);
|
||||
await expect(page.getByTestId("purchase-requests-table")).toBeVisible();
|
||||
await expect(page.getByTestId("purchase-advanced-filters")).toBeVisible();
|
||||
await expect(page.getByTestId("purchase-attachment-upload")).toHaveCount(0);
|
||||
@@ -375,6 +377,9 @@ test.describe("R103 cross page UI consistency", () => {
|
||||
await page.goto("/invoice-pool");
|
||||
|
||||
await expect(page.getByRole("heading", { name: "票据" })).toBeVisible();
|
||||
const invoiceHeader = page.locator(".page-header-shell").filter({ hasText: "票据" }).first();
|
||||
await expect(invoiceHeader.getByRole("button", { name: "绑定" })).toHaveCount(0);
|
||||
await expect(invoiceHeader.getByTestId("invoice-export")).toHaveCount(0);
|
||||
await expect(page.getByTestId("invoice-detail-panel")).toHaveCount(0);
|
||||
await page.getByRole("button", { name: "绑定" }).click();
|
||||
await expect(page.getByTestId("invoice-bind-reimbursement")).toContainText("草稿单 · 2026-05-06");
|
||||
|
||||
在新工单中引用
屏蔽一个用户