net.nemerosa.ontrack.acceptance.browser.pages.AccountManagementPage.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.pages
import net.nemerosa.ontrack.acceptance.browser.Browser
import org.openqa.selenium.By
class AccountManagementPage extends AbstractHeaderPage {
AccountManagementPage(Browser browser) {
super(browser)
}
@Override
String getPath(Map parameters) {
"index.html#/admin-accounts"
}
@Override
void waitFor() {
browser.waitUntil("Create account") { browser.findElement(By.id("admin-accounts-create")).displayed }
}
}