here is my test:
describe('settings page test', () =>{
it('tests navigation to settings page from login', () =>{
console.log(Cypress.config().baseUrl)
cy.visit(Cypress.config().baseurl)
the console.log(Cypress.config().baseUrl)
sure enough is containing the value my baseUrl is set as.
{
"baseUrl": "https://superniftyurltho.com",
"env": {
}
}
and here is the error
cy.visit() must be called with a url
or an options object containing a url as its 1st argumentLearn more
anyone know what might be going on?
cy.visit(Cypress.config().baseurl)
should becy.visit(Cypress.config().baseUrl)
– Chirrupy