Skip to content

Commit

Permalink
chore: id not data-test
Browse files Browse the repository at this point in the history
  • Loading branch information
jenniferarnesen committed Jan 23, 2024
1 parent c116196 commit 797d262
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/integration/orgUnitInfo.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describe('OrgUnitInfo', () => {
cy.wait(5000) // eslint-disable-line cypress/no-unnecessary-waiting
cy.get('canvas').should('be.visible')
cy.wait(5000) // eslint-disable-line cypress/no-unnecessary-waiting
cy.getByDataTest('dhis2-map-container')
cy.get('#dhis2-map-container')
.findByDataTest('dhis2-uicore-componentcover', EXTENDED_TIMEOUT)
.should('not.exist')
cy.get('.dhis2-map').click(300, 100) //Click somewhere on the map
Expand All @@ -19,7 +19,7 @@ describe('OrgUnitInfo', () => {
'Organisation unit profile'
)

// TODO - can't be sure it has been clicked on Bombali
// TODO - find a way to ensure that "Bombali" is the orgunit that was clicked on
// cy.getByDataTest('org-unit-info').find('h3').contains('Bombali')

cy.getByDataTest('org-unit-data')
Expand Down

0 comments on commit 797d262

Please sign in to comment.