public class CreateSiteWindow extends Object
| Constructor and Description |
|---|
CreateSiteWindow() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the dialog
|
void |
createSite()
Confirms last step
|
CreateSiteWindow |
fillLiveCopy(String siteOwner,
boolean liveCopy,
List<String> rollOutConfigs)
Fill data on Live copy view
|
int |
getTemplatesNumber()
Returns the number of templates listed in CreatePageWindow.
|
boolean |
isDisplayed() |
void |
next()
Goes to the next step.
|
void |
preview()
Goes to the preview step.
|
CreateSiteWindow |
selectBlueprint(String createdSiteTitle,
String createdSiteName,
String createdSiteTemplate)
Fill data on BluePrint view
|
CreateSiteWindow |
selectChapters(List<String> chapters)
Selects chapters on Chapters view
|
CreateSiteWindow |
selectLanguages(List<String> languages)
Selects languages on Languages view
|
CreateSiteWindow |
selectNthTemplate(int i)
Selects nth template from the list in CreatePageWindow
|
CreateSiteWindow |
selectTemplate(String exactTemplateName)
Selects the template that matches exactly the provided value.
|
CreateSiteWindow |
selectTemplateContaining(String templateName)
Selects the template containing provided name.
|
CreateSiteWindow |
typeName(String name)
Types the name of the created page.
|
CreateSiteWindow |
typeTitle(String title)
Types the title of the created page.
|
CreateSiteWindow |
waitToBeDisplayed()
Waits for the window to be displayed.
|
public static final String ID
public boolean isDisplayed()
public CreateSiteWindow waitToBeDisplayed()
public CreateSiteWindow typeTitle(String title)
title - title of the created pagepublic CreateSiteWindow typeName(String name)
name - of the created pagepublic CreateSiteWindow selectTemplateContaining(String templateName)
templateName - partial template namepublic CreateSiteWindow selectTemplate(String exactTemplateName)
exactTemplateName - exact template namepublic void next()
public void preview()
public void cancel()
public void createSite()
public int getTemplatesNumber()
public CreateSiteWindow selectNthTemplate(int i)
i - index of the templatepublic CreateSiteWindow selectBlueprint(String createdSiteTitle, String createdSiteName, String createdSiteTemplate)
createdSiteTitle - site titlecreatedSiteName - site namecreatedSiteTemplate - site templatepublic CreateSiteWindow selectLanguages(List<String> languages)
languages - list of languagespublic CreateSiteWindow selectChapters(List<String> chapters)
chapters - list of languagespublic CreateSiteWindow fillLiveCopy(String siteOwner, boolean liveCopy, List<String> rollOutConfigs)
siteOwner - site owner nameliveCopy - live copyrollOutConfigs - list of roll out configurationsCopyright © 2016–2018 Cognifide Ltd.. All rights reserved.