Skip to content

Commit

Permalink
Deactivated the show account feature
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Sep 30, 2014
1 parent 58fcf27 commit 604ff0c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void waitForFieldsToLoad() {
}

public void waitForCalulationResult() {
waitFor(".calculated");
waitFor(".requiredPoints");
waitFor(250).milliseconds();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,11 @@ public void giveSarahSomePoints(FrequentFlyer frequentFlyer, int points) throws
restClient.updatePointsFor(frequentFlyer.getNumber(), points);
}

@When("Sarah views her account details")
public void viewAccountDetails() {
sarah.openAccountPage();
}

@Then("she should see an account balance of $expectedPoints points")
public void shouldSeePointBalanceOf(int expectedPoints) {
sarah.shouldSeeAccountBalanceOf(expectedPoints);
}
// @When("Sarah views her account details")
// public void viewAccountDetails() {
// }
//
// @Then("she should see an account balance of $expectedPoints points")
// public void shouldSeePointBalanceOf(int expectedPoints) {
// }
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public int calculatePointsNeededBetween(String departure,

@Step
public void shouldSeeAccountBalanceOf(int expectedPoints) {
assertThat(myAccountPage.getPointBalance()).isEqualTo(expectedPoints);
// assertThat(myAccountPage.getPointBalance()).isEqualTo(expectedPoints);
}


Expand Down

0 comments on commit 604ff0c

Please sign in to comment.