Skip to content
This repository has been archived by the owner on Dec 2, 2023. It is now read-only.

Testing

Joseph Roque edited this page Jul 14, 2016 · 1 revision

Testing

This document will provide some information on testing the application while the test suites are still being developed. In particular, it will describe some of the manual testing procedures that should be remembered and considered when testing, or writing test cases for UI components.

Manual Testing

How to test NavBar.js

  • Clear filter

    1. Open application
    2. Open Find tab
    3. Click search field at top of screen
    4. Type search 'Ab'
    5. Note that 'search all' button appears
    6. Note that buildings are filtered to only TBT
    7. Press 'X' in search bar
    8. Note that 'X' disappears, 'search all' disappears, full building list returns
  • Search all, then back

    1. Open application
    2. Open Find tab
    3. Click search field at top of screen
    4. Type search 'Ab'
    5. Note that 'search all' button appears
    6. Press 'search all' button
    7. Note results change. Results from the entire app should be shown in a new screen
    8. Note the back button appears
    9. Press back button
    10. Note that search input disappears, search results disappear, all buildings returns
  • Search all, then dismiss, then back

    1. Open application
    2. Open Find tab
    3. Click search field at top of screen
    4. Type search 'Ab'
    5. Note that 'search all' button appears
    6. Press 'search all' button
    7. Note results change. Results from the entire app should be shown in a new screen
    8. Note that 'X' button appears
    9. Press 'X' button
    10. Note that search input, search results disappear, but screen does not change
    11. Press back button
    12. Note that back button disappears, search remains empty, all buildings return
  • Filter, then change tabs

    1. Open application
    2. Open Find tab
    3. Click search field at top of screen
    4. Type search 'Ab'
    5. Note that 'search all' button appears
    6. Note that buildings are filtered to only TBT
    7. Change to Discover tab
    8. Note that 'X' disappears, 'search all' disappears, input is cleared, Discover tab shows
  • Search all, then change tabs

    1. Open application
    2. Open Find tab
    3. Click search field at top of screen
    4. Type search 'Ab'
    5. Note that 'search all' button appears
    6. Press 'search all' button
    7. Note results change. Results from the entire app should be shown in a new screen
    8. Change to Discover tab
    9. Note that 'X' disappears, 'search all' disappears, input is cleared, Discover tab shows
  • Always search all, then back

    1. Open application
    2. Open Settings tab
    3. Enable 'Always "Search All"'
    4. Open Find tab
    5. Click search field at top of screen
    6. Type search 'Ab'
    7. Results from the entire app should be shown in a new screen
    8. Note the back button appears
    9. Press back button
    10. Note that search input disappears, search results disappear, all buildings returns
  • Always search all, then dismiss, then back

    1. Open application
    2. Open Settings tab
    3. Enable 'Always "Search All"'
    4. Open Find tab
    5. Click search field at top of screen
    6. Type search 'Ab'
    7. Results from the entire app should be shown in a new screen
    8. Note that 'X' button appears
    9. Press 'X' button
    10. Note that search input, search results disappear, but screen does not change
    11. Press back button
    12. Note that back button disappears, search remains empty, all buildings return
  • Always search all, then change tabs

    1. Open application
    2. Open Settings tab
    3. Enable 'Always "Search All"'
    4. Open Find tab
    5. Click search field at top of screen
    6. Type search 'Ab'
    7. Results from the entire app should be shown in a new screen
    8. Change to Discover tab
    9. Note that 'X' disappears, 'search all' disappears, input is cleared, Discover tab shows
Clone this wiki locally