R93 修复真实 OCR 辅助等待逻辑

这个提交包含在:
2026-05-06 00:05:00 +08:00
父节点 1ddad3f7d6
当前提交 c920e199d0
共修改 2 个文件,包含 23 行新增和 6 行删除
@@ -19,8 +19,9 @@ test("手工 live 腾讯 OCR 辅助复核:真实 VAT 发票上传后进入可
throw new Error(`live 腾讯 OCR 失败:${result.bannerText || result.detailText}`);
}
await expect(page.getByTestId("invoice-detail-panel")).not.toContainText("发票号:---");
await expect(page.getByTestId("invoice-detail-panel")).not.toContainText("总金额:-");
expect(result.invoiceCode ?? result.invoiceNumber, JSON.stringify(result)).toBeTruthy();
expect(result.totalAmount, JSON.stringify(result)).toBeTruthy();
expect(result.totalAmount, JSON.stringify(result)).not.toBe("-");
await logout(page, EMPLOYEE.name);
});