felixlapierre / campus-guide

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

Acceptance Test for #176 (extension to #18): As a user, I want to see path steps when getting directions #244

Open sharon-ho opened 4 years ago

sharon-ho commented 4 years ago

This acceptance test is to fulfill the request asked in the comments during the sprint 3 acceptance testing: https://github.com/felixlapierre/campus-guide/issues/136

User Story Covered:

176 (extension to #18) As a user, I want to see path steps when getting directions

Acceptance Criteria: Given that I am on the directions page, And that I click on the “Steps and More” button, Then I should see a “Steps” screen with a list of the steps I can take, And I should see a “Show Map” button to return to viewing the map, And I should see a “Start” button to view each step one at a time as I follow directions.

Given that I have clicked the “Start” button to begin directions, Then I should see the map with the current step displayed at the top, And I should see arrow buttons in the bottom right to navigate to the next or previous step.

Given that I am on viewing the steps in my directions, And that I click the next step button in the bottom right, Then the current step should switch to the next step in my directions.

Given that I am viewing the steps in my directions, And that I am not at the first step of my directions, And that I click the previous step button in the bottom right, Then the current step should switch to the previous step in my directions.

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 any place for the destination location (ex. Henry F. Hall Building)
  5. Select "Search for location" in order to enter your start location
  6. Type any place for the start location (ex. JMSB Building)
  7. In the directions page, tap on the "Steps and more" button to view the list of steps
  8. Tap on the "Show map" button to go back to the directions page with the map view
  9. Tap on "Start" to begin step-by-step navigation
  10. 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

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

Note:

jodavimehran commented 4 years ago

Accepted