@insights_regression
@insights_song
@insights_song_playlists
Feature: Song Playlists Tab Current And Past Tabs Table And Data

  Background: Login to Insights
    Given an orchard employee multiaccount1 for insights
    And I log in

  @IN-13262
  @id_55cd712c69ccd48d89755d1ceb3d2e2765462febbd5fd6785f6f96dcc5463894
  Scenario Outline: [Song> Playlists tab> Current/Past] Table updates and data verification. - <appearances> table updates and data
    When I visit the insights /song/QM6MZ2214888/playlists?playlistAppearances=<appearances> page
    Then I can see default columns for <appearances> appearances on playlists on Song page
    And I can apply all columns on playlists on Song page
    Then I can see all columns for <appearances> appearances on playlists on Song page
    And I can verify columns data playlists on Song page

    Examples:
      | appearances |
      | past        |
      | current     |

  @id_3f490528c97cd51da86175c041d05a2115ef05e0abbe06d7afaf33a8e8525111
  Scenario Outline: [Song> Playlists tab> Current/Past] Table updates and data verification. - <appearances> pagination and list
    When I visit the insights /song/QM6MZ2214888/playlists?playlistAppearances=<appearances> page
    And I can select Select all type
    Then I see a page with a table with 200 rows on Playlists tab
    And I can verify pagination hover 1 in the grid
    And I can verify pagination popover for 1 page and 200 count in the grid
    And I can select pagination popover <count> count in the grid

    Examples:
      | appearances | count |
      | past        | 50    |
      | current     | 10    |
