Skip to content

Commit

Permalink
chore: access DHIS2 Core and see if that render correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikThePendric committed Oct 9, 2023
1 parent 6463ef4 commit 2b8059e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cypress/helpers/startScreen.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
import { EXTENDED_TIMEOUT } from '../support/util.js'

const checkDhis2CoreInstance = () => {
cy.visit('http://localhost:8080')
cy.contains('DHIS 2 Demo - Sierra Leone - Dashboard').should('be.visible')
}

export const goToStartPage = (skipEval) => {
checkDhis2CoreInstance()
cy.intercept('GET', '**/system/info**', (req) => {
expect(req.url).to.equal('http://localhost:8080/api/system/info')
}).as('systemInfoRequest')
Expand Down

0 comments on commit 2b8059e

Please sign in to comment.