2024-08-02 19:59:16 +02:00
|
|
|
jest.setTimeout(30000);
|
|
|
|
|
2021-11-12 17:27:10 +01:00
|
|
|
describe('Listing', () => {
|
|
|
|
beforeAll(async () => {
|
2021-12-12 01:07:30 +01:00
|
|
|
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(
|
2023-12-19 11:45:17 +01:00
|
|
|
'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"]',
|
|
|
|
});
|
|
|
|
});
|
|
|
|
});
|