Delete Project
setTimeout 45000
open index.php/projects/default/dashboardDetails
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Dashboard
assertTextPresent Projects
assertElementNotPresent //li[@id='list-view-massActionSelected']/a
assertElementNotPresent //li[@id='list-view-exportActionSelected']/a
clickAndWait //div[@id='SecuredActionBarForProjectsDashboardView']/div[1]/nav[1]/div[2]/a/span
assertElementPresent //li[@id='list-view-massActionSelected']/a
assertElementPresent //li[@id='list-view-exportActionSelected']/a
type ProjectsSearchForm_anyMixedAttributes Test Project ${randomSuffix}
keyUp ProjectsSearchForm_anyMixedAttributes \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='list-view']/div[2]/table/tbody/tr/td[2]/a Test Project ${randomSuffix}
verifyTextPresent Test Project ${randomSuffix}
verifyValue ProjectsSearchForm_anyMixedAttributes Test Project ${randomSuffix}
click //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[2]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 3000
waitForTextPresent Test Project ${randomSuffix}
assertText link=Delete Delete
clickAndWait link=Delete
assertConfirmation Are you sure you want to delete this project?
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyTextPresent No results found
setSpeed 0
open index.php/projects/default/list
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=clear-search-link
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextNotPresent Criteria Selected