wagtail/client/tests/integration/groups.test.js

16 wiersze
401 B
JavaScript

describe('Groups', () => {
beforeAll(async () => {
await page.goto(`${TEST_ORIGIN}/admin/groups/2/`);
}, 10000);
it('has the right heading', async () => {
expect(await page.title()).toContain('Editing Editors - Wagtail');
});
it('axe', async () => {
await expect(page).toPassAxeTests({
exclude: '.skiplink, .sidebar__collapse-toggle, #wagtail-sidebar',
});
});
});