migrate deleting from selenium to cucumber

please note there is still a bug in context_steps for editing the name of a context from the context page. But I want to get these change in for a bug report
This commit is contained in:
Reinier Balt 2010-02-09 23:26:38 +01:00
parent d945d974a7
commit 25204f5efa
4 changed files with 55 additions and 10 deletions

View file

@ -1,6 +0,0 @@
setup :fixtures => :all
login :as => 'admin'
open "/contexts"
click "css=#context_3 .buttons img.delete_item"
assert_confirmation "Are you sure that you want to delete the context 'email'?"
wait_for_element_not_present "context_3"