mirror of
https://github.com/strapi/strapi.git
synced 2025-08-04 06:49:16 +00:00
Fix tests
This commit is contained in:
parent
b9a503c053
commit
4a2cc232fe
@ -141,8 +141,7 @@ describe('ADMIN | Pages | AUDIT LOGS | ListView', () => {
|
||||
const pagination = await waitFor(() => container.querySelector('nav[aria-label="pagination"]'));
|
||||
|
||||
expect(pagination).toBeInTheDocument();
|
||||
expect(pagination.querySelectorAll('ul li')[1].querySelector('a')).toHaveTextContent('1');
|
||||
expect(pagination.querySelectorAll('ul li')[1].querySelector('a')).toHaveClass('active');
|
||||
expect(screen.getByText(/go to page 1/i).closest('a')).toHaveClass('active');
|
||||
});
|
||||
|
||||
it('paginates the results', async () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user