fix: 收窄详情按钮并校正响应式回归(09-04-reimbursement-state-gap-finance-view)

这个提交包含在:
2026-09-11 20:21:45 +08:00
父节点 fedcaed1a1
当前提交 9e41f107fa
共修改 9 个文件,包含 202 行新增和 14 行删除
+5 -2
查看文件
@@ -96,9 +96,12 @@ module.exports = async function verifyPaymentExperience({
await page.goto(`${uiOrigin}${mobile ? "/mobile" : ""}/reimbursements/${form.id}`);
const sourceActions = page.getByTestId(mobile ? "mobile-reimbursement-payment-actions" : "reimbursement-action-panel");
await expect(sourceActions).toContainText("已生成银行制单");
await expect(page.getByText("去组建付款批次", { exact: true })).toHaveCount(0);
await expect(page.getByRole("link", { name: "创建批次", exact: true })).toHaveCount(0);
const sourceLink = page.getByRole("link", { name: "查看所在付款批次", exact: true });
await expect(sourceLink).toHaveCount(1);
const linkBounds = await sourceLink.boundingBox();
assert.ok(linkBounds.height >= 44);
if (!mobile) assert.ok(linkBounds.width < 180);
await sourceLink.click();
const actions = page.getByTestId(mobile ? "payment-batch-mobile-actions" : "payment-batch-action-panel");
await expect(actions.getByRole("button", { name: "上传银行回单" })).toBeVisible();
@@ -117,7 +120,7 @@ module.exports = async function verifyPaymentExperience({
await expect(page.getByTestId("payment-batch-processing-panel")).toBeVisible();
await page.goBack();
await expect(sourceActions).toContainText("已生成银行制单");
await expect(page.getByText("去组建付款批次", { exact: true })).toHaveCount(0);
await expect(page.getByRole("link", { name: "创建批次", exact: true })).toHaveCount(0);
await expect(sourceLink).toHaveCount(1);
const sourceProgress = page.getByTestId(mobile ? "mobile-reimbursement-processing-progress" : "reimbursement-workflow-progress");
await expect(sourceProgress).toHaveCount(1);