feat: rebuild review detail decision surface
This commit is contained in:
@@ -222,6 +222,17 @@ afterEach(() => {
|
||||
pushMock.mockReset();
|
||||
});
|
||||
|
||||
test("renders a sticky summary with grouped decision panels", async () => {
|
||||
const fetchMock = createFetchMock();
|
||||
vi.stubGlobal("fetch", fetchMock);
|
||||
|
||||
render(<ReviewWorkbenchDetailScreen orderId={101} />);
|
||||
|
||||
expect(await screen.findByRole("link", { name: "返回审核列表" })).toBeInTheDocument();
|
||||
expect(screen.getByText("审核动作")).toBeInTheDocument();
|
||||
expect(screen.getByText("人工修订")).toBeInTheDocument();
|
||||
});
|
||||
|
||||
test("requires a comment before rerun_face submission in detail view", async () => {
|
||||
const fetchMock = createFetchMock();
|
||||
vi.stubGlobal("fetch", fetchMock);
|
||||
|
||||
Reference in New Issue
Block a user