2024-08-02 19:59:16 +02:00
|
|
|
jest.setTimeout(30000);
|
|
|
|
|
2021-11-12 17:27:10 +01:00
|
|
|
describe('Groups', () => {
|
|
|
|
beforeAll(async () => {
|
2021-12-12 01:07:30 +01:00
|
|
|
await page.goto(`${TEST_ORIGIN}/admin/groups/2/`);
|
2024-08-02 19:59:16 +02:00
|
|
|
});
|
2021-11-12 17:27:10 +01:00
|
|
|
|
|
|
|
it('has the right heading', async () => {
|
2023-12-19 11:45:17 +01:00
|
|
|
expect(await page.title()).toContain('Editing: Editors - Wagtail');
|
2021-11-12 17:27:10 +01:00
|
|
|
});
|
|
|
|
|
|
|
|
it('axe', async () => {
|
|
|
|
await expect(page).toPassAxeTests({
|
2022-02-04 12:57:55 +01:00
|
|
|
exclude: '.skiplink, .sidebar__collapse-toggle, #wagtail-sidebar',
|
2021-11-12 17:27:10 +01:00
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|