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
19 lines
468 B
JavaScript
19 lines
468 B
JavaScript
describe('Listing', () => {
|
|
beforeAll(async () => {
|
|
await page.goto(`${TEST_ORIGIN}/admin/pages/2/`);
|
|
});
|
|
|
|
it('has the right heading', async () => {
|
|
expect(await page.title()).toContain(
|
|
'Exploring Welcome to your new Wagtail site! - Wagtail',
|
|
);
|
|
});
|
|
|
|
it('axe', async () => {
|
|
await expect(page).toPassAxeTests({
|
|
exclude:
|
|
'.skiplink, .sidebar__collapse-toggle, #wagtail-sidebar, a[href$="dummy-button"]',
|
|
});
|
|
});
|
|
});
|