Ui Testing
In this lesson, we'll test the get ticket and QR code functionality through the user interface, building on our previous implementation of these endpoints.
Testing the Get Ticket Functionality
Before we begin testing, we need to ensure our environment is properly set up:
- Run
cleanandcompilecommands to build the application - Start the backend application
- Log in as an attendee user through the UI
Once logged in, navigate to the dashboard where you'll see your purchased tickets.
Each ticket entry displays basic information and clicking on a ticket reveals the full details including:
- Event name
- Venue
- Start and end times
- Ticket ID
- QR code representation
Summary
- Tested the get ticket functionality using the user interface