diff --git a/cypress/e2e/EnrollmentAddEventPage/EnrollmentAddEventPageForm/EnrollmentAddEventPageForm.js b/cypress/e2e/EnrollmentAddEventPage/EnrollmentAddEventPageForm/EnrollmentAddEventPageForm.js index f51e5f71bb..f5369a15cf 100644 --- a/cypress/e2e/EnrollmentAddEventPage/EnrollmentAddEventPageForm/EnrollmentAddEventPageForm.js +++ b/cypress/e2e/EnrollmentAddEventPage/EnrollmentAddEventPageForm/EnrollmentAddEventPageForm.js @@ -119,11 +119,6 @@ When(/^you click the button to (.*) without post request/, (buttonText) => { When('the enrollment overview is finished loading', () => { cy.get('[data-test="dhis2-uicore-circularloader"]').should('not.exist'); - cy.get('[data-test="dhis2-uicore-datatable"]') - .within(() => { - cy.get('[data-test="dhis2-uicore-datatablerow"]') - .should('exist'); - }); }); When('the form is finished loading', () => {