To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorFlights to London
In order to test the Flights to London page
As a user
I need to enter search parameters into the form
- Scenarios
-
- Submit a Flights to London search
-
- Given
- I am on "/flights/to-london"
- And
- I fill in "edit-startcitystr" with "Sydney"
- And
- I select "SYD" from autocomplete box
- Then
- I fill in "edit-endcitystr" with "London"
- And
- I select "LON" from autocomplete box
- And
- I fill in "edit-startcitystr" with "Sydney"
- And
- I select "SYD" from autocomplete box
- Then
- I fill in "edit-endcitystr" with "London"
- And
- I select "LON" from autocomplete box
- Then
- I click element with css ".ui-datepicker-today"
- Then
- I click element with css ".ui-datepicker-today"
- Then
- I click element with css "#edit-passengers > legend"
- And
- I click element with css ".form-item-numAdults > div > input.button.plus"
- And
- I click element with css ".form-item-numChildren > div > input.button.plus"
- And
- I click element with css ".form-item-numInfants > div > input.button.plus"
- Then
- I click element with css ".fc-soar .form-submit"
- Then
- I wait for the page to load
- Check that if there is only one result in start city it is automatically selected after a given time
-
- Given
- I am on "/flights/to-london"
- And
- I fill in "edit-startcitystr" with "Sydney, New"
- And
- I wait for a period of time
Last published over 7 years ago by BradForrest.