@insights_regression
@insights_artist
Feature: Artist Playlists Tab Sum Rows

  @id_c7b915f6e71065016f79a6c45d1a6cc218af19b78256f6ccff32dbabed0b5bdf
  Scenario Outline: [Artist> Playlists tab] SUM rows verification. - store <isPresent> present
    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?store=<store>&limit=10 page
    Then I can verify <isPresent> present playlists on Artist page

    Examples:
      | store | isPresent |
      | 1     | is        |
      | 286   | is not    |

  @IN-14548
  @id_642a2fe765f34e49966bd062ed918655b70034d7fd6652afa4efc0f8553a3376
  Scenario: [Artist> Playlists tab] SUM rows verification. - 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?store=1&limit=10 page
    Then I can expand sum row playlists on Song page
    And I can check all columns on playlists on Artist page
    And I can verify exported csv all current columns playlists on Artist page
    And I can verify exported csv all columns data playlists on Artist page

  @id_ab9711cdd311aff8d843fe46646070f43d4f0f694814ce1b266086702d5f5046
  Scenario: [Artist> Playlists tab] SUM rows verification. - 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?store=1&limit=20 page
    Then I can expand sum row playlists on Song page
    And I can open popover in the grid
    And I can select pagination popover 10 count in the grid
