test(intake): 样包测量只读断言随锁定口径对齐
非集成权限工作流用例中原断言期望样包测量「已确认」行仍可编辑, 与本次落地的口径(已确认即不可改、取消确认后方可改)冲突, 随主提交一并校正为期望 readonly,并加注释说明规则来源。 补 d3dc8821 遗漏的这一个测试文件(主提交已含对应实现)。
This commit is contained in:
parent
3ae72e800f
commit
495ff9f30b
@ -1353,9 +1353,10 @@ describe("NonIntegratedDetailClient permissions and review workflows", () => {
|
||||
});
|
||||
expect(confirmButton).toHaveTextContent("已确认");
|
||||
|
||||
// 规则:样包测量「已确认」后测量数据不可直接修改,需先「取消确认」才能改。
|
||||
expect(
|
||||
screen.getByTestId("sample-measurement-lengthCm-sku-sample-1"),
|
||||
).not.toHaveAttribute("readonly");
|
||||
).toHaveAttribute("readonly");
|
||||
});
|
||||
|
||||
it("locks only the sample measurement row whose SKU pricing was pushed", async () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user