@insights_regression
@insights_song
Feature: Song Playlists Tab Sum Rows

  @id_7f63127e9c812e050d8a760ac5d5a591956163a6d2ef1197f0ba39b135b4d4ab
  Scenario Outline: [Song> 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 /song/QM6MZ2214888/playlists?store=<store>&limit=10 page
    Then I can verify <isPresent> present playlists on Song page

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

  @IN-13321
  @id_68d9169eefddfa2d18185423a3edf09559d5734cddde5ada2cbea592fe7d66f0
  Scenario: [Song> 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 /song/QM6MZ2214888/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 Song page
    And I can verify exported csv all current columns playlists on Song page
    And I can verify exported csv all columns data playlists on Song page

  @id_3b5a40997277da97bd1d759049f4e266a0b289470898273cf8c9dd0c11588d5a
  Scenario: [Song> 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 /song/QM6MZ2214888/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
