com.atlassian.confluence.selenium
Class MentionsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.confluence.selenium.AbstractSeleniumTest
              extended by com.atlassian.confluence.selenium.AbstractNotificationTest
                  extended by com.atlassian.confluence.selenium.MentionsTest
All Implemented Interfaces:
junit.framework.Test

public class MentionsTest
extends AbstractNotificationTest


Field Summary
 
Fields inherited from class com.atlassian.confluence.selenium.AbstractNotificationTest
editor, editorAutocomplete, mailFacade
 
Fields inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
adminUser, assertThat, client, rpc, screenShotIndex, suite, testBlogPost, testComment, testData, testGroup, testImage, testImage2, testPage, testSpace, testUser, testUserWithApostrophe, userHelper, users
 
Constructor Summary
MentionsTest(String test)
           
 
Method Summary
 void testFollowingMentions()
          This Test covers the scenario of followers appearing on the mentions when user triggers the mentions with no text input apart from shortcut.
 void testInlineTasksAreNotMentions()
           
 void testMentionsDisplaysResults()
          This test, makes sure that the autocomplete is working for the @ mentions feature and returns correct values
 void testMentionsNotifications()
          This test covers that mentions notifications are being issued and to the correct recipients.
 void testMentionsOutsideOfInlineTasksAreSeen()
           
 void testPermissionMentions()
          This test covers that when users are mentioned on a restricted page, the mentioned users do not receive notifications.
 void testSpecialCharacterUserNames()
          this test covers special character user names with apostrophes or unicodes
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractNotificationTest
setUp, tearDown
 
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest
captureScreenShot, createTestData, runBare, runTest, setAjsLogRendered, setAjsLogVisible
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MentionsTest

public MentionsTest(String test)
Method Detail

testMentionsDisplaysResults

public void testMentionsDisplaysResults()
                                 throws Exception
This test, makes sure that the autocomplete is working for the @ mentions feature and returns correct values

Throws:
Exception

testFollowingMentions

public void testFollowingMentions()
                           throws Exception
This Test covers the scenario of followers appearing on the mentions when user triggers the mentions with no text input apart from shortcut. Also test for multiple mentions.

Throws:
Exception

testMentionsNotifications

public void testMentionsNotifications()
                               throws Exception
This test covers that mentions notifications are being issued and to the correct recipients.

Throws:
Exception

testInlineTasksAreNotMentions

public void testInlineTasksAreNotMentions()
                                   throws Exception
Throws:
Exception

testMentionsOutsideOfInlineTasksAreSeen

public void testMentionsOutsideOfInlineTasksAreSeen()
                                             throws Exception
Throws:
Exception

testSpecialCharacterUserNames

public void testSpecialCharacterUserNames()
                                   throws Exception
this test covers special character user names with apostrophes or unicodes

Throws:
Exception

testPermissionMentions

public void testPermissionMentions()
                            throws Exception
This test covers that when users are mentioned on a restricted page, the mentioned users do not receive notifications.

Throws:
Exception


Copyright © 2003-2012 Atlassian. All Rights Reserved.