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 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 EditIssueTypeSchemePage setDefaultIssueType(String issueTypeBug) { defaultOption.select(Options.text(issueTypeBug)); return this; }
public EditDetails selectLabelsOption(String option) { changelabels.select(Options.value(option)); return this; }
public AddIssueTypeToFieldConfigurationDialog setIssueType(final Option issueType) { assertDialogOpen(); issueTypeDropdown.select(issueType); return this; }
AssociateIssueOperationToScreenForm setScreen(String name) { screenElement.select(Options.text(name)); return this; }
/** * Select the given DVCS type in the dropdown * * @param type One of "bitbucket", "github", "githube" */ public void selectDvcsType(final String type) { dvcsTypeSelect.select(dvcsTypeSelect.getAllOptions() .stream() .filter(o -> o.value().equals(type)) .findFirst() .orElse(null)); }
public WorkflowTransitionDialog setResolution(String resolution) { SelectElement resolutionSelectList = pageElementFinder.find(By.id("resolution"), SelectElement.class); resolutionSelectList.select(Options.text(resolution)); 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 AddIssueTypeToScreenSchemeAssociationDialog setIssueType(final String issueType) { assertDialogOpen(); issueTypeDropdown.select(Options.text(issueType)); return this; }
public AddIssueTypeScreenSchemeDialog setScreenScheme(final String screenScheme) { assertDialogOpen(); screenSchemeDropDown.select(Options.text(screenScheme)); return this; }
public UserBrowserPage filterByApplication(String application) { filterApplicationsSelect.select(Options.value(application)); return submitForm(); }
public AddIssueTypeToScreenSchemeAssociationDialog setScreenScheme(final String screenScheme) { assertDialogOpen(); screenSchemeDropdown.select(Options.text(screenScheme)); return this; }
public EditGeneralConfigurationPage setJiraMode(JiraMode mode) { getSelect(PROPERTY_JIRA_MODE).select(Options.value(mode.optionValue())); return this; }
public EditUserGroupsPage removeFrom(final List<String> groups) { for (String group : groups) { joinedGroups.select(Options.text(group)); } leave.click(); return pageBinder.bind(EditUserGroupsPage.class, username); }
/** * 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; }