Added a set of Selenium helper classes and methods, to provide automatic login capabilities, to speed up selenium tests.

git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@482 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
lukemelia 2007-03-23 06:08:36 +00:00
parent 5a878b3e84
commit cd25d7e278
26 changed files with 62 additions and 39 deletions

View file

@ -1,5 +1,5 @@
setup :fixtures => :all
include_partial 'login/login', :username => 'admin', :password => 'abracadabra'
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'?"