wagtail/client/tests/integration/users.test.js

14 wiersze
356 B
JavaScript

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',
});
});
});