net.nemerosa.ontrack.acceptance.browser.dialogs.BranchDialog.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ontrack-acceptance Show documentation
Show all versions of ontrack-acceptance Show documentation
Ontrack module: ontrack-acceptance
The newest version!
package net.nemerosa.ontrack.acceptance.browser.dialogs
import net.nemerosa.ontrack.acceptance.browser.Browser
import net.nemerosa.ontrack.acceptance.browser.support.AbstractDialog
import org.openqa.selenium.WebElement
import org.openqa.selenium.support.FindBy
class BranchDialog extends AbstractDialog {
@FindBy(name = "name")
private WebElement nameInput;
@FindBy(name = "description")
private WebElement descriptionInput;
BranchDialog(Browser browser) {
super(browser);
}
void setName(String value) {
nameInput.sendKeys(value);
}
void setDescription(String value) {
descriptionInput.sendKeys(value);
}
}