Skip to content

Commit

Permalink
Merge branch 'nested-routes-for-catalogue-#1218' into improve-route-f…
Browse files Browse the repository at this point in the history
…or-home-page-#1233
  • Loading branch information
joshuadkitenge committed Jan 9, 2025
2 parents 754af1e + f1a7689 commit 91ceedb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1498,4 +1498,4 @@ describe('Catalogue Category Dialog', () => {
expect(onClose).toHaveBeenCalled();
});
});
}, 10000);
}, 15000);
7 changes: 4 additions & 3 deletions src/catalogue/items/catalogueItemsPage.component.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ describe('CatalogueItemsPage', () => {
it('renders a catalogue items page correctly', async () => {
const view = createView('/catalogue/4/items', 'catalogueItems');

await waitFor(() =>
expect(screen.queryByRole('progressbar')).not.toBeInTheDocument()
await waitFor(
() => expect(screen.queryByRole('progressbar')).not.toBeInTheDocument(),
{ timeout: 10000 }
);

await waitFor(() => {
Expand All @@ -26,5 +27,5 @@ describe('CatalogueItemsPage', () => {
});

expect(view.asFragment()).toMatchSnapshot();
});
}, 15000);
});

0 comments on commit 91ceedb

Please sign in to comment.