mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2024-11-22 14:23:57 +00:00
BETTERZON-21: Added "edit price alarm" test case
This commit is contained in:
parent
e79d0f7188
commit
73d40a0eed
|
@ -52,4 +52,16 @@ public class PriceAlarm {
|
||||||
@Then("^the price alarm should be removed from the database$")
|
@Then("^the price alarm should be removed from the database$")
|
||||||
public void the_price_alarm_should_be_removed_from_the_database() throws Exception {
|
public void the_price_alarm_should_be_removed_from_the_database() throws Exception {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Then("^a popup should open where the user can edit the alarm$")
|
||||||
|
public void a_popup_should_open_where_the_user_can_edit_the_alarm() throws Exception {
|
||||||
|
}
|
||||||
|
|
||||||
|
@When("^the user clicks on the \"([^\"]*)\" button$")
|
||||||
|
public void the_user_clicks_on_the_button(String arg1) throws Exception {
|
||||||
|
}
|
||||||
|
|
||||||
|
@Then("^the price alarm should be updated in the database$")
|
||||||
|
public void the_price_alarm_should_be_updated_in_the_database() throws Exception {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,3 +18,11 @@ Feature: Price Alarms
|
||||||
Then a popup should open asking the user to confirm the removal
|
Then a popup should open asking the user to confirm the removal
|
||||||
When the user confirms the removal of the price alarm
|
When the user confirms the removal of the price alarm
|
||||||
Then the price alarm should be removed from the database
|
Then the price alarm should be removed from the database
|
||||||
|
|
||||||
|
Scenario: Edit a price alarm
|
||||||
|
Given the user is on the price alarm list page
|
||||||
|
And the user is logged in
|
||||||
|
When the user clicks on the "edit" button next to a price alarm
|
||||||
|
Then a popup should open where the user can edit the alarm
|
||||||
|
When the user clicks on the "save changes" button
|
||||||
|
Then the price alarm should be updated in the database
|
||||||
|
|
Loading…
Reference in New Issue
Block a user