2
0

users.test.js 381 B

123456789101112131415
  1. jest.setTimeout(30000);
  2. describe('Users', () => {
  3. beforeAll(async () => {
  4. await page.goto(`${TEST_ORIGIN}/admin/users/`);
  5. });
  6. it('axe', async () => {
  7. const toggle = await page.$('[aria-label="Select all"]');
  8. await toggle.click();
  9. await expect(page).toPassAxeTests({
  10. exclude: '.skiplink, .sidebar__collapse-toggle, #wagtail-sidebar',
  11. });
  12. });
  13. });