Testing the Detail Page

Learn to test a detail page.

Let’s move on to testing the meetup detail page of our application. According to our user acceptance tests, the following meetup data should be present on the detail page:

  • Name

  • Description (optional)

  • Location

  • Start time

The meetup detail page

The individual meetup detail pages are accessible on a URL path that matches the meetup’s slug. For example, a meetup with a typescript-meetup slug is found on the /typescript-meetup path. By default, the application doesn’t include any meetups in its database. The only way to test these scenarios is to create them manually on the create page found on the /create path that we can navigate by clicking the “Create a new meetup” button. Let’s run the application below and test if we can create a new meetup and find its unique detail page.

Get hands-on with 1200+ tech skills courses.