felixlapierre / campus-guide

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

Acceptance Test for #20: As a user, I want to get directions between two rooms in a building #240

Open sharon-ho opened 4 years ago

sharon-ho commented 4 years ago

User Story Covered:

20 As a user, I want to get directions between two rooms in a building

Acceptance Criteria: Given that I am on the directions page, And that I have chosen some room A in building A as my end location, And that I have chosen some room B in building A as my start location, Then the directions should show a path on the indoor map to reach room A from room B.

Given that room A and room B are on different floors, Then the indoor directions should lead me to stairs, elevators, or escalators to get to the necessary floor.

Given that room A and room B are on different floors, Then pressing on the floor up or down buttons should display the directions needed on the correct floors.

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 "LB-2" and tap on any of the suggestions (ex. Consultation Room LB-201.00)
  5. Select "Search for location" in order to enter your start location
  6. Type "LB-3" and tap any of the suggestions (ex. Haiti Presentation Room LB-311.00)
  7. In the directions page will now zoom in on the indoor map with the markers for start location (blue map marker) and destination (red map marker)
  8. Toggle between the floors that involve the path necessary to go from the start to destination location
  9. Any floor that does not involve the path to go from the start to destination location will have no path displayed

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

Note:

jodavimehran commented 4 years ago

Accepted