0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 19:20:56 +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.

21 lines
494 B
JavaScript
Raw Normal View History

jest.setTimeout(30000);
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"]',
});
});
});