felixlapierre / campus-guide

Concordia Campus Guide application - SOEN390
3 stars 2 forks source link

Acceptance Test for #9: As a user, I want directions to travel between campuses by using Concordia’s shuttle bus #237

Open sharon-ho opened 4 years ago

sharon-ho commented 4 years ago

User Story Covered:

9 As a user, I want directions to travel between campuses by using Concordia’s shuttle bus

Acceptance Criteria: Given that I am on the directions page, And that I have selected a location on the SGW campus as either start OR end location, And that I have selected a location on the Loyola campus as the other location (either start OR end, such that one location will be start while the other will be end), And that I click on the Shuttle Bus button from the travel mode options, Then the map should display a shuttle bus icon over the shuttle bus stops on both campuses, as well as the path the shuttle bus takes from one campus to the other, and any additional directions.

Given that I have chosen the shuttle bus option on the directions page, And that I have clicked the “Steps and More” button, Then the steps should show that I must ride the shuttle bus to the other campus.

Steps for Acceptance Test:

  1. Open the application
  2. Tap on the "Directions" button found in the bottom left of the bottom navigation bar
  3. Select "Search for location" in order to enter your destination location
  4. Type "SGW Campus" and select the first search result
  5. Select "Search for location" in order to enter your start location
  6. Type "Loyola Campus" and select the first search result
  7. In the directions page, tap on the right-most travel option in the travel options bar underneath the start and destination location located on the top of the screen; this is the travel mode option for the shuttle bus
  8. You will now see a path that displays from Loyola campus to the SGW campus
  9. Tap on "Steps and more", the steps should include riding the shuttle bus to the other campus
  10. Tap on the "Start" button at the bottom to start step-by-step navigation
  11. Toggle through the steps by tapping on the back and forward arrow buttons at the bottom right of the screen to go through each step of the navigation
  12. Go back to the previous page by tapping the backspace icon at the top-left of the screen
  13. Tap on "Show map" at the bottom on the right of the "Start" button to go back to the direction page's map view

Please refer to this video for a demonstration of this acceptance criteria

Note:

jodavimehran commented 4 years ago

Accepted