2
0

listing.test.js 446 B

123456789101112131415
  1. describe('Listing', () => {
  2. beforeAll(async () => {
  3. await page.goto(`${TEST_ORIGIN}/admin/pages/2/`);
  4. });
  5. it('has the right heading', async () => {
  6. expect(await page.title()).toContain('Wagtail - Exploring Welcome to your new Wagtail site!');
  7. });
  8. it('axe', async () => {
  9. await expect(page).toPassAxeTests({
  10. exclude: '.skiplink, .sidebar__collapse-toggle, #wagtail-sidebar, a[href$="dummy-button"]'
  11. });
  12. });
  13. });