Edit Workflow
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}
waitForElementPresent link=Edit
clickAndWait link=Edit
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //a[@id='moduleNextLink']/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Office Fax
click //a[@id='triggersNextLink']/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Create Account
click //a[@id='actionsNextLink']/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent A person associated with the triggered record
click //a[@id='emailMessagesNextLink']/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Save Workflow
type OnSaveWorkflowWizardForm_description test description edited
clickAndWait //a[@id='generalDataSaveAndRunLink']/span[3]
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='WorkflowDetailsView']/div/div[2]/div/table/tbody/tr[1]/td WorkflowTest ${randomSuffix}
assertText //div[@id='WorkflowDetailsView']/div/div[2]/div/table/tbody/tr[1]/td WorkflowTest ${randomSuffix}
assertText //div[@id='WorkflowDetailsView']/div/div[2]/div/table/tbody/tr[2]/td test description edited
assertText //div[@id='WorkflowDetailsView']/div/div[2]/div/table/tbody/tr[3]/td New Records Only
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