| Check Conversation Notifications | ||
| setTimeout | 45000 | |
| storeGlobal | javascript{Math.floor(Math.random()*11000)} | randomSuffix |
| open | index.php/conversations/default/create | |
| waitForPageToLoad | ||
| waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
| waitForTextPresent | Create Conversation | |
| type | id=Conversation_subject | creating conversation for testing notifications ${randomSuffix} |
| type | id=Conversation_description | This is a new conversation. It was created by a functional test. |
| setSpeed | 3000 | |
| type | id=token-input-ConversationParticipantsForm_item_ids | jil |
| typeKeys | //*[@id="token-input-ConversationParticipantsForm_item_ids"] | Jil |
| typeKeys | //*[@id="token-input-ConversationParticipantsForm_item_ids"] | Jil |
| assertTextPresent | Jill Smith | |
| setSpeed | 0 | |
| clickAndWait | save | |
| waitForPageToLoad | ||
| waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
| waitForTextPresent | creating conversation for testing notifications ${randomSuffix} | |
| waitForElementPresent | Comment_description | |
| type | Comment_description | comment added by Super User |
| click | save | |
| 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 | Conversation comment creation or modification | |
| waitForTextPresent | Super User added a new comment to the conversation: | |
| waitForTextPresent | comment added by Super User | |
| waitForTextPresent | Invited to a Conversation | |
| waitForTextPresent | Join the Conversation | |
| waitForTextPresent | Super User would like you to join a conversation "creating conversation for testing notifications ${randomSuffix}" | |
| click | //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[1]/label/input | |
| click | //div[@id='list-view']/div[2]/table/tbody/tr[2]/td[1]/label/input | |
| click | link=Delete selected | |
| waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
| open | index.php/mashableInbox/default/list?modelClassName=Conversation | |
| waitForPageToLoad | ||
| waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
| type | MashableInboxForm_searchTerm | creating conversation for testing notifications ${randomSuffix} |
| keyUp | MashableInboxForm_searchTerm | \10 |
| waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
| waitForText | //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a | creating conversation for testing notifications ${randomSuffix} |
| waitForTextPresent | creating conversation for testing notifications ${randomSuffix} | |
| verifyValue | MashableInboxForm_searchTerm | creating conversation for testing notifications ${randomSuffix} |
| assertText | //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a | creating conversation for testing notifications ${randomSuffix} |
| click | //div[@id='list-view']/div[2]/table/tbody/tr/td[3]/a | |
| waitForPageToLoad | ||
| waitForTextPresent | creating conversation for testing notifications ${randomSuffix} | |
| waitForElementPresent | Comment_description | |
| setSpeed | 3000 | |
| type | Comment_description | comment added by Jill |
| click | save | |
| waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
| setSpeed | 0 | |
| waitForTextPresent | comment added by Jill | |
| assertTextPresent | comment added by Jill | |
| 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_enableConversationInvitesNotificationInbox | |
| click | id=UserNotificationConfigurationForm_enableConversationCommentNotificationInbox | |
| 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/mashableInbox/default/list?modelClassName=Notification | |
| waitForPageToLoad | ||
| waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
| waitForTextPresent | Conversation comment creation or modification | |
| waitForTextPresent | Jill Smith added a new comment to the conversation: | |
| waitForTextPresent | comment added by Jill | |
| 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_enableConversationInvitesNotificationInbox | |
| click | id=UserNotificationConfigurationForm_enableConversationCommentNotificationInbox | |
| click | save | |
| open | index.php/conversations/default/create | |
| waitForPageToLoad | ||
| waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
| waitForTextPresent | Create Conversation | |
| type | id=Conversation_subject | creating new conversation for testing notifications ${randomSuffix} |
| type | id=Conversation_description | This is a new conversation. It was created by a functional test. |
| setSpeed | 3000 | |
| type | id=token-input-ConversationParticipantsForm_item_ids | jil |
| typeKeys | //*[@id="token-input-ConversationParticipantsForm_item_ids"] | Jil |
| typeKeys | //*[@id="token-input-ConversationParticipantsForm_item_ids"] | Jil |
| assertTextPresent | Jill Smith | |
| setSpeed | 0 | |
| clickAndWait | save | |
| waitForPageToLoad | ||
| waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
| waitForTextPresent | creating new conversation for testing notifications ${randomSuffix} | |
| waitForElementPresent | Comment_description | |
| type | Comment_description | comment added by Super User |
| click | save | |
| 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 | Conversation comment creation or modification | |
| waitForTextNotPresent | Super User added a new comment to the conversation: | |
| waitForTextNotPresent | comment added by Super User | |
| waitForTextNotPresent | Invited to a Conversation | |
| waitForTextNotPresent | Join the Conversation | |
| waitForTextNotPresent | Super User would like you to join a conversation "creating new conversation for testing notifications ${randomSuffix}" | |
| open | index.php/mashableInbox/default/list?modelClassName=Conversation | |
| waitForPageToLoad | ||
| waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
| type | MashableInboxForm_searchTerm | creating new conversation for testing notifications ${randomSuffix} |
| keyUp | MashableInboxForm_searchTerm | \10 |
| waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
| waitForText | //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a | creating new conversation for testing notifications ${randomSuffix} |
| waitForTextPresent | creating new conversation for testing notifications ${randomSuffix} | |
| verifyValue | MashableInboxForm_searchTerm | creating new conversation for testing notifications ${randomSuffix} |
| assertText | //div[@id='list-view']/div[2]/table/tbody/tr[1]/td[3]/a | creating new conversation for testing notifications ${randomSuffix} |
| click | //div[@id='list-view']/div[2]/table/tbody/tr/td[3]/a | |
| waitForPageToLoad | ||
| waitForTextPresent | creating new conversation for testing notifications ${randomSuffix} | |
| waitForElementPresent | Comment_description | |
| setSpeed | 3000 | |
| type | Comment_description | comment added by Jill |
| click | save | |
| waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
| setSpeed | 0 | |
| waitForTextPresent | comment added by Jill | |
| assertTextPresent | comment added by Jill | |
| 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/mashableInbox/default/list?modelClassName=Notification | |
| waitForPageToLoad | ||
| waitForCondition | selenium.browserbot.getCurrentWindow().jQuery.active == 0 | 30000 |
| waitForTextNotPresent | Conversation new commentHello, | |
| waitForTextNotPresent | Jill Smith added a new comment to the conversation: | |
| waitForTextNotPresent | comment added by Jill | |