diff --git a/.gitignore b/.gitignore index be34eed2..1e279228 100644 --- a/.gitignore +++ b/.gitignore @@ -36,4 +36,4 @@ npm-debug.log /node_modules/ *storybook.log -config/dev.secret.exs +config/dev.secret.exs \ No newline at end of file diff --git a/js/components/modal.tsx b/js/components/modal.tsx index ae0d7cdc..d3f898aa 100644 --- a/js/components/modal.tsx +++ b/js/components/modal.tsx @@ -27,7 +27,11 @@ export const Modal = ({
{title}
{children}
diff --git a/js/test/components/operatorSignIn/operatorSignInModal.test.tsx b/js/test/components/operatorSignIn/operatorSignInModal.test.tsx index 1dd53a14..3064bb94 100644 --- a/js/test/components/operatorSignIn/operatorSignInModal.test.tsx +++ b/js/test/components/operatorSignIn/operatorSignInModal.test.tsx @@ -68,7 +68,7 @@ describe("OperatorSignInModal", () => { , ); - await userEvent.click(view.getByRole("button", { name: "[x]" })); + await userEvent.click(view.getByRole("button", { name: "Close" })); expect(close).toHaveBeenCalled(); view.rerender( , diff --git a/priv/static/images/close.svg b/priv/static/images/close.svg new file mode 100644 index 00000000..3f341a0f --- /dev/null +++ b/priv/static/images/close.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file