0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 13:10:14 +01:00
wagtail/client/tests/integration/users.test.js
2024-09-06 11:46:43 +01:00

16 lines
381 B
JavaScript

jest.setTimeout(30000);
describe('Users', () => {
beforeAll(async () => {
await page.goto(`${TEST_ORIGIN}/admin/users/`);
});
it('axe', async () => {
const toggle = await page.$('[aria-label="Select all"]');
await toggle.click();
await expect(page).toPassAxeTests({
exclude: '.skiplink, .sidebar__collapse-toggle, #wagtail-sidebar',
});
});
});