diff --git a/webapp/src/components/VotingBoard.jsx b/webapp/src/components/VotingBoard.jsx index 7eee5f4..eab0d90 100644 --- a/webapp/src/components/VotingBoard.jsx +++ b/webapp/src/components/VotingBoard.jsx @@ -179,7 +179,7 @@ export default function VotingBoard({ boardId }) { {done && !closed && (
- Thanks, your votes are in.{' '} + Thank you! Your votes are in.{' '}
diff --git a/webapp/src/components/VotingBoard.test.jsx b/webapp/src/components/VotingBoard.test.jsx index 10d9082..3a0a203 100644 --- a/webapp/src/components/VotingBoard.test.jsx +++ b/webapp/src/components/VotingBoard.test.jsx @@ -129,13 +129,13 @@ describe('VotingBoard', () => { fireEvent.click(screen.getByText("I'm done voting")); - expect(await screen.findByText(/Thanks, your votes are in/)).toBeInTheDocument(); + expect(await screen.findByText(/Thank you! Your votes are in/)).toBeInTheDocument(); expect(voteButton).toBeDisabled(); expect(screen.queryByText("I'm done voting")).not.toBeInTheDocument(); fireEvent.click(screen.getByText('Keep voting')); - await waitFor(() => expect(screen.queryByText(/Thanks, your votes are in/)).not.toBeInTheDocument()); + await waitFor(() => expect(screen.queryByText(/Thank you! Your votes are in/)).not.toBeInTheDocument()); expect(voteButton).not.toBeDisabled(); expect(screen.getByText("I'm done voting")).toBeInTheDocument(); });