Create Account
setTimeout 45000
open index.php/mashableInbox/default/list
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
open index.php/conversations/default/create
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyTextPresent Create Conversation
verifyElementPresent id=Conversation_subject
type id=Conversation_subject Test CFOSubject ${randomSuffix}
verifyElementPresent id=Conversation_description
type id=Conversation_description Test Conversation Description
clickAndWait link=Save
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent Test CFOSubject ${randomSuffix}
open index.php/mashableInbox/default/list
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
clickAndWait //div[@id='MashableInboxActionBarForViews']/div/div/a[2]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=MashableInboxForm_optionForModel_0
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyElementPresent id=MashableInboxForm_searchTerm
type id=MashableInboxForm_searchTerm Test CFOSubject ${randomSuffix}
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='ConversationsListView']/div/table/tbody/tr/td[2]/a Test CFOSubject ${randomSuffix}
assertText //div[@id='ConversationsListView']/div/table/tbody/tr/td[2]/a Test CFOSubject ${randomSuffix}
verifyElementPresent id=list-view-rowSelector_0
click id=list-view-rowSelector_0
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click //li[@id='list-view-closeSelected']/a/span
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
verifyElementPresent id=MashableInboxForm_searchTerm
type id=MashableInboxForm_searchTerm Test CFOSubject ${randomSuffix}
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
assertTextPresent No results found.