java.lang.Object
com.redhat.devtools.intellij.commonuitest.utils.steps.SharedSteps

public class SharedSteps extends Object
SharedSteps provides a collection of utility methods that can be used across the entire IntelliJ platform. These methods facilitate common automation steps that can be reused in various test scenarios.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    waitForComponentByXpath(com.intellij.remoterobot.RemoteRobot robot, int duration, int interval, com.intellij.remoterobot.search.locators.Locator xpath)
    Waits for a component to be visible within the IDE's UI hierarchy based on the provided XPath locator.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • waitForComponentByXpath

      public static void waitForComponentByXpath(com.intellij.remoterobot.RemoteRobot robot, int duration, int interval, com.intellij.remoterobot.search.locators.Locator xpath)
      Waits for a component to be visible within the IDE's UI hierarchy based on the provided XPath locator.
      Parameters:
      robot - The RemoteRobot instance for interaction with the IntelliJ IDEA UI.
      duration - The maximum time to wait for the component to become visible, in seconds.
      interval - The interval at which to check the component's visibility, in seconds.
      xpath - The XPath locator used to find the component within the UI hierarchy.