0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
wagtail/client/tests/integration/editbird.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
475 B
JavaScript

describe.skip('Editbird', () => {
beforeAll(async () => {
await page.goto('http://localhost:8000/');
});
it('axe', async () => {
const trigger = await page.$('[aria-controls="wagtail-userbar-items"]');
await Promise.all([
trigger.click(),
page.waitForSelector('[aria-labelledby="wagtail-userbar-trigger"]', {
visible: true,
}),
]);
await expect(page).toPassAxeTests({
exclude: '[role="menuitem"]',
});
});
});