public EditDetails selectComponentsOption(String option) { changecomponents.select(Options.value(option)); return this; }
public LinkJiraSection selectServer(final String appId) { final Option option = Options.value(appId); serverSelect.select(option); return this; }
public EditDetails selectFixVersionsOption(String option) { changefixVersions.select(Options.value(option)); return this; }
public SearchConfluenceDialog selectServer(final String appId) { final Option option = Options.value(appId); this.server.select(option); return this; } }
public EditDetails selectLabelsOption(String option) { changelabels.select(Options.value(option)); return this; }
AssociateIssueOperationToScreenForm setOperation(ScreenOperation name) { issueOperationElement.select(Options.value(valueOf(name.getOperationId()))); return this; }
public UserBrowserPage setUserFilterToShowAllUsers() { filterUsersPerPage.select(Options.value(MAX)); return submitForm(); }
public UserBrowserPage setUserFilterTo10Users() { filterUsersPerPage.select(Options.value(TEN)); return submitForm(); }
public UserBrowserPage filterByApplication(String application) { filterApplicationsSelect.select(Options.value(application)); return submitForm(); }
public void setSelectProperty(String propertyId, String optionValue) { getSelect(propertyId).select(Options.value(optionValue)); }
public MovePageDialog selectSpaceInBrowse(Space space) { spaceSelect.select(Options.value(space.getKey())); return this; }
public EditGeneralConfigurationPage setJiraMode(JiraMode mode) { getSelect(PROPERTY_JIRA_MODE).select(Options.value(mode.optionValue())); return this; }
/** * Select the "All Spaces" option * * @since 5.8.0 */ public void selectAllSpaces() { spaceSelect.select(Options.value("")); waitUntilEquals("Space selection changed", "", spaceSelect.timed().getValue()); }
public DatabaseTypePage selectDatabase(Database database) { SelectElement select = pageBinder.bind(WebDriverSelectElement.class, By.name("dbChoiceSelect")); select.select(Options.value(database.name())); return this; }
public void createBranch(String repository, String baseBranch, String branchName) { repositorySelect.select(Options.value(repository)); waitUntilTrue(branchSelect.timed().isEnabled()); branchSelect.select(Options.value(baseBranch)); this.branchNameField.clear().type(branchName); waitUntilTrue(createBranchButton.timed().isEnabled()); createBranchButton.click(); Poller.waitUntil(createBranchButton.timed().isPresent(), is(false), by(15, TimeUnit.SECONDS)); } }
public void selectSpace(Space space) { spaceSelect.select(Options.value(space.getKey())); waitUntilEquals("Space selection changed", space.getKey(), spaceSelect.timed().getValue()); }
/** * Performs the search for users with no restriction on application access. * * @param searchText search text * @return ApplicationAccessPage */ public ApplicationAccessPage searchUsers(String searchText) { userQueryInput.clear(); userQueryInput.type(searchText); applicationNameSelect.select(Options.value(NO_APPLICATION_RESTRICTION)); searchSubmitButton.click(); confirmDialogIfPresent(); return pageBinder.bind(ApplicationAccessPage.class); }
/** * Performs the search for users with access to the specified application. To search for users with no restriction on application access, use * {@link #searchUsers(String)}. * * @param searchText search text * @param application application to restrict search to. Must be a valid name from SupportedApplication#name(). * @return ApplicationAccessPage */ public ApplicationAccessPage searchUsersWithApplicationAccess(final String searchText, final SupportedApplication application) { userQueryInput.clear(); userQueryInput.type(searchText); applicationNameSelect.select(Options.value(application.name())); searchSubmitButton.click(); confirmDialogIfPresent(); return pageBinder.bind(ApplicationAccessPage.class); }