public class ProjectsPage extends PageSupport
Constructor and Description |
---|
ProjectsPage(WebDriverFacade facade) |
Modifier and Type | Method and Description |
---|---|
void |
createProject(NewProjectFormData form)
Creates a new project using the create projects wizard and asserts it appears on the projects page
|
org.openqa.selenium.By |
getCreateProjectBy() |
String |
getGogsEmail() |
String |
getGogsPassword() |
String |
getGogsUserName() |
org.openqa.selenium.By |
getSignInBy() |
void |
goToProjectsPage() |
protected String |
relativeUrl(String url,
String trimPath,
String newPath)
Returns a new URL from the given url trimming the `trimPath` and adding the `newPath`
|
void |
setGogsUserName(String gogsUserName) |
protected void |
signIntoGogs()
Once on the sign in page lets sign in
|
protected void |
untilNextWizardPage(WebDriverFacade facade,
org.openqa.selenium.By nextButton) |
getFacade
public ProjectsPage(WebDriverFacade facade)
public void goToProjectsPage()
public void createProject(NewProjectFormData form)
public org.openqa.selenium.By getCreateProjectBy()
public org.openqa.selenium.By getSignInBy()
public String getGogsEmail()
public String getGogsUserName()
public void setGogsUserName(String gogsUserName)
public String getGogsPassword()
protected String relativeUrl(String url, String trimPath, String newPath)
protected void signIntoGogs()
protected void untilNextWizardPage(WebDriverFacade facade, org.openqa.selenium.By nextButton)
Copyright © 2011–2016 Red Hat. All rights reserved.