From 32d03b5877e5a9217f9db456e6139ba737aaaca3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Valent=C3=ADn=20Quiroz=20de=20la=20Sierra?=
<85706426+vqsierra@users.noreply.github.com>
Date: Sat, 14 Nov 2026 01:14:54 -0500
Subject: [PATCH] Reword the done message: "Thank you! Your votes are in."
---
webapp/src/components/VotingBoard.jsx | 2 +-
webapp/src/components/VotingBoard.test.jsx | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
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();
});