UI Testing:
2 happy paths:
1.
Sign up with a random email and password
Check that dashboard is loaded
Add a new quiz
Click on ‘Edit’ and change quiz name
Verify on dashboard that quiz name is updated
Start the quiz game and verify the right text is displayed: “New session has been started”
Stop the quiz game and verify the right text is displayed: “Game has been stopped“
Logout and sign in again
2.
Sign in with the user from the text above
Check that dashboard is loaded
Click on ‘Edit’ to add question to quiz
Add points, time limit and question type to question
Go back to dashboard and navigate back to question page to ensure updated question details is pre-populated on page
Delete question from edit game page
Component testing: