2
0

editbird.test.js 475 B

123456789101112131415161718
  1. describe.skip('Editbird', () => {
  2. beforeAll(async () => {
  3. await page.goto('http://localhost:8000/');
  4. });
  5. it('axe', async () => {
  6. const trigger = await page.$('[aria-controls="wagtail-userbar-items"]');
  7. await Promise.all([
  8. trigger.click(),
  9. page.waitForSelector('[aria-labelledby="wagtail-userbar-trigger"]', {
  10. visible: true,
  11. }),
  12. ]);
  13. await expect(page).toPassAxeTests({
  14. exclude: '[role="menuitem"]',
  15. });
  16. });
  17. });