/** * @since 4.0.15 */ public boolean isOutgoing2LOiEnabled() { return outgoingTwoLoiEnableCheckBox.isSelected(); }
public boolean getTwoLOImpersonationAllowed() { return Boolean.parseBoolean(twoLOImpersonationAllowedField.getText()); }
public LinkJiraSection createReciprocal() { createReciprocalCheckbox.check(); return this; }
public HowTo uncheckDontShow() { dontShow.uncheck(); return this; } }
/** * Revoke all users shown on the page to have access to the specified application, and expect a warning message * dialog pops up. Changes will not be applied until {@link #applyChanges()} is called. * It proceeds by unticking the master checkbox. * The master must be ticked before the call * * @param application application to grant to all users on the page * @return RevokeAccessWarningMessageDialog * @throws IllegalStateException if the master checkbox isn't ticked */ public RevokeAccessWarningMessageDialog revokeAllExpectingWarningMessage(final SupportedApplication application) { String checkboxName = String.format("%s-masterCheckbox", application.name()); CheckboxElement checkbox = table.find(By.id(checkboxName), CheckboxElement.class); if (!checkbox.isSelected()) { throw new IllegalStateException("The master checkbox must be ticked before calling revokeAll"); } checkbox.uncheck(); return pageBinder.bind(RevokeAccessWarningMessageDialog.class); }
public void uncheckAllSections() { clickCustomizeButton(); for (CheckboxElement checkbox : body.findAll(By.cssSelector("#support-zip-modal input[type=checkbox]"), CheckboxElement.class)) { checkbox.javascript().execute("arguments[0].scrollIntoView()"); checkbox.uncheck(); } }
public void verifySectionsUnchecked() { for (CheckboxElement checkbox : body.findAll(By.cssSelector("#support-zip-modal input[type=checkbox]"), CheckboxElement.class)) { assertFalse("Modal checkbox " + checkbox.getAttribute("name") + " was checked and should not be!", checkbox.isSelected()); } }
public TimedCondition isTlsRequired() { return tlsRequired.timed().isSelected(); }
public BulkEdit selectAllIssues() { all.check(); return this; }
/** * @since 4.0.15 */ public OauthOutgoingAuthenticationWithAutoConfigSection uncheckOutgoing2LOi() { outgoingTwoLoiEnableCheckBox.uncheck(); return this; }
public ListApplicationLinkPage configureOneWayLinkAsAdmin() { Poller.waitUntilTrue(reciprocalLinkCheckbox.timed().isVisible()); reciprocalLinkCheckbox.uncheck(); FindUtils.findVisibleBy(By.cssSelector("#add-application-link-dialog .wizard-submit"), elementFinder).click(); return pageBinder.bind(ListApplicationLinkPage.class); }
public void verifySectionsChecked() { for (CheckboxElement checkbox : body.findAll(By.cssSelector("#support-zip-modal input[type=checkbox]"), CheckboxElement.class)) { assertTrue("Modal checkbox " + checkbox.getAttribute("name") + " was not checked and should be!", checkbox.isSelected()); } }
/** * @since 4.0.15 */ public TimedCondition isOutgoing2LOiEnabledTimed() { return outgoingTwoLoiEnableCheckBox.timed() .isSelected(); }
public RevokeAccessWarningMessageDialog dontShowAgain() { dontShowAgain.check(); return this; }
public OauthIncomingAuthenticationWithAutoConfigSection uncheck2LO() { twoLOEnabledCheckbox.uncheck(); return this; }
public boolean getEnabled() { return enabled.isSelected(); }