public class

UPMTest

extends AbstractSeleniumTest
java.lang.Object
   ↳ junit.framework.Assert
     ↳ junit.framework.TestCase
       ↳ com.atlassian.confluence.selenium.AbstractSeleniumTest
         ↳ com.atlassian.confluence.selenium.UPMTest

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.selenium.AbstractSeleniumTest
Public Constructors
UPMTest(String name)
Public Methods
void testCanDisablePlugin()
Test that you can disable and re-enable a system plugin via the UPM.
void testManageExisting()
Test that the UPM shows all the installed system plugins.
void testUPMAvailable()
void testUPMBrowsable()
Test that each tab of the UPM is browsable and displays its tab title - simple test just to make sure it renders
Protected Methods
void setUp()
[Expand]
Inherited Methods
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 UPMTest (String name)

Public Methods

public void testCanDisablePlugin ()

Test that you can disable and re-enable a system plugin via the UPM. For JIRA I verified that the old plugin manager also showed the plugin as disabled. I think that it is also a good idea in this test to browse away from the UPM and then browse back to the 'Manage Existing' tab so that you can insure that none of the browsers under test are caching the REST responses and that the plugin list is being correctly generated each time you view the list.

public void testManageExisting ()

Test that the UPM shows all the installed system plugins. Browse to the 'Manage Existing' tab and click the 'Show System Plugins' link. Verify that a select number of plugins are shown. This is a sanity test that will also exercise the UPM REST resources.

public void testUPMAvailable ()

public void testUPMBrowsable ()

Test that each tab of the UPM is browsable and displays its tab title - simple test just to make sure it renders

Protected Methods

protected void setUp ()

Throws
Exception