public class EditProjectPageTab extends AbstractProjectConfigPageTab implements ProjectConfigPageTab
discoverInfo, projectInfoLocator
body, driver, elementFinder, javascriptExecutor, metaElement, pageBinder, timeouts, webDriverPoller
Constructor and Description |
---|
EditProjectPageTab(String projectId) |
Modifier and Type | Method and Description |
---|---|
void |
await() |
void |
cancel() |
EditProjectPageTab |
chooseAvatarOption(String number)
Select an avatar from the avatar picker, based on its position in the list of available avatars.
|
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getEditProjectKey() |
String |
getErrorMessage() |
Map<String,String> |
getFormErrors() |
String |
getProjectCategory() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getProjectDescription() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getProjectName() |
String |
getProjectType() |
Iterable<String> |
getProjectTypeSuggestions() |
com.atlassian.pageobjects.elements.query.TimedQuery<String> |
getProjectUrl() |
String |
getUrl() |
static String |
getUrlForProject(String projectId) |
void |
initialize() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isAt()
Timed condition checking if we're at given page.
|
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
isErrorMessagePresent() |
boolean |
isProjectCategoryDisabled() |
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
isProjectKeyDisabled() |
com.atlassian.pageobjects.elements.query.TimedCondition |
isProjectKeyVisible() |
boolean |
isProjectTypeDisabled() |
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
isReindexLinkVisible() |
com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> |
isWarningDisplayed() |
EditProjectPageTab |
setAvatar(String id)
Select an avatar from the avatar picker, based on its database ID.
|
EditProjectPageTab |
setDescription(String description) |
EditProjectPageTab |
setProjectCategory(String value) |
EditProjectPageTab |
setProjectKey(String newProjectKey) |
EditProjectPageTab |
setProjectName(String newProjectName) |
EditProjectPageTab |
setProjectType(String value) |
EditProjectPageTab |
setProjectUrl(String url) |
void |
submit() |
getOperations, getProjectHeader, getProjectId, getProjectKey, getProjectSettingsHeader, getTabs, init, isDiscoverInfoVisible
back, doWait, execKeyboardShortcut, getHeader, getPageTitle, getXsrfToken, isAdmin, isLoggedIn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getOperations, getProjectHeader, getProjectId, getProjectKey, getProjectSettingsHeader, getTabs
public EditProjectPageTab(String projectId)
public void initialize()
public void await()
public com.atlassian.pageobjects.elements.query.TimedCondition isAt()
AbstractJiraPage
isAt
in class AbstractJiraPage
public String getUrl()
getUrl
in interface com.atlassian.pageobjects.Page
public EditProjectPageTab setProjectName(String newProjectName)
public com.atlassian.pageobjects.elements.query.TimedCondition isProjectKeyVisible()
public EditProjectPageTab setProjectKey(String newProjectKey)
public boolean isProjectTypeDisabled()
public boolean isProjectCategoryDisabled()
public String getProjectType()
public EditProjectPageTab setProjectType(String value)
public EditProjectPageTab setProjectCategory(String value)
public String getProjectCategory()
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getEditProjectKey()
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getProjectName()
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getProjectDescription()
public EditProjectPageTab setProjectUrl(String url)
public com.atlassian.pageobjects.elements.query.TimedQuery<String> getProjectUrl()
public EditProjectPageTab setAvatar(String id)
public EditProjectPageTab chooseAvatarOption(String number)
number
- from 1 to N, where N is the (expected?) number of options. There are ~16 system avatars.public EditProjectPageTab setDescription(String description)
public void submit()
public void cancel()
public String getErrorMessage()
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isErrorMessagePresent()
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isProjectKeyDisabled()
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isWarningDisplayed()
public com.atlassian.pageobjects.elements.query.TimedQuery<Boolean> isReindexLinkVisible()
Copyright © 2002-2023 Atlassian. All Rights Reserved.