Search⌘ K
AI Features

Testing a List Page

Explore testing a Next.js home page list using Cypress by validating meetup order and filtering past events. Understand key code techniques and learn to test scenarios with zero, one, or multiple list items for robust end-to-end testing.

Let’s get to the crux of this course. We are going to test the home page of our application. According to our user acceptance tests, the following features should be present on this page:

  • Meetups should be ordered by their date in ascending order.

  • Past meetups should not be shown.

The demo application of the home page

By default, the application doesn’t include any meetups in its database, so the only way to test these scenarios is to create them manually. We can navigate to the create page on the ...