mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
a0f038af14
Ensure the title of the Web page first identifies the topic of the page, then shows the group name followed by the name of the parent organisation. * fixes #9054 * https://www.w3.org/WAI/WCAG21/Techniques/general/G88 * https://www.w3.org/WAI/WCAG21/Understanding/page-titled.html
16 lines
401 B
JavaScript
16 lines
401 B
JavaScript
describe('Groups', () => {
|
|
beforeAll(async () => {
|
|
await page.goto(`${TEST_ORIGIN}/admin/groups/2/`);
|
|
}, 10000);
|
|
|
|
it('has the right heading', async () => {
|
|
expect(await page.title()).toContain('Editing Editors - Wagtail');
|
|
});
|
|
|
|
it('axe', async () => {
|
|
await expect(page).toPassAxeTests({
|
|
exclude: '.skiplink, .sidebar__collapse-toggle, #wagtail-sidebar',
|
|
});
|
|
});
|
|
});
|