Skip to content

Commit

Permalink
debug: update cy.visit() to use baseUrl directly in goToStartPage
Browse files Browse the repository at this point in the history
  • Loading branch information
adeldhis2 committed Dec 3, 2024
1 parent 48f0b4c commit 20903c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/helpers/startScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const logPageState = () => {
}

export const goToStartPage = (skipEval) => {
cy.visit('/', EXTENDED_TIMEOUT).then(() => {
cy.visit('', EXTENDED_TIMEOUT).then(() => {
cy.log(`Visiting the base URL: ${Cypress.env('dhis2BaseUrl')}`)
cy.task('log', `Visiting the base URL: ${Cypress.env('dhis2BaseUrl')}`)
console.log(`Visiting the base URL: ${Cypress.env('dhis2BaseUrl')}`)
Expand Down

0 comments on commit 20903c1

Please sign in to comment.