GUI Verification Test
User Story
- As a: developer,
- I want: a GUI test to check if all gui elements are working properly
- so that: future changes do not break the gui.
Functional Requirements
- On the landing page verify the following:
- Make sure each book's link is pointed to
/book/NUM/TITLE
-
The book of the day has book details in it -
The Recommendation section is showing at minimum 2 books -
The Top 15 list has exactly 15 books, and the ratings are all 5.0
- Make sure each book's link is pointed to
- Go to this link:
http://127.0.0.1:3000/book/351/Percy%20Jackson%20and%20the%20Olympians%20The%20Battle%20of%20the%20Labyrinth:%20The%20Graphic%20Novel
-
Make sure the page loads -
Check that the cover photo is an actual image and not book_cover_placeholder.png
-
Ensure that there is a title, author, synopsis text
-
- Go to this link:
http://127.0.0.1:3000/account/signin
-
Ensure there is an email address field (name="email", required="true", type="text") -
Ensure there is a password field (name="password", required="true", type="password") -
Ensure there is a login button (id="login", type="submit")
-
- Go to this link:
http://127.0.0.1:3000/account/signup
-
Ensure there is a full name field (name="fullname", required="true", type="text") -
Ensure there is an email address field (name="email", required="true", type="text") -
Ensure there is a password field (name="password", required="true", type="password") -
Ensure there is a confirmation password field (name="confirmation_password", required="true", type="password") -
Ensure there is a sign up button (id="signup", type="submit")
-
Description
This test will verify that our GUI does not contain errors that would prevent users from viewing the landing page, book details, or from interacting with the sign in and sign up system.