Delete Conversation
setTimeout 45000
open index.php/mashableInbox/default?clearingSearch=1
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Create
waitForTextPresent Combined
waitForTextPresent Conversations
click //div[@id='MashableInboxActionBarForViews']/nav/div[2]/a/span[1]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent //div[@id='MashableInboxForm_optionForModel_area']/label[3]
click //div[@id='MashableInboxForm_optionForModel_area']/label[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type MashableInboxForm_searchTerm New Conversation ${randomSuffix}
keyUp MashableInboxForm_searchTerm \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent //div[@id='list-view']/div[2]/table/tbody/tr/td[3]/a
waitForText //div[@id='list-view']/div[2]/table/tbody/tr/td[3]/a New Conversation ${randomSuffix}
assertText //div[@id='list-view']/div[2]/table/tbody/tr/td[3]/a New Conversation ${randomSuffix}
click //div[@id='list-view']/div[2]/table/tbody/tr/td[3]/a
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
setSpeed 3000
waitForTextPresent New Conversation ${randomSuffix}
assertText link=Delete Delete
clickAndWait link=Delete
assertConfirmation Are you sure you want to delete this conversation?
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Create
waitForTextPresent Combined
waitForTextPresent Conversations
type MashableInboxForm_searchTerm New Conversation ${randomSuffix}
keyUp MashableInboxForm_searchTerm \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent No results found
setSpeed 0