diff --git a/frontend-new/src/chat/chatProgressbar/ChatProgressBar.test.tsx b/frontend-new/src/chat/chatProgressbar/ChatProgressBar.test.tsx index 7e7677245..2a68d2b60 100644 --- a/frontend-new/src/chat/chatProgressbar/ChatProgressBar.test.tsx +++ b/frontend-new/src/chat/chatProgressbar/ChatProgressBar.test.tsx @@ -39,11 +39,6 @@ describe("ChatProgresBar", () => { expect(progressBar).toBeInTheDocument(); expect(progressBar).toHaveTextContent(givenReturnedUserFriendlyPhaseName); - // AND the progress bar label should be in the document - const progressBarLabel = screen.getByTestId(DATA_TEST_ID.PROGRESS_BAR_LABEL); - expect(progressBarLabel).toBeInTheDocument(); - expect(progressBarLabel).toHaveTextContent(`${givenPercentage}%`); - // AND the width of the progress bar should be set to the percentage // Wait for it because of the animation. diff --git a/frontend-new/src/chat/chatProgressbar/ChatProgressBar.tsx b/frontend-new/src/chat/chatProgressbar/ChatProgressBar.tsx index 17d64379b..1633df863 100644 --- a/frontend-new/src/chat/chatProgressbar/ChatProgressBar.tsx +++ b/frontend-new/src/chat/chatProgressbar/ChatProgressBar.tsx @@ -10,7 +10,6 @@ export const DATA_TEST_ID = { CONTAINER: `chat-progress-bar-container-${uniqueId}`, PROGRESS_BAR: `chat-progress-bar-${uniqueId}`, PROGRESS_BAR_PHASE_TEXT: `chat-progress-bar-text-${uniqueId}`, - PROGRESS_BAR_LABEL: `chat-progress-bar-label-${uniqueId}`, }; const ChatProgressBar: React.FC = (currentPhase) => { @@ -79,7 +78,6 @@ const ChatProgressBar: React.FC = (currentPhase) => { {userFriendlyConversationPhaseText} - {percentageInText} diff --git a/frontend-new/src/chat/chatProgressbar/__snapshots__/ChatProgressBar.test.tsx.snap b/frontend-new/src/chat/chatProgressbar/__snapshots__/ChatProgressBar.test.tsx.snap deleted file mode 100644 index 3c8cb140b..000000000 --- a/frontend-new/src/chat/chatProgressbar/__snapshots__/ChatProgressBar.test.tsx.snap +++ /dev/null @@ -1,29 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ChatProgresBar render tests should render the progress bar with the correct phase and percentage 1`] = ` -
-
-
- - given-returned-user-friendly-phase-name - -
- 75% -
-
-
-`;