public abstract class AbstractSeleniumTest
extends junit.framework.TestCase
Modifier and Type | Field and Description |
---|---|
protected User |
adminUser |
protected ConfluenceSeleniumAssertions |
assertThat |
protected ConfluenceSeleniumClient |
client |
protected ConfluenceRpc |
rpc |
protected int |
screenShotIndex |
protected Suite |
suite |
protected BlogPost |
testBlogPost |
protected TestData |
testData |
protected Attachment |
testImage |
protected Attachment |
testImage2 |
protected Page |
testPage |
protected Space |
testSpace |
protected User |
testUser |
protected User |
testUserWithApostrophe |
protected UserManagementHelper |
userHelper |
Constructor and Description |
---|
AbstractSeleniumTest() |
AbstractSeleniumTest(String name) |
Modifier and Type | Method and Description |
---|---|
protected void |
captureScreenShot() |
protected void |
createTestData(ConfluenceRpc adminRpc)
Subclasses can override this method to make changes to the server state with admin privileges.
|
protected void |
runTest() |
protected void |
setUp() |
protected void |
tearDown() |
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, setName, toString
protected final TestData testData
protected final User adminUser
protected final User testUser
protected final User testUserWithApostrophe
protected final Space testSpace
protected final Page testPage
protected final BlogPost testBlogPost
protected final Attachment testImage
protected final Attachment testImage2
protected ConfluenceRpc rpc
protected UserManagementHelper userHelper
protected ConfluenceSeleniumClient client
protected ConfluenceSeleniumAssertions assertThat
protected Suite suite
protected int screenShotIndex
public AbstractSeleniumTest()
public AbstractSeleniumTest(String name)
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
protected void createTestData(ConfluenceRpc adminRpc)
adminRpc
- rpc client with Admin user currently logged inprotected void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
protected void runTest() throws Throwable
runTest
in class junit.framework.TestCase
Throwable
protected void captureScreenShot()
Copyright © 2003–2018 Atlassian. All rights reserved.