0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
wagtail/client/tests/integration/listing.test.js
Thibaud Colas af942a27e4
Reformat codebase with Prettier (#7912)
- Automated reformatting
- Manually change code where Prettier reformatting causes issues
- Revert "Disable Prettier formatting in CI for now"
2022-02-04 11:57:55 +00:00

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(
'Wagtail - Exploring Welcome to your new Wagtail site!',
);
});
it('axe', async () => {
await expect(page).toPassAxeTests({
exclude:
'.skiplink, .sidebar__collapse-toggle, #wagtail-sidebar, a[href$="dummy-button"]',
});
});
});