Skip to content

Commit

Permalink
Made test more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Sep 29, 2014
1 parent 7b17601 commit c4e14ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@ public int getCalculatedPoints() {
public int getPointBalance() {
return Integer.valueOf($(".status-points-balance").getText());
}

public void waitForDestionionList() {
waitFor(".possible-destination");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class MyAccountUISteps {
@Step
public void openAccountPage() {
myAccountPage.open();
myAccountPage.waitFor(500).milliseconds();
myAccountPage.waitForDestionionList();
}

@Step
Expand Down

0 comments on commit c4e14ff

Please sign in to comment.