Tabnine Logo
PageElement.isVisible
Code IndexAdd Tabnine to your IDE (free)

How to use
isVisible
method
in
com.atlassian.pageobjects.elements.PageElement

Best Java code snippets using com.atlassian.pageobjects.elements.PageElement.isVisible (Showing top 20 results out of 315)

origin: com.atlassian.jira/atlassian-jira-pageobjects

  @Override
  public boolean apply(PageElement input)
  {
    return input.isVisible();
  }
};
origin: com.atlassian.support/stp-page-objects

  @Override
  public Boolean get() {
    return !healthStatusLoadingSpinner.isVisible();
  }
}), CoreMatchers.is(true), Poller.by(30, TimeUnit.SECONDS));
origin: com.atlassian.jira/atlassian-jira-pageobjects

@Override
public boolean isShowing()
{
  return webSudoBanner.isPresent() && webSudoBanner.isVisible();
}
origin: com.atlassian.jira.plugins/jira-dvcs-connector-pageobjects

/**
 * @return True if this account is Integrated account.
 */
public boolean isIntegratedAccount() {
  return onDemandDecorator.isPresent() && onDemandDecorator.isVisible() &&
      onDemandDecorator.getAttribute("title").equalsIgnoreCase("Integrated account");
}
origin: com.atlassian.jira/atlassian-jira-pageobjects

public boolean checkIfPrivateSignUpIsVisible()
{
  final PageElement disabledSignUp = loginForm.find(By.id("signup-disabled"), TimeoutType.AJAX_ACTION);
  Poller.waitUntilTrue(disabledSignUp.timed().isVisible());
  return (disabledSignUp.isVisible() && !signUpHint.isVisible());
}
origin: com.atlassian.jira/atlassian-jira-pageobjects

public boolean canDelete()
{
  final PageElement element = getDeleteElement();
  return element.isPresent() && element.isVisible();
}
origin: com.atlassian.jira/atlassian-jira-pageobjects

public Set<String> getWarningWorkflows()
{
  Set<String> workflows = Sets.newHashSet();
  for (IssueTypeEntry issueType : getIssueTypes())
  {
    if (issueType.getWarningIcon().isVisible())
    {
      workflows.add(issueType.getAssignedWorkflow());
    }
  }
  return workflows;
}
origin: com.atlassian.jira/atlassian-jira-pageobjects

public boolean canAssign()
{
  final PageElement assignElement = getAssignElement();
  return assignElement.isPresent() && assignElement.isVisible();
}
origin: com.atlassian.applinks/applinks-pageobjects

  public ListApplicationLinkPage close() {
    PageElement closeLink = dialog.find(By.cssSelector("a.applinks-cancel-link"));
    if (!closeLink.isVisible()) {
      throw new IllegalStateException("the link for closing the orphaned trust relationship dialog is not visible to the user");
    }
    closeLink.click();
    return nextPage;
  }
}
origin: com.atlassian.applinks/applinks-pageobjects

  public void confirm() {
    PageElement deleteButton = orphanedTrustDialog.find(By.cssSelector("button.wizard-submit"));
    if (!deleteButton.isVisible()) {
      throw new IllegalStateException("delete button in the delete orphaned trust relationship dialog is not visible to the user");
    }
    deleteButton.click();
  }
}
origin: com.atlassian.confluence/confluence-webdriver-pageobjects

public TimedCondition isVisibleTimed() {
  // Some dialogs can do things like WRM.require() / other AJAX-y stuff, which blocks their display.
  return Conditions.forSupplier(timeouts.timeoutFor(TimeoutType.SLOW_PAGE_LOAD), () -> getDialog().isPresent() && getDialog().isVisible() &&
      (!confluenceLoadingIndicator.isPresent() || !confluenceLoadingIndicator.isVisible()) &&
      (!confluenceLoadingBlanket.isPresent() || !confluenceLoadingBlanket.isVisible()));
}
origin: com.atlassian.confluence/confluence-webdriver-pageobjects

public void dismiss() {
  if (flagElement.isVisible()) {
    flagElement.find(By.className("icon-close")).click();
  }
}
origin: com.atlassian.jira/atlassian-jira-pageobjects

private void clickExpanderIfNecessary()
{
  final PageElement expander = row.find(By.className("aui-iconfont-collapsed"));
  if (expander.isVisible())
  {
    expander.click();
  }
}
origin: com.atlassian.jira/atlassian-jira-pageobjects

  @Override
  public Boolean get()
  {
    actions.moveToElement(row).perform();
    return row.find(By.className("attachment-delete")).isVisible();
  }
}));
origin: com.atlassian.applinks/applinks-pageobjects

public boolean isDisablingOutgoing2LOSuggestionMessagePresent() {
  Poller.waitUntilTrue(outgoingTwoLOFooterDiv.timed()
      .isPresent());
  return suggestDisablingTwoLODiv.isPresent() && suggestDisablingTwoLODiv.isVisible();
}
origin: com.atlassian.confluence/confluence-webdriver-pageobjects

public TimedQuery<Boolean> hasMacroPlaceholder(final String macroName) {
  return execute.queryOnTinyMceIFrame(() -> {
    final PageElement pageElement = page.find(By.cssSelector("[data-macro-name='" + macroName + "']"));
    return pageElement.isPresent() && pageElement.isVisible();
  });
}
origin: com.atlassian.confluence/confluence-webdriver-pageobjects

/**
 * Opens the table picker dropdown if it is currently closed.
 */
public void activatePicker() {
  if (pickerBox.isVisible())
    return;
  pickerButton.click();
  Poller.waitUntilTrue(pickerBox.timed().isVisible());
}
origin: com.atlassian.jira/atlassian-jira-pageobjects

public void openCreateIssue()
{
  if (!summaryField.isVisible())
  {
    createIssueButton.click();
  }
  Poller.waitUntilTrue(Conditions.and(
      issueTypeIcons.timed().isPresent(), // Wait for issue types to load
      summaryField.timed().isVisible()
  ));
}
origin: com.atlassian.confluence/confluence-webdriver-pageobjects

  public TimedCondition isVisibleTimed() {
    // Dialog2 has visibility set to hidden on its container, so need to assert the dialog content is visible instead
    return Conditions.forSupplier(timeouts.timeoutFor(TimeoutType.SLOW_PAGE_LOAD), () -> getDialog().isPresent() && getDialog().find(By.className(CONTENT_CLASSNAME)).isVisible());
  }
}
origin: com.atlassian.confluence/confluence-webdriver-pageobjects

  /**
   * Wait until Insert File Dialog finish loading files.
   */
  public void waitUntilLoadedFiles() {
    PageElement loadingElement = attachedImages.find(By.className("loading-message"));
    if (loadingElement.isPresent() && loadingElement.isVisible()) {
      Poller.waitUntilFalse(loadingElement.timed().isVisible());
    }

    waitUntilTrue(panel.find(By.cssSelector("li.attached-file")).timed().isVisible());
  }
}
com.atlassian.pageobjects.elementsPageElementisVisible

Popular methods of PageElement

  • timed
  • click
  • getAttribute
  • find
  • getText
  • isPresent
  • javascript
  • type
  • clear
  • getValue
  • findAll
  • isSelected
  • findAll,
  • isSelected,
  • select,
  • withTimeout,
  • hasAttribute,
  • hasClass,
  • getSize,
  • getTagName,
  • isEnabled

Popular in Java

  • Reading from database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onRequestPermissionsResult (Fragment)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • JButton (javax.swing)
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now