@Override public TimedCondition isAt() { return Conditions.and(transitionPropertiesTable.timed().isPresent(), isTransitionPropertyTableReady()); }
@Override public TimedCondition isAt() { return Conditions.and(issueSecurityTable.timed().isPresent(), Conditions.forMatcher(schemeIdElement.timed().getValue(), Matchers.equalTo(String.valueOf(schemeId)))); }
@Override public TimedCondition isAt() { return Conditions.and(selectElement.timed().isPresent(), Conditions.forMatcher(projectIdElement.timed().getValue(), Matchers.equalTo(String.valueOf(projectId)))); }
@Override public TimedCondition isAt() { return Conditions.and( schemeTable.timed().isPresent(), Conditions.forMatcher(schemeTable.timed().getAttribute("data-schemeid"), Matchers.equalTo(String.valueOf(schemeId))) ); }
@Override public TimedCondition isAt() { TimedCondition result = name.timed().isPresent(); if (fieldConfigId >= 0) { result = Conditions.and(result, name.timed().hasAttribute(DATA_ID, valueOf(fieldConfigId))); } return result; }
protected TimedQuery<Boolean> isPresent() { return Conditions.and( selectDiv.timed().isPresent(), textArea.timed().isPresent() ); }
@Override public TimedCondition isAt() { return and(userGroupPickerContainer.timed().isPresent(), hasAvailableGroupsSelectOrInfoMessage(), hasGroupsToLeaveSelectOrInfoMessage()); }
@Override public TimedCondition isAt() { return Conditions.and(header.timed().isPresent(), addWorkflowLink.timed().isPresent()); }
@Override protected TimedCondition isAt() { return Conditions.and( content.timed().isVisible(), createIssuesForm.timed().isVisible() ); }
protected void waitUntilClosed() { TimedElement timed = getDialogElement().timed(); waitUntilFalse(and(timed.isPresent(), timed.isVisible())); }
public TimedQuery<Boolean> isNotificationsChecked() { return Conditions.and(getDialogElement().timed().isPresent(), sendNotifications.timed().isSelected()); }
public TimedCondition isSuggestionsOpen() { return Conditions.and(getActiveLayer().timed().isPresent(), Conditions.forSupplier(timeouts, () -> getActiveLayer().find(By.id(getId() + "-suggestions")).isPresent())); }
public void waitUntilFinishedLoading() { final PageElement trobber = find(By.className("throbber")); if (!trobber.isPresent()) { throw new RuntimeException("Loading indicator not present."); } waitUntilTrue(and(isOpen(), not(trobber.timed().hasClass("loading")))); }
@Override public TimedCondition isAt() { return Conditions.and( advancedPropertiesTable.timed().isPresent(), advancedPropertiesTable.find(By.cssSelector(".aui-restfultable-row")).timed().isPresent()); }
@WaitUntil public void await() { waitUntilTrue(Conditions.and(dialog.timed().isPresent(), dialog.timed().isVisible())); }
public TimedCondition isUserCreatedFlagVisible(String username) { final TimedElement flagElement = elementFinder.find(By.className("user-created-flag-single")).timed(); return Conditions.and(flagElement.isVisible(), Conditions.isEqual(username, flagElement.getAttribute("data-user-created"))); }
public void openCreateIssue() { if (!summaryField.isVisible()) { createIssueButton.click(); } Poller.waitUntilTrue(Conditions.and( issueTypeIcons.timed().isPresent(), // Wait for issue types to load summaryField.timed().isVisible() )); }
@Override public TimedCondition isAt() { return Conditions.and(jwdElement.timed().isPresent(), Conditions.not(progressIndicatorBlanket.timed().isPresent()), getWorkflowHeader().isPresentCondition(workflowName)); }
@Override public AdvancedApplicationProperty revert() { waitUntilTrue("Tried to revert application property, but revert button could not be found", Conditions.and(revert.timed().isPresent(), Conditions.not(isLoading()))); revert.click(); waitUntilFalse(isLoading()); return this; }
@Override public TimedCondition isAt() { final Conditions.CombinableCondition allElementsCondition = Conditions.and( nameElement.timed().isPresent(), descriptionElement.timed().isPresent(), avatarPickerTrigger.timed().isPresent(), submitButton.timed().isPresent()); return allElementsCondition; }