Update test messages

This commit is contained in:
Mark Kaylor 2022-10-13 11:43:27 +02:00
parent 781c62c084
commit 22bd8657dd

View File

@ -284,7 +284,7 @@ describe('Marketplace page', () => {
expect(sortMenu).toBeVisible();
});
it('Sort select shows the correct options', () => {
it('shows the correct options on sort select', () => {
render(App);
const sortButton = screen.getByRole('button', { name: /Sort by/i });
fireEvent.mouseDown(sortButton);
@ -296,7 +296,7 @@ describe('Marketplace page', () => {
expect(newestOption).toBeVisible();
});
it('Click on sort by newest changes the url', () => {
it('sort by newest changes the url on click', () => {
render(App);
const sortButton = screen.getByRole('button', { name: /Sort by/i });
fireEvent.mouseDown(sortButton);