public HowTo uncheckDontShow() { dontShow.uncheck(); return this; } }
/** * @since 4.0.15 */ public OauthOutgoingAuthenticationWithAutoConfigSection uncheckOutgoing2LOi() { outgoingTwoLoiEnableCheckBox.uncheck(); return this; }
public OauthIncomingAuthenticationWithAutoConfigSection uncheck2LO() { twoLOEnabledCheckbox.uncheck(); return this; }
public OauthOutgoingAuthenticationWithAutoConfigSection uncheckOutgoing2LO() { outgoingTwoLoEnableCheckBox.uncheck(); return this; }
public OauthIncomingAuthenticationWithAutoConfigSection uncheck2LOImpersonation() { twoLOImpersonationEnabledCheckbox.uncheck(); return this; }
public MailSetupPage setTlsRequired(boolean required) { if (required) { tlsRequired.check(); } else { tlsRequired.uncheck(); } return this; }
public OauthIncomingAuthenticationSection setTwoLOImpersonationAllowed(boolean twoLOImpersonationAllowed) { if (twoLOImpersonationAllowed) { twoLOImpersonationAllowedField.check(); } else { twoLOImpersonationAllowedField.uncheck(); } return this; }
public void setEnable(boolean isEnabled) { if (isEnabled) { enabled.check(); } else { enabled.uncheck(); } }
public OauthIncomingAuthenticationSection setTwoLOAllowed(boolean twoLOAllowed) { if (twoLOAllowed) { twoLOAllowedField.check(); } else { twoLOAllowedField.uncheck(); } return this; }
public void uncheckAllSections() { for (CheckboxElement checkbox : body.findAll(By.cssSelector("#support-zip input[type=checkbox]"), CheckboxElement.class)) { checkbox.uncheck(); } }
/** * Revokes the user's access to the application, and expects a warning message dialog pops up. * Changes will not be applied until {@link #applyChanges()} is called. * * @param username name of user to grant access to applications * @param application application to revoke the user's access from * @return RevokeAccessWarningMessageDialog */ public RevokeAccessWarningMessageDialog revokeAccessExpectingWarningMessage(final String username, final SupportedApplication application) { CheckboxElement checkbox = getUserApplicationAccessCheckbox(username, application); checkbox.uncheck(); return pageBinder.bind(RevokeAccessWarningMessageDialog.class); }
/** * 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 <T> T configureOneWayLink(Class<T> nextPageClass) { Poller.waitUntilTrue(reciprocalLinkCheckbox.timed().isVisible()); reciprocalLinkCheckbox.uncheck(); return clickNext(nextPageClass); }
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 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); }