com.atlassian.confluence.webdriver
Class BlueprintWebDriverTestHelper

java.lang.Object
  extended by com.atlassian.confluence.webdriver.BlueprintWebDriverTestHelper

public class BlueprintWebDriverTestHelper
extends Object


Constructor Summary
BlueprintWebDriverTestHelper(ConfluenceRpc rpc, ConfluenceTestedProduct product, User user, String createDialogWebItemKey)
           
 
Method Summary
 void assertEditorErrorMessageAndFix(CreatePage editor, org.hamcrest.Matcher<String> errorMessageMatcher)
           
 ViewPage goToIndexPageAndCheckContent(ViewPage viewPage, String blueprintBreadcrumb, org.hamcrest.Matcher<String> indexPageContentMatcher)
           
 CreatePage loginAndChooseBlueprint()
           
<T> T
loginAndChooseBlueprint(Class<T> pageClass)
           
 CreatePage loginAndChooseTemplate(long templateId)
           
<T> T
openCreateDialogAndChooseBlueprint(Class<T> pageClass)
           
 CreatePage openCreateDialogAndChooseTemplate(long templateId)
           
 ViewPage saveEditorAndCheckIndexPageContent(CreatePage editor, String blueprintBreadcrumb, org.hamcrest.Matcher<String> indexPageContentMatcher)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlueprintWebDriverTestHelper

public BlueprintWebDriverTestHelper(ConfluenceRpc rpc,
                                    ConfluenceTestedProduct product,
                                    User user,
                                    String createDialogWebItemKey)
Method Detail

openCreateDialogAndChooseBlueprint

public <T> T openCreateDialogAndChooseBlueprint(Class<T> pageClass)

openCreateDialogAndChooseTemplate

public CreatePage openCreateDialogAndChooseTemplate(long templateId)

loginAndChooseBlueprint

public CreatePage loginAndChooseBlueprint()

loginAndChooseBlueprint

public <T> T loginAndChooseBlueprint(Class<T> pageClass)

loginAndChooseTemplate

public CreatePage loginAndChooseTemplate(long templateId)

assertEditorErrorMessageAndFix

public void assertEditorErrorMessageAndFix(CreatePage editor,
                                           org.hamcrest.Matcher<String> errorMessageMatcher)

saveEditorAndCheckIndexPageContent

public ViewPage saveEditorAndCheckIndexPageContent(CreatePage editor,
                                                   String blueprintBreadcrumb,
                                                   org.hamcrest.Matcher<String> indexPageContentMatcher)

goToIndexPageAndCheckContent

public ViewPage goToIndexPageAndCheckContent(ViewPage viewPage,
                                             String blueprintBreadcrumb,
                                             org.hamcrest.Matcher<String> indexPageContentMatcher)


Copyright © 2003-2013 Atlassian. All Rights Reserved.