Create Account
setTimeout 45000
open index.php/workflows/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Create
assertTextPresent Workflows
assertTextPresent Templates
assertTextPresent Time Queue
assertTextPresent Message Queue
assertTextPresent Ordering
type id=WorkflowsSearchForm_anyMixedAttributes WorkflowTest ${randomSuffix}
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
keyUp id=WorkflowsSearchForm_anyMixedAttributes \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[2]/a WorkflowTest ${randomSuffix}
verifyTextPresent WorkflowTest ${randomSuffix}
verifyValue WorkflowsSearchForm_anyMixedAttributes WorkflowTest ${randomSuffix}
click //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[2]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='WorkflowDetailsView']/div/div[2]/div/table/tbody/tr[1]/td WorkflowTest ${randomSuffix}
setSpeed 3000
clickAndWait link=Delete
assertConfirmation Are you sure you want to delete this workflow?
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyTextPresent No results found
setSpeed 0
open index.php/workflows/default
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