Kanban Board
setTimeout 45000
open index.php/opportunities/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Create
assertTextPresent Update
assertTextPresent Export
assertTextPresent Delete
clickAndWait link=Kanban
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Create
assertTextNotPresent Update
assertTextNotPresent Export
assertElementNotPresent link=delete
click id=kanban-board-options-link
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=OpportunitiesSearchForm_groupByAttributeVisibleValues_5
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=OpportunitiesSearchForm_selectedTheme_3
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //a[@id='kanban-board-options-apply']/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextNotPresent Closed Lost
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type OpportunitiesSearchForm_anyMixedAttributes Test Opportunity ${randomSuffix}
keyUp OpportunitiesSearchForm_anyMixedAttributes \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='kanban-board']/div[3]/div/ul/li/div/span[3]/a Test Opportunity ${randomSuffix}
verifyTextPresent Test Opportunity ${randomSuffix}
verifyValue OpportunitiesSearchForm_anyMixedAttributes Test Opportunity ${randomSuffix}
click id=clear-search-link
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyValue OpportunitiesSearchForm_anyMixedAttributes
clickAndWait link=Grid
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Create
assertTextPresent Update
assertTextPresent Export
assertTextPresent Delete