Test_1_create_user
clickAndWait link=Log in
type login_email admin@ica-atom.org
type login_password admin
clickAndWait //input[@value='log in']
clickAndWait link=Admin
verifyTextPresent list users
clickAndWait link=add new user
type username Hilary Jenkinson
type email hjenkinson@archives.ca
type sha1_password jenkinson
select role_id label=contributor
clickAndWait //input[@value='create']
verifyTextPresent Hilary Jenkinson profile
verifyTextPresent Hilary Jenkinson
verifyTextPresent hjenkinson@archives.ca
verifyElementPresent link=reset password
verifyTextPresent contributor
clickAndWait link=list all users
verifyElementPresent link=Hilary Jenkinson
verifyTextPresent hjenkinson@archives.ca
verifyTextPresent contributor
clickAndWait link=Hilary Jenkinson
select role_id label=administrator
click //input[@value='save']
verifyTextPresent contributor
verifyTextPresent administrator
clickAndWait link=add new
verifyTextPresent add new user
click link=cancel
clickAndWait link=Log out
clickAndWait link=Log in
type login_email hjenkinson@archives.ca
type login_password jenkinson
clickAndWait //input[@value='log in']
verifyElementPresent link=Add/edit
verifyElementPresent link=Import/export
verifyElementPresent link=Admin
clickAndWait link=Log out
clickAndWait link=Log in
type login_email admin@ica-atom.org
type login_password admin
clickAndWait //input[@value='log in']
verifyElementPresent link=Add/edit
verifyElementPresent link=Import/export
verifyElementPresent link=Admin