diff --git a/lib/CustomFields/components/CustomFieldsForm/components/DeleteModal/tests/DeleteModal-test.js b/lib/CustomFields/components/CustomFieldsForm/components/DeleteModal/tests/DeleteModal-test.js index 2f0a6f0b8..cd81681b8 100644 --- a/lib/CustomFields/components/CustomFieldsForm/components/DeleteModal/tests/DeleteModal-test.js +++ b/lib/CustomFields/components/CustomFieldsForm/components/DeleteModal/tests/DeleteModal-test.js @@ -13,7 +13,7 @@ import { } from '../../../../../../../tests/helpers'; import fetchUsageStatistics from '../../../tests/helpers/fetchUsageStatistics'; -describe('DeleteModal', () => { +describe.only('DeleteModal', () => { setupApplication(); const deleteModal = new DeleteModalInteractor(); @@ -49,15 +49,20 @@ describe('DeleteModal', () => { }); describe('when fields stats have loaded', () => { - let a11yResults = null; - beforeEach(async () => { await deleteModal.whenLoaded(); - a11yResults = await axe.run(); }); - it('should not have any a11y issues', () => { - expect(a11yResults.violations).to.be.empty; + describe('when checking for a11y issues', () => { + let a11yResults = null; + + beforeEach(async () => { + a11yResults = await axe.run(); + }); + + it('should not have any a11y issues', () => { + expect(a11yResults.violations).to.be.empty; + }); }); it('should not show loading icon', () => {