Class DashboardEditPage


  • public class DashboardEditPage
    extends BaseElement
    Since:
    14.9
    Version:
    $Id: a4a82759782a47d8b0df15a046d2016c8741167c $
    • Constructor Detail

      • DashboardEditPage

        public DashboardEditPage()
    • Method Detail

      • countGadgets

        public int countGadgets()
        Returns:
        the number of existing gadgets
      • clickAddGadget

        public MacroDialogSelectModal clickAddGadget()
        Click on the "Add gadget" button.
        Returns:
        a page object instance for the macro dialog selection modal opened after the click
      • waitForDashboardsCount

        public void waitForDashboardsCount​(int expectedCount)
        Wait until the number of dashboard matches the expected count.
        Parameters:
        expectedCount - the expected number of dashboards
        Since:
        15.1, 14.10.6