Delete Account
setTimeout 45000
open index.php/accounts/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Create
assertTextPresent Update
assertTextPresent Export
assertTextPresent Delete
type id=AccountsSearchForm_anyMixedAttributes Test Account ${randomSuffix}
keyUp id=AccountsSearchForm_anyMixedAttributes \10
waitForText //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a Test Account ${randomSuffix}
verifyTextPresent Test Account ${randomSuffix}
verifyValue AccountsSearchForm_anyMixedAttributes Test Account ${randomSuffix}
click //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 3000
waitForTextPresent Test Account ${randomSuffix}
assertElementPresent link=Delete
clickAndWait link=Delete
assertConfirmation Are you sure you want to delete this account?
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyTextPresent No results found
setSpeed 0
open index.php/accounts/default?clearingSearch=1
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000