com.atlassian.confluence.selenium
Class EditorAutocompleteLinkShortcutTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.atlassian.confluence.junit3.JUnit3TimingTestCase
com.atlassian.confluence.selenium.AbstractSeleniumTest
com.atlassian.confluence.selenium.AbstractEditorAutocompleteTester
com.atlassian.confluence.selenium.EditorAutocompleteLinkShortcutTest
- All Implemented Interfaces:
- junit.framework.Test
public class EditorAutocompleteLinkShortcutTest
- extends AbstractEditorAutocompleteTester
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.
| 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 |
| Methods inherited from class com.atlassian.confluence.selenium.AbstractEditorAutocompleteTester |
autocompleteSearchAndSelect, runAutocomplete, setAndSelectText, tearDown, testInsertFromSearchResultWhenCreatingBlogPost, testInsertFromSearchResultWhenCreatingComment, testInsertFromSearchResultWhenCreatingPage, testInsertFromSearchResultWhenEditingBlogPost, testInsertFromSearchResultWhenEditingComment, testInsertFromSearchResultWhenEditingPage, testInsertFromSuggestionWhenCreatingBlogPost, testInsertFromSuggestionWhenCreatingComment, testInsertFromSuggestionWhenCreatingPage, testInsertFromSuggestionWhenEditingBlogPost, testInsertFromSuggestionWhenEditingComment, testInsertFromSuggestionWhenEditingPage, triggerWithShortcut |
| Methods inherited from class com.atlassian.confluence.junit3.JUnit3TimingTestCase |
runBare, setExceptionTransformer |
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EditorAutocompleteLinkShortcutTest
public EditorAutocompleteLinkShortcutTest()
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp in class AbstractEditorAutocompleteTester
- Throws:
java.lang.Exception
setupWhenTestTypeKnown
protected void setupWhenTestTypeKnown(long contentId,
boolean isSearch)
- Specified by:
setupWhenTestTypeKnown in class AbstractEditorAutocompleteTester
assertInsertedInRTE
protected void assertInsertedInRTE()
- Specified by:
assertInsertedInRTE in class AbstractEditorAutocompleteTester
assertInView
protected void assertInView()
- Specified by:
assertInView in class AbstractEditorAutocompleteTester
testAnonymousUser
public void testAnonymousUser()
testSearchForWithRegexChar
public void testSearchForWithRegexChar()
testSearchFor
public void testSearchFor()
testInsertWebLinkWithEnter
public void testInsertWebLinkWithEnter()
testSpaceLink
public void testSpaceLink()
testUserLink
public void testUserLink()
TODOXHTML_testAttachmentLink
public void TODOXHTML_testAttachmentLink()
testAutocompleteDoesNotOpenInLink
public void testAutocompleteDoesNotOpenInLink()
testLongPageTitleInHistoryTruncates
public void testLongPageTitleInHistoryTruncates()
testCurrentSpacePreferred
public void testCurrentSpacePreferred()
testAddPageLink
public void testAddPageLink()
testAddPageLinkForAnExistingPage
public void testAddPageLinkForAnExistingPage()
disabled_testSearchUsingApostrophes
public void disabled_testSearchUsingApostrophes()
testAddLinkWithEnter
public void testAddLinkWithEnter()
waitForLink
public void waitForLink(EditorLink link)
- Waits until the given link exists in the RTE.
- Parameters:
link - and Editor Link with an expected alias, href and wiki destination
Copyright © 2003-2014 Atlassian. All Rights Reserved.