mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-28 12:58:48 +01:00
add testcase for deleting a user. Resolves #734
This commit is contained in:
parent
3ddabd20d1
commit
539b4f96a1
2 changed files with 8 additions and 1 deletions
7
test/selenium/users/delete_user.rsel
Normal file
7
test/selenium/users/delete_user.rsel
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue