mirror of
https://github.com/MeshCore-Beacon/beacon-web.git
synced 2026-10-23 09:52:29 +00:00
Plain wording across panels and fix retention-bound views (#127)
This commit is contained in:
1 parent
bd32c0019f
commit
e491a822c9
58 files changed
+463
-394
No files matched your search
@@ -69,7 +69,7 @@ describe("PacketPathMapModal", () => {
|
||||
it("does not silently substitute all paths for an unavailable selected path", async () => {
|
||||
render(<PacketPathMapModal detail={detail} onClose={() => {}} initialSelectedKey="nope" />);
|
||||
expect(await screen.findByTestId("mini-map")).toHaveTextContent("nope");
|
||||
expect(screen.getByRole("status")).toHaveTextContent("selected path cannot be mapped");
|
||||
expect(screen.getByRole("status")).toHaveTextContent("This path can't be mapped");
|
||||
fireEvent.click(screen.getByText("All paths"));
|
||||
expect(await screen.findByTestId("mini-map")).toHaveTextContent("all");
|
||||
expect(screen.queryByRole("status")).not.toBeInTheDocument();
|
||||
|
||||
Reference in new issue
Block a user