login configuration #1027
              
                Unanswered
              
          
                  
                    
                      ways2learning
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 1 comment 1 reply
-
| This test is an example of what you describe in where we use the  The  
 To login as another user, pass  | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            
  
    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 @amirrustam @kevinold @davidkpiano, I am not from a programming background and trying to understand the UI tests code of this application. But, one thing where I have been stuck up and trying to figure out was the configuration of the test for ‘cy.login(user.username)’ command. I have gone through the entire application code but, unable to understand how does the find command is always picking up the first user as ‘Katharina_Bernier’ from the seeded database and where it has been configured in such a way and how can we change it if we need to log in for any other user? I request you to please help me in understanding this. Your answering on this would help me a lot and be appreciated. Thank you.
Beta Was this translation helpful? Give feedback.
All reactions