mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-28 10:04:07 +01:00
consume confirmation dialog when deleting note
This commit is contained in:
parent
8f349d3b6b
commit
226d902127
3 changed files with 8 additions and 10 deletions
|
|
@ -45,6 +45,7 @@ end
|
|||
|
||||
When /^I delete the first note$/ do
|
||||
click_link "delete note"
|
||||
selenium.get_confirmation.should == "Are you sure that you want to delete the note '1'?"
|
||||
end
|
||||
|
||||
Then /^the first note should disappear$/ do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue