Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.69 KB

AcceptanceTest.md

File metadata and controls

28 lines (23 loc) · 1.69 KB

Acceptance test:

To Open the flight app

  1. Install the flight android app on your device
  2. Open the flight app on your device

To search the flight app.

  1. Click on the "Flying From" edit text field on the form to enter your departure city
  2. Select your departure city for the pop up dialog
  3. Click on the "Flying To" edit text field on the form to enter your arrival city
  4. Select your arrival city from the pop up dialog
  5. Click on the "Dates" field on the form to enter your travel dates
  6. Select your travel dates from the date picker pop up
  7. Enter the number of adults your travelling with
  8. Click on the "SEARCH FLIGHTS" button and a list of flights will be displayed if steps 3 to 9 above have been done correctly. If the steps from 3 to 9 are not done correctly you will get an error message and you have to repeat

To create a reservation

  1. Upon clicking on search flights a list of flights shows up.
  2. Click on the "Reserve" button on the list of flights shown on the search results page.
  3. A reservation page opens up with the flight information and total cost accompanied with a form to fill.
  4. Enter your name and email and click on the save reservation button.
  5. A dialog pops up with the reservation confirmation, click on OK to be taken back to main activity.

To view reservation

  1. On the main activity click on "view reservations" button
  2. Enter the email you used to create a reservation and you should be able to view all your reservations.

Link to our code simulation in Android studio here.