Test your understanding
What is the main purpose of using cy.request in this test?
ATo click the login button on the page
BTo send a direct HTTP request to the login API without using the UI
CTo fill and submit the login form fields
DTo wait for the dashboard page to load