fix: 完善动态错误指引与发票日期校验(09-05-error-explainability-payment-readiness)
这个提交包含在:
@@ -216,6 +216,10 @@ test.describe("visual portal", () => {
|
||||
await page.goto(mobile ? "/mobile" : "/portal");
|
||||
await expect(page.getByText("报销待组建付款批次 · BX-SYN", { exact: true })).toBeVisible();
|
||||
await expect(page.getByText("付款与回单待处理 · PB-SYN", { exact: true })).toBeVisible();
|
||||
await expect(page.getByRole("link").filter({ hasText: "报销待组建付款批次 · BX-SYN" }))
|
||||
.toHaveAttribute("href", mobile ? "/mobile/reimbursements/synthetic" : "/reimbursements/synthetic");
|
||||
await expect(page.getByRole("link").filter({ hasText: "付款与回单待处理 · PB-SYN" }))
|
||||
.toHaveAttribute("href", mobile ? "/mobile/payment-batches?id=synthetic" : "/payment-batches?id=synthetic");
|
||||
await expect(page.getByText("待付款批次 9 个", { exact: true })).toHaveCount(0);
|
||||
await expect(page.getByText("异常付款 1 项", { exact: true })).toHaveCount(0);
|
||||
if (mobile) await expect(page.getByTestId("mobile-business-handoffs")).toContainText("2 项");
|
||||
@@ -225,6 +229,7 @@ test.describe("visual portal", () => {
|
||||
items = [];
|
||||
await page.reload();
|
||||
await expect(page.getByText("付款与回单待处理 · PB-SYN", { exact: true })).toHaveCount(0);
|
||||
await expect(page.getByText("报销待组建付款批次 · BX-SYN", { exact: true })).toHaveCount(0);
|
||||
await expect(page.getByText("待付款批次 9 个", { exact: true })).toHaveCount(0);
|
||||
});
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户