test(08-07-e2e-fixture-repair): 修复交互回归夹具与附件定位

这个提交包含在:
2026-08-07 09:05:28 +08:00
父节点 ab90bc1ce4
当前提交 88b97b40af
共修改 14 个文件,包含 303 行新增和 20 行删除
@@ -677,7 +677,7 @@ test.describe("R111 国内报销发票与附件双端体验", () => {
buffer: Buffer.from("r111 attachment"),
});
await page.getByRole("button", { name: "上传附件" }).click();
await expect(page.getByText("付款截图.png")).toBeVisible();
await expect(page.getByRole("button", { name: "查看补充附件:付款截图.png" })).toBeVisible();
await expect(page.getByTestId("reimbursement-travel-summary")).toContainText("合成差旅概要");
await expect(page.getByTestId("reimbursement-travel-summary")).toContainText("测试地点");
await expect(page.getByTestId("reimbursement-materials")).toContainText("发票 2 · 补充附件 1");
@@ -809,7 +809,7 @@ test.describe("R111 国内报销发票与附件双端体验", () => {
buffer: Buffer.from("r111 mobile attachment"),
});
await mobile.page.getByTestId("mobile-reimbursement-materials").getByRole("button", { name: "上传附件" }).click();
await expect(mobile.page.getByText("付款截图.png")).toBeVisible();
await expect(mobile.page.getByRole("button", { name: "查看补充附件:付款截图.png" })).toBeVisible();
await expect(mobile.page.getByTestId("mobile-reimbursement-travel-summary")).toContainText("合成差旅概要");
await expect(mobile.page.getByTestId("mobile-reimbursement-travel-summary")).toContainText("测试地点");
await expect(mobile.page.getByTestId("mobile-reimbursement-materials")).toContainText("发票 2 · 补充附件 1");
@@ -32,7 +32,7 @@ const employee = {
directManagerId: "manager-r6",
status: "active",
notificationPushEnabled: true,
roleCodes: ["manager", "employee"],
roleCodes: ["manager", "employee", "hr"],
profileCompleteness: {
hasEmergencyContact: true,
hasBankAccount: true,