mohanadarafe / GuideMe

SOEN 390 | Winter 2020 | Mini Capstone
7 stars 5 forks source link

Automated End to End Tests (#176) #177

Closed Shirwarsame closed 4 years ago

Shirwarsame commented 4 years ago

The following end2end tests are now able to run with up to date master code.

The 4 test scenarios are as follows

TEST 1 The following source code represents the following automated test scenario

  1. Load the app
    1. Display main screen
    2. Verify the map is present
    3. Click the toggle button to switch the map to Loyola
    4. Verifies the map is present
    5. Returns back to SGW campus

TEST 2 The following source code represents the following automated test scenario

  1. Load the app
  2. Display main screen
  3. Click on Hall Building from the Map
  4. Checks if the bottom menu changed
  5. Click the GET INSIDE button
  6. Change floors
    1. Scroll across the floor map
    2. Click EXIT BUILDING button

TEST 3 The following source code represents the following automated test scenario

  1. Load the app
    1. Display main screen
  2. Click on Hall Building from the Map
  3. Checks if the bottom menu changed
  4. Click on the bottom menu
  5. Verify the moreInfoPage is present
  6. Scroll through the different departments and faculties
  7. Tap the arrow down key

TEST 4 The following source code represents the following automated test scenario

  1. Load the app
  2. Display main screen
  3. Click on the searchbar
  4. Type the query: "hall building"
  5. Select the corresponding item from the dropdown list
  6. Click Get DIRECTIONS button
mohanadarafe commented 4 years ago

We will not merge this with master because we need the system automated tests to work one one branch. So, instead of merging into master, all E2E tests will be done on your branch. Your merge does not work, try opening the MoreDetails page after tapping on a building.

bkenza commented 4 years ago

@Shirwarsame ^ what @mohanadarafe said! Tested your branch locally and it does not work. Please take a look at the conflicting files with master.