Test is failing when running cy.visit() command #14903
              
                Unanswered
              
          
                  
                    
                      Tacoholic
                    
                  
                
                  asked this question in
                Component Testing
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
On this particular test, after user logs in, we are trying to log out via route. However, I am getting the following error.
The arrow is pointing to the visit command. I know it's best practice to use a baseurl when logging on, but can you use a baseurl to logout via a route? I did upgrade to the most recent Cypress version 6.4.0, so not sure if that has anything to do with it. I know visit is not deprecated.
Beta Was this translation helpful? Give feedback.
All reactions