Check Contact Notifications
setTimeout 45000
open index.php/contacts/default/create
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Create Contact
type Contact_lastName Test Contact ${randomSuffix}
click Contact_owner_SelectLink
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent UsersSearchForm_anyMixedAttributes
type UsersSearchForm_anyMixedAttributes Jill Smith
keyUp UsersSearchForm_anyMixedAttributes \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='list-viewmodal']/div[2]/table/tbody/tr[1]/td/a Jill Smith
assertElementPresent link=Jill Smith
click link=Jill Smith
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForValue Contact_owner_name Jill Smith
clickAndWait save
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Test Contact ${randomSuffix}
waitForElementPresent //div[@id='CommentInlineEditForModelView']/div/div/form/div[1]/div/table/tbody/tr[1]/td/div[1]/textarea
type //div[@id='CommentInlineEditForModelView']/div/div/form/div[1]/div/table/tbody/tr[1]/td/div[1]/textarea comment added by Super User.
click //div[@id='CommentInlineEditForModelView']/div/div/form/div[2]/div/a/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent comment added by Super User.
assertTextPresent comment added by Super User.
open index.php/zurmo/default/login
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type LoginForm_username jill
type LoginForm_password jill
clickAndWait Login
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //ul[@id='user-header-menu']/li/a/span jill
open index.php/mashableInbox/default/list?modelClassName=Notification
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Contact comment creation or modification
waitForTextPresent Super User has commented on the contact 'Test Contact ${randomSuffix}':
waitForTextPresent comment added by Super User.
click //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[1]/label/input
click link=Delete selected
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
open index.php/users/default/profile
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Configuration
clickAndWait link=Notifications
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
click id=UserNotificationConfigurationForm_enableContactCommentNotificationInbox
click save
assertElementPresent link=Sign out
click link=Sign out
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
open index.php/zurmo/default/login
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type LoginForm_username super
type LoginForm_password super
clickAndWait Login
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //ul[@id='user-header-menu']/li/a/span super
open index.php/contacts/default/create
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Create Contact
type Contact_lastName Test Contact New ${randomSuffix}
click Contact_owner_SelectLink
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForElementPresent UsersSearchForm_anyMixedAttributes
type UsersSearchForm_anyMixedAttributes Jill Smith
keyUp UsersSearchForm_anyMixedAttributes \10
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //div[@id='list-viewmodal']/div[2]/table/tbody/tr[1]/td/a Jill Smith
assertElementPresent link=Jill Smith
click link=Jill Smith
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForValue Contact_owner_name Jill Smith
clickAndWait save
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent Test Contact New ${randomSuffix}
waitForElementPresent //div[@id='CommentInlineEditForModelView']/div/div/form/div[1]/div/table/tbody/tr[1]/td/div[1]/textarea
type //div[@id='CommentInlineEditForModelView']/div/div/form/div[1]/div/table/tbody/tr[1]/td/div[1]/textarea comment added by Super User.
click //div[@id='CommentInlineEditForModelView']/div/div/form/div[2]/div/a/span[3]
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextPresent comment added by Super User.
assertTextPresent comment added by Super User.
open index.php/zurmo/default/login
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type LoginForm_username jill
type LoginForm_password jill
clickAndWait Login
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //ul[@id='user-header-menu']/li/a/span jill
open index.php/mashableInbox/default/list?modelClassName=Notification
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForTextNotPresent Contact comment creation or modification
waitForTextNotPresent Super User has commented on the contact 'Test Contact New ${randomSuffix}':
waitForTextNotPresent comment added by Super User.
open index.php/zurmo/default/login
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
type LoginForm_username super
type LoginForm_password super
clickAndWait Login
waitForPageToLoad
waitForCondition selenium.browserbot.getCurrentWindow().jQuery.active == 0 30000
waitForText //ul[@id='user-header-menu']/li/a/span super