Lead Starred In List View And Filter
setTimeout 45000
open index.php/leads/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyTextPresent Create
verifyTextPresent Advanced
type LeadsSearchForm_anyMixedAttributes Sally ${randomSuffix}
keyUp LeadsSearchForm_anyMixedAttributes \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='list-view']/div[2]/table/tbody/tr/td[3]/a Silly Sally ${randomSuffix}
verifyTextPresent Silly Sally ${randomSuffix}
verifyValue LeadsSearchForm_anyMixedAttributes Sally ${randomSuffix}
click //div[@id='list-view']/div[2]/table/tbody/tr/td[2]/a
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=clear-search-link
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextNotPresent Criteria Selected
click id=starDataColumn_filterByStarred
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertText //div[@id='list-view']/div[2]/table/tbody/tr/td[3]/a Silly Sally ${randomSuffix}
click //div[@id='list-view']/div[2]/table/tbody/tr/td[2]/a
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
open index.php/leads/default?clearingSearch=1
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000