Show the whole Rule on one review card, with quiet flags for missing cards and Continue once each question has one.
This commit is contained in:
1 parent
cc878e3c19
commit
6e2e1915ae
30 files changed
+571
-218
No files matched your search
@@ -64,4 +64,14 @@ describe("Chip", () => {
|
||||
expect(chip).toHaveAttribute("aria-pressed", "true");
|
||||
expect(chip.querySelector("svg[aria-hidden]")).not.toBeNull();
|
||||
});
|
||||
|
||||
it("shows a warning icon and names the missing words", () => {
|
||||
render(
|
||||
<Chip label="Signal" state="unselected" hasWarning />,
|
||||
);
|
||||
const chip = screen.getByRole("button", {
|
||||
name: "Signal, missing words",
|
||||
});
|
||||
expect(chip.querySelector("svg")).not.toBeNull();
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user