public class

EditorAutocompleteImageShortcutTest

extends AbstractEditorAutocompleteTester
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.selenium.AbstractSeleniumTest
         ↳ com.atlassian.confluence.selenium.AbstractEditorAutocompleteTester
           ↳ com.atlassian.confluence.selenium.EditorAutocompleteImageShortcutTest
Known Direct Subclasses

Class Overview

Tests Image Autocomplete in the RTE. The autocomplete is fired by the shortcut key, not the trigger character, so these tests can run in IE.

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.selenium.AbstractEditorAutocompleteTester
From class com.atlassian.confluence.selenium.AbstractSeleniumTest
Public Constructors
EditorAutocompleteImageShortcutTest()
Public Methods
void testAttachmentSearchOnBlogpost()
void testAttachmentSuggestionOnBlogpost()
void testCloseScroll()
void testCloseWithClickOutsideRte()
void testImageInsertViaDialog()
void testInsertFromSuggestionWhenCreatingPage()
void testInsertViewFileMacroFromAutocomplete()
void testInsertViewFileMacroFromAutocompleteOnDraft()
void testOnlySuggestsTenImages()
Protected Methods
void assertInView()
void assertInsertedInRTE()
void setUp()
void setupWhenTestTypeKnown(long contentId, boolean isSearch)
[Expand]
Inherited Methods
From class com.atlassian.confluence.selenium.AbstractEditorAutocompleteTester
From class com.atlassian.confluence.selenium.AbstractSeleniumTest
From class junit.framework.TestCase
From class junit.framework.Assert
From class java.lang.Object
From interface junit.framework.Test

Public Constructors

public EditorAutocompleteImageShortcutTest ()

Public Methods

public void testAttachmentSearchOnBlogpost ()

Throws
Exception

public void testAttachmentSuggestionOnBlogpost ()

Throws
Exception

public void testCloseScroll ()

Throws
Exception

public void testCloseWithClickOutsideRte ()

Throws
Exception

public void testImageInsertViaDialog ()

Throws
Exception

public void testInsertFromSuggestionWhenCreatingPage ()

Throws
Exception

public void testInsertViewFileMacroFromAutocomplete ()

Throws
Exception

public void testInsertViewFileMacroFromAutocompleteOnDraft ()

public void testOnlySuggestsTenImages ()

Protected Methods

protected void assertInView ()

protected void assertInsertedInRTE ()

protected void setUp ()

Throws
Exception

protected void setupWhenTestTypeKnown (long contentId, boolean isSearch)