cypress Cypress.config.baseUrl is set correctly however getting error from cy.visit()

here is my test:

describe('settings page test', () =>{
    it('tests navigation to settings page from login', () =>{

the console.log(Cypress.config().baseUrl) sure enough is containing the value my baseUrl is set as.

  "baseUrl": "",
  "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?

Read more here:

Content Attribution

This content was originally published by 48326tho at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: