cse442-at-ub / project_s23-gofly

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

Sorting flights functionality #45

Closed tommyshelby3 closed 1 year ago

tommyshelby3 commented 1 year ago

Task Tests

Username: testAccountA Password: testAccountA!

Test 1

  1. log into the account using the above credentials.
  2. verify that there is a "Listings" option at the top navigation bar.
  3. click the "Listings" option and confirm that you are redirected to the display listings page where a list of airline options.
  4. verify that there is a "sort by" drop-down box on the top left side.
  5. upon clicking the "Sort by" dropdown box, confirm that the "Price low-high" and "Price high-low" options come up.
  6. select the "Price low-high" option.
  7. verify that the page refreshes and the flight options are sorted from low to high price (top to bottom).
  8. confirm that the "Price low-high" option remains selected in the "Sort by" dropdown box after the page refreshes.
  9. repeat steps 6-8 for the "Price high to low" option and ensure that the flight options are sorted from high to low price (top to bottom).