Search⌘ K
AI Features

Challenge: Writing an E2E test

Explore how to write end-to-end tests for an Angular user dashboard with Cypress. This lesson helps you practice creating tests that handle valid and invalid scenarios, understand Cypress feedback on test failures, and improve your E2E testing skills by troubleshooting common errors.

Problem statement

To fully appreciate what Cypress has to offer, try updating the E2E test should navigate to the dashboard with valid credentials and diet preferences so that it doesn’t work causing the test to fail. Run your tests and click through the left-hand sidebar to see ...