@insights_regression
@insights_song
@insights_song_charts
Feature: Song Page Charts Tab

  Background: [Regression][Song] Charts tab
    Given an orchard employee insightsreal for insights
    And I log in
    When I visit the insights /song/USSM19902991/charts page

  @IN-12525
  @id_927191baaa4dd3ea8d85b0cfb8593608a4b7bd8e61cc5b60b13d548781a152e7
  Scenario: [Regression][Song] Charts tab - view
    Then I can verify ui on charts tab Song page

  @IN-12550
  @id_4d3b3450caf20f3480657725eb255bad77d7b740c1a6b03ce702bacd7f8b731c
  Scenario: [Regression][Song] Charts tab - table sorting
    And I sort by Chart column on charts tab Song page
    Then I can verify table sorted by Chart column asc on charts tab Song page
    When I sort by Chart column on charts tab Song page
    Then I can verify table sorted by Chart column desc on charts tab Song page

    When I sort by Market Size column on charts tab Song page
    Then I can verify table sorted by Market Size column desc on charts tab Song page
    When I sort by Market Size column on charts tab Song page
    Then I can verify table sorted by Market Size column asc on charts tab Song page

  @IN-12553
  @id_c53344b776a6bbe3e3b4109fad4f18a3ed34a3d0582bcb641ccd53145fde0483
  Scenario Outline: [Regression][Song] Charts tab - filtering by <filter_value>
    And I select <filter_value> filter on charts tab Song page
    Then I can verify <column> column has <value> values on charts tab Song page

    Examples:
      | filter_value      | column   | value              |
      | Blues TYPE        | Chart    | Amazon Daily Blues |
      | Australia COUNTRY | Country  | Australia          |
      | Current PERIOD    | Position | positions          |

  @IN-12555
  @id_efe0e4c0e5a962ef83f1ec27d8d16b5245de236db7c1f16831489807da95c22e
  Scenario: [Regression][Song] Charts tab - row graph
    Then I can expand row graph on charts tab Song page
    And I can verify row graph tooltip data on charts tab Song page
    And I can collapse row graph on charts tab Song page

  @IN-12570
  @id_c63af78ed37a792f83d2309a0052f97a3c72ceabf667b6064cd87c97b823be81
  Scenario: [Regression][Song] Charts tab - entities data
    Then I can verify list of entities data on charts tab Song page
