Challenge: Test User Login

Write a test that will check if the user logged in successfully.

Problem statement

Write a Login flow test where an already registered user with Username=username and Password=password visits the login page and tries to login with registered credentials. The server should respond to the login request with a 200 status code. Then call cy.log with the string Login successful.

Expected output

Get hands-on with 1200+ tech skills courses.