@insights_regression
@insights_product
Feature: [Product> Playlists> Details Popup] Filters verification.

  Background: Product Page Playlist tab is opened in default state
    Given an orchard employee multiaccount1 for insights
    And I log in

  @IN-13784
  @insights_product_playlists_popup
  @id_f94336d76343813e44f05f32155dff8f50c21b56d1f6c6731eaff6a0f14ca175
  Scenario: [Product> Playlists> Details Popup] Filters verification. - period filter
    When I visit the insights /product/196626945068/playlists?offset=0&limit=10 page
    And I can open popup from table view on Playlist tab on Product page
    Then I can see All Time period selected on Playlist Digest popup
    And I can verify Streams from Playlists data for All Time on Playlist Digest popup on Product page
    And I can verify period dd structure on Playlist Digest popup
    Then I can select Past 7 Days period on Playlist popup
    And I can verify period dd structure on Playlist Digest popup

  @id_43c140f6e61fd602c8bf263176cc13b89a64e827f95d6144e41670f52b1bab9a
  Scenario: [Product> Playlists> Details Popup] Filters verification. - market filter
    When I visit the insights /product/196626945068/playlists?playlistAppearancesFilter=past&offset=0&limit=50 page
    And I can open popup from table view on Playlist tab on Product page
    Then I can verify market filter on Playlist Digest popup on Product page
    And I can select United States market popup on Playlist Digest on Product page
    And I can click x-close icon popup on Playlist Digest on Product page
    Then I can verify Global market selected on Playlist Digest popup on Product page
    And I can select Åland Islands market popup on Playlist Digest on Product page
