cse442-at-ub / project_s23-welovehertz

project_s23-welovehertz created by GitHub Classroom
0 stars 1 forks source link

Creating dynamic rating to allow users to rate complexes based on cleanliness, price, location, safety, interior, and communication. #96

Closed sskong0719 closed 1 year ago

sskong0719 commented 1 year ago

Task Tests

Test 1

  1. Go to Fargo Dorm
  2. Scroll down to the "Ratings" section
  3. Verify that the rating value is displayed for Cleanliness, Communication, Price, Location, Interior, and Safety.

Test 2

  1. Go to Fargo Dorm
  2. Scroll down to the "Ratings" section
  3. Verify that Progress bar is displayed for Cleanliness, Communication, Price, Location, Interior, and Safety based on the value of the ratings

Test 3

  1. Go to Login Page
  2. Fill out the form and login
  3. For email, enter testRating@buffalo.edu
  4. For password, enter 12345678
  5. Click Login button to Login
  6. Go to Fargo Dorm
  7. Scroll to the bottom of the page
  8. Click on Leave a Rating button under the "Comments" section
  9. Under Cleanliness, click on select rating and select 5
  10. Under Price, click on select rating and select 5
  11. Under Communication, click on select rating and select 5
  12. Under Location, click on select rating and select 5
  13. Under Interior, click on select rating and select 5
  14. Under Safety, click on select rating and select 5
  15. Under comment, fill out "Hello World"
  16. Click Submit
  17. Reload the page by pressing F5
  18. Scroll down to the ratings section and verify that each rating are updated.

Test 4

  1. Go to Login Page
  2. Fill out the form and login
  3. For email, enter testRating@buffalo.edu
  4. For password, enter 12345678
  5. Click Login button to Login
  6. Go to Fargo Dorm
  7. Scroll to the bottom of the page
  8. Click on Leave a Rating button under the "Comments" section
  9. Under Cleanliness, click on select rating and select 1
  10. Under Price, click on select rating and select 1
  11. Under Communication, click on select rating and select 1
  12. Under Location, click on select rating and select 1
  13. Under Interior, click on select rating and select 1
  14. Under Safety, click on select rating and select 1
  15. Under comment, fill out "Hello World"
  16. Click Submit
  17. Reload the page by pressing F5
  18. Scroll down to the ratings section and verify that each rating are lower than the previous rating because the new rating should overwrite previous rating on the same complex page.
ryanayam commented 1 year ago

make a dependency of a user story