@insights_regression
@insights_artist
@insights_artist_playlists
@IN-14543
Feature: Artist Playlists Tab Customize Popup

  @id_701e4c8e71e5cc2ce64c3c8d983d37f1788d7170d23a6594424d57d0611571eb
  Scenario Outline: [Regression][Artist > Playlists tab] Customize popup verification. - columns <appearances>, export
    Given an orchard employee multiaccount1 for insights
    And I log in
    When I visit the insights /artist/e49ea9f9-0a74-4623-b3c6-ff819c7c0a4d/playlists?playlistAppearances=<appearances>&limit=10 page
    Then I can verify exported csv default <appearances> columns playlists on Artist page
    And I can uncheck all columns on playlists on Artist page
    Then I can see obvious columns for <appearances> appearances on playlists on Artist page
    And I can verify exported csv obvious <appearances> columns playlists on Artist page

    Examples:
      | appearances |
      | past        |
      | current     |

  @id_81648727ab4a4a45f768f6bf6c883822509ca8602aad084bb77c86db740af7d2
  Scenario Outline: [Regression][Artist > Playlists tab] Customize popup verification. - all columns <button> (<appearances>, <columns>)
    Given an orchard employee multiaccount1 for insights
    And I log in
    When I visit the insights /artist/e49ea9f9-0a74-4623-b3c6-ff819c7c0a4d/playlists?playlistAppearances=<appearances>&limit=10 page
    And I can apply all columns on playlists on Artist page<button>
    Then I can see <columns> columns for <appearances> appearances on playlists on Artist page

    Examples:
      | appearances | button     | columns |
      | current     | and cancel | default |
      | past        | and close  | default |
      | past        |            | all     |

  @id_ad94a5b39b406afccbe58cb2c10fd20455f1505670bbba82dd9f635cb585f4b7
  Scenario: [Regression][Artist > Playlists tab] Customize popup verification. - and pagination
    Given an orchard employee multiaccount1 for insights
    And I log in
    When I visit the insights /artist/e49ea9f9-0a74-4623-b3c6-ff819c7c0a4d/playlists?offset=0&limit=10 page
    And I can click on next arrow popover in the grid
    And I can apply all columns on playlists on Artist page
    Then I can see all columns for current appearances on playlists on Artist page
