2
0

groups.test.js 420 B

1234567891011121314151617
  1. jest.setTimeout(30000);
  2. describe('Groups', () => {
  3. beforeAll(async () => {
  4. await page.goto(`${TEST_ORIGIN}/admin/groups/2/`);
  5. });
  6. it('has the right heading', async () => {
  7. expect(await page.title()).toContain('Editing: Editors - Wagtail');
  8. });
  9. it('axe', async () => {
  10. await expect(page).toPassAxeTests({
  11. exclude: '.skiplink, .sidebar__collapse-toggle, #wagtail-sidebar',
  12. });
  13. });
  14. });