Skip to content

Commit

Permalink
Fine-tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Sep 29, 2014
1 parent c4e14ff commit 50ea0cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
@DefaultUrl("http://localhost:9001/#/home")
public class HomePage extends PageObject {
public List<Airport> getDisplayedAirports() {
waitFor(".airport");
return findAll(".airport")
.stream()
.map(DisplayedAirport::fromWebElement)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,8 @@ public int getPointBalance() {

public void waitForDestionionList() {
waitFor(".possible-destination");
waitFor(".serviced-airport");
waitFor("#departure option");
waitFor("#destination option");
}
}

0 comments on commit 50ea0cf

Please sign in to comment.