@insights_regression
@insights_charts
@donotfail
@IN-12200
Feature: Chart Search

  Background: Chart Page is opened
    Given an orchard employee single_label for insights
    When I log in to Insights silently
    Then I am successfully logged in to Insights

  @id_f88dd7da73960f48954939007a1ee7eeb2be9e08b43259555b38a8c18d8296a3
  Scenario Outline: [Regression][Chart] - Search on <type> chart
    When I visit the random insights <type> chart page
    And I see a chart table is loaded
    Then I save the list of <type> chart table
    When I search for random item from the list
    Then I see searched item first in the <type>s list
    When I search for dsfdvdsvsdvsv item on the page
    Then "No Results" message on the page
    When I clear search filter
    Then I see the same <type> list of chart table as at the beginning

    Examples:
      | type  |
      | Video |
      | Track |
