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

  @id_96ab9c3453679d001a725b26ca23fda109c8609878e98ca3dc98354938f4a95d
  Scenario Outline: [Regression][Artist > Playlists tab] Customize popup verification. - columns <appearances>, export
    Given an orchard employee multiaccount1 for insights
    And I log in to Insights silently
    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_a72354871b3fafc9f86c68a35803c74d8ada17f129e77685549695fa88df910f
  Scenario Outline: [Regression][Artist > Playlists tab] Customize popup verification. - all columns <button>
    Given an orchard employee multiaccount1 for insights
    And I log in to Insights silently
    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>
    And 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_5e8e258f2aebc2524cbf33af1812a52f80f876f7595b36bef630eae144832b39
  Scenario: [Regression][Artist > Playlists tab] Customize popup verification. - and pagination
    Given an orchard employee multiaccount1 for insights
    And I log in to Insights silently
    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
