|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.atlassian.confluence.selenium.AbstractSeleniumTest com.atlassian.confluence.selenium.AbstractEditorAutocompleteTester com.atlassian.confluence.selenium.EditorAutocompleteLinkShortcutTest
public class EditorAutocompleteLinkShortcutTest
Tests Link Autocomplete in the RTE. The autocomplete is fired by the shortcut key, not the trigger character, so these tests can run in IE.
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.selenium.AbstractEditorAutocompleteTester |
---|
defaultUser, editor, editorAutocomplete, isAttachment, isComment, isCreatePage, searchText, shortCut, testContent, tinyMce |
Fields inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest |
---|
adminUser, assertThat, client, confluence, confluenceUsersGroup, rpc, screenShotIndex, testBlogPost, testComment, testData, testGroup, testImage, testImage2, testPage, testSpace, testUser, testUserWithApostrophe |
Constructor Summary | |
---|---|
EditorAutocompleteLinkShortcutTest()
|
Method Summary | |
---|---|
protected void |
assertInsertedInRTE()
|
protected void |
assertInView()
|
protected void |
setUp()
|
protected void |
setupWhenTestTypeKnown(long contentId,
boolean isSearch)
|
void |
testAttachmentLink()
|
void |
testAutocompleteDoesNotOpenInLink()
|
void |
testInsertWebLink()
|
void |
testInsertWebLinkWithEnter()
|
void |
testLongPageTitleInHistoryTruncates()
|
void |
testSearchFor()
|
void |
testSearchForWithRegexChar()
|
void |
testSpaceLink()
|
void |
testUserLink()
|
void |
waitForLink(EditorLink link)
Waits until the given link exists in the RTE. |
Methods inherited from class com.atlassian.confluence.selenium.AbstractSeleniumTest |
---|
captureScreenShot, captureScreenShot, createTestData, removeTestData, runTest |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EditorAutocompleteLinkShortcutTest()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class AbstractEditorAutocompleteTester
java.lang.Exception
protected void setupWhenTestTypeKnown(long contentId, boolean isSearch)
setupWhenTestTypeKnown
in class AbstractEditorAutocompleteTester
protected void assertInsertedInRTE()
assertInsertedInRTE
in class AbstractEditorAutocompleteTester
protected void assertInView()
assertInView
in class AbstractEditorAutocompleteTester
public void testSearchFor()
public void testSearchForWithRegexChar()
public void testInsertWebLink()
public void testInsertWebLinkWithEnter()
public void testSpaceLink()
public void testUserLink()
public void testAttachmentLink()
public void testAutocompleteDoesNotOpenInLink()
public void testLongPageTitleInHistoryTruncates()
public void waitForLink(EditorLink link)
link
- and Editor Link with an expected alias, href and wiki destination
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |