migrate selenium for users to cucumber

This commit is contained in:
Reinier Balt 2010-05-03 21:26:48 +02:00
parent 06ac3067d3
commit 0d7980e87b
8 changed files with 74 additions and 30 deletions

View file

@ -1,7 +0,0 @@
setup :fixtures => :all
login :as => 'admin'
open '/users'
assert_text_present "John Deere"
click "//tr[@id='user-3']//img"
assert_confirmation "Warning: this will delete user 'john', all their actions, contexts, project and notes. Are you sure that you want to continue?"
wait_for_text_not_present "John Deere"