Skip to content

Commit

Permalink
Merge pull request #568 from samvera-labs/no-results-msg
Browse files Browse the repository at this point in the history
Update no results message in transcript search
  • Loading branch information
masaball authored Jul 15, 2024
2 parents 9c27980 + c6119a5 commit 5c7faea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const TranscriptSearch = ({
data-testid="transcript-search-count"
className="ramp--transcript_search_count"
>
no results found
no results found in this transcript
</span>
</div>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ describe('TranscriptSearch component', () => {
const props = getPropsWithResults();
render(<TranscriptSearch {...props} searchQuery="not-found" />);
const countEl = screen.getByTestId('transcript-search-count');
expect(countEl).toHaveTextContent('no results found');
expect(countEl).toHaveTextContent('no results found in this transcript');
});

test('prev and next buttons are not shown', async () => {
Expand Down

0 comments on commit 5c7faea

Please sign in to comment.