Class TimelinePanel

    • Field Detail

      • COMMENT_FIELD

        public static final com.codeborne.selenide.SelenideElement COMMENT_FIELD
      • VERSION_LABEL

        public static final com.codeborne.selenide.SelenideElement VERSION_LABEL
      • VERSION_COMMENT

        public static final com.codeborne.selenide.SelenideElement VERSION_COMMENT
    • Constructor Detail

      • TimelinePanel

        public TimelinePanel()
        Construct the Timeline Panel on the left Rail.
    • Method Detail

      • isOpened

        public boolean isOpened()
        Returns:
        true if this panel is selected and visible.
      • addComment

        public void addComment​(java.lang.String comment)
        Parameters:
        comment - add a comment text to current timeline.
      • saveVersion

        public void saveVersion​(java.lang.String label,
                                java.lang.String comment)
        Parameters:
        label - add a label to that version.
        comment - add a comment text to that version timeline.
      • getTimelineEvents

        public com.codeborne.selenide.ElementsCollection getTimelineEvents()
        Returns:
        all timeline event elements.
      • getExpandableTimelineEvents

        public com.codeborne.selenide.ElementsCollection getExpandableTimelineEvents()
        Returns:
        all timeline expandable event elements.
      • getActiveExpandableTimelineEvents

        public TimelineWorkflowEvent getActiveExpandableTimelineEvents()
        Returns:
        the timeline expandable active event element.
      • selectExpandableEventByTitle

        public TimelineWorkflowEvent selectExpandableEventByTitle​(java.lang.String title)
        Parameters:
        title - the title for this expandable event.
        Returns:
        the selected timeline event after opening it, or null if not found.
      • getTimelineBalloons

        public com.codeborne.selenide.ElementsCollection getTimelineBalloons()
        Returns:
        all timeline balloons elements.
      • getTimelineTitles

        public com.codeborne.selenide.ElementsCollection getTimelineTitles()
        Returns:
        all timeline titles elements.
      • more

        public void more()
        Click on the more action.
      • hasMore

        public boolean hasMore()
        Returns:
        true if the more button is displayed.
      • startWorkflow

        public void startWorkflow​(java.lang.String modelId,
                                  java.lang.String title)
        Parameters:
        modelId - the model Id to use.
        title - the title added to the workflow.