0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
wagtail/client/tests/integration/listing.test.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
468 B
JavaScript
Raw Normal View History

2021-11-12 17:27:10 +01:00
describe('Listing', () => {
beforeAll(async () => {
await page.goto(`${TEST_ORIGIN}/admin/pages/2/`);
2021-11-12 17:27:10 +01:00
});
it('has the right heading', async () => {
expect(await page.title()).toContain(
'Exploring Welcome to your new Wagtail site! - Wagtail',
2021-11-12 17:27:10 +01:00
);
});
it('axe', async () => {
await expect(page).toPassAxeTests({
exclude:
'.skiplink, .sidebar__collapse-toggle, #wagtail-sidebar, a[href$="dummy-button"]',
});
});
});