EditUser
setSpeed 3000
setTimeout 45000
open index.php/users/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyElementPresent UsersSearchForm_anyMixedAttributes Mass Delete
type UsersSearchForm_anyMixedAttributes Janny${randomSuffix} Jingo${randomSuffix}
keyUp UsersSearchForm_anyMixedAttributes \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyTextPresent Janny${randomSuffix} Jingo${randomSuffix}
clickAndWait //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[2]/a Janny${randomSuffix} Jingo${randomSuffix}
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertText link=Edit Edit
clickAndWait //div[@id='ActionBarForUserEditAndDetailsView']/div/nav/div[2]/a/span
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyElementPresent User_primaryEmail_emailAddress
type User_primaryEmail_emailAddress janny1${randomSuffix}.jingo.com
click save
assertTextPresent Email Address is not a valid email address.
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type User_primaryEmail_emailAddress janny1${randomSuffix}@jingo.com
clickAndWait save
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent janny1${randomSuffix}@jingo.com