Opportunities Starred In List View And Filter
setTimeout 45000
open index.php/opportunities/default
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Create
assertTextPresent Update
assertTextPresent Export
assertTextPresent Delete
type OpportunitiesSearchForm_anyMixedAttributes Test Opportunity ${randomSuffix}
keyUp OpportunitiesSearchForm_anyMixedAttributes \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='list-view']/div[2]/table/tbody/tr/td[3]/a Test Opportunity ${randomSuffix}
verifyTextPresent Test Opportunity ${randomSuffix}
verifyValue OpportunitiesSearchForm_anyMixedAttributes Test Opportunity ${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 Test Opportunity ${randomSuffix}
click //div[@id='list-view']/div[2]/table/tbody/tr/td[2]/a
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=starDataColumn_filterByStarred
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
open index.php/opportunities/default?clearingSearch=1
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000