All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.nemerosa.ontrack.acceptance.browser.dialogs.BranchDialog.groovy Maven / Gradle / Ivy

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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy