public EditDetails selectComponentsOption(String option) { changecomponents.select(Options.value(option)); return this; }
public EditIssueTypeSchemePage setDefaultIssueType(String issueTypeBug) { defaultOption.select(Options.text(issueTypeBug)); return this; }
/** * Returns a timed query that checks whether an option with the expected text and * value is present in this field. * * @param text Expected text of the select option * @param value Expected value of the select option * @return TimedQuery that returns true if the expected option can be found */ public TimedQuery<Boolean> contains(final String text, final String value) { final Supplier<Boolean> supplier = () -> { Option expected = Options.full("", value, text); return getAllOptions().contains(expected); }; return Queries.forSupplier(timeouts, supplier); }
/** * Returns a timed query that checks whether the selection option matches * the expected text and value. * * @param text Expected text of the selected option * @param value Expected value of the selected option * @return TimedQuery that returns true if the expected option matches the selection */ public TimedQuery<Boolean> matches(final String text, final String value) { final Supplier<Boolean> supplier = () -> { Option expected = Options.full("", value, text); return getSelected().equals(expected); }; return Queries.forSupplier(timeouts, supplier); }
public LinkJiraSection selectServer(final String appId) { final Option option = Options.value(appId); serverSelect.select(option); return this; }
public BasicSearch selectProject(String project) { projectSelect.select(Options.text(project)); return this; }
public AddApplicationLinkDialogNonUalStep2 setApplicationType(ApplicationType applicationType) { applicationTypeSelect.select(Options.full(null, null, applicationType.value())); return this; }
public EditDetails selectLabelsOption(String option) { changelabels.select(Options.value(option)); return this; }
public BasicSearch selectIssueType(String issueType) { issueTypeSelect.select(Options.text(issueType)); return this; }
public EditDetails selectFixVersionsOption(String option) { changefixVersions.select(Options.value(option)); return this; }
public GroupBrowserPage setMaxGroupsPerPage(final String option) { maxGroupsPerPage.select(Options.text(option)); return this; }
public SearchConfluenceDialog selectServer(final String appId) { final Option option = Options.value(appId); this.server.select(option); return this; } }
public AddIssueTypeToFieldConfigurationDialog setIssueType(final String issueType) { return setIssueType(Options.text(issueType)); }
AssociateIssueOperationToScreenForm setOperation(ScreenOperation name) { issueOperationElement.select(Options.value(valueOf(name.getOperationId()))); return this; }
public BasicSearch selectIssueStatus(String status) { issueStatusSelect.select(Options.text(status)); return this; }
public UserBrowserPage filterByApplication(String application) { filterApplicationsSelect.select(Options.value(application)); return submitForm(); }
public MoveIssueUpdateStatus setNewStatus(String newStatus) { statusSelect.select(Options.text(newStatus)); return this; }
public UserBrowserPage setUserFilterToShowAllUsers() { filterUsersPerPage.select(Options.value(MAX)); return submitForm(); }
AssociateIssueOperationToScreenForm setScreen(String name) { screenElement.select(Options.text(name)); return this; }
public UserBrowserPage setUserFilterTo10Users() { filterUsersPerPage.select(Options.value(TEN)); return submitForm(); }