@insights_regression
@insights_artist
@insights_artist_playlists
Feature: Artist 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-14545
  @id_931a9a5fd2eea699a966b681578d747a8d23fbde975b2f08e3369866ddf3dcb8
  Scenario Outline: [Artist> Playlists tab> Current/Past] Table updates and data verification. - <appearances> table updates and data
    When I visit the insights /artist/e49ea9f9-0a74-4623-b3c6-ff819c7c0a4d/playlists?playlistAppearances=<appearances> page
    Then I can see default columns for <appearances> appearances on playlists on Artist page
    And I can apply all columns on playlists on Artist page
    Then I can see all columns for <appearances> appearances on playlists on Artist page
    And I can verify columns data playlists on Artist page

    Examples:
      | appearances |
      | past        |
      | current     |

  @id_7def36d4b6e738dfc38c96ab84ff7097567dbc463738e4aa00fc132686c4cd28
  Scenario Outline: [Artist> Playlists tab> Current/Past] Table updates and data verification. - <appearances> pagination and list
    When I visit the insights /artist/e49ea9f9-0a74-4623-b3c6-ff819c7c0a4d/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        | 100   |
      | current     | 10    |
