@insights_regression
@insights_product
@insights_product_playlists_search_verification
Feature: Product Page Playlists Tab Search verification

  Background: [Product Page> Playlists] Search verification.
    Given an orchard employee multiaccount1 for insights
    And I log in
    When I visit the insights /product/196626945068/playlists?offset=0&limit=30 page

  @IN-13758
  @id_3681d943f131a28cec1769069aad72e5d24ec62c30f5df19ea7976c4849601b0
  Scenario: [Product Page> Playlists] Search verification - no data
    And I save the list of playlists on Product page
    When I search for sDsEFSdsdsd item on the page
    Then "No Results" message on the page
    And "No matching results found. Please clarify your search query or adjust your filters." message on the page
    When I clear search filter
    Then I see the same playlist list on Product page

  @id_bca1cda8c12eada39c732932dca422f833bfda19dd13a85e43d730dfa182d7ee
  Scenario: [Product Page> Playlists] Search verification - search by playlist/curator name
    Then I search by full playlist and verify playlists on Product page
    And I clear search filter
    Then I search by part playlist and verify playlists on Product page
    And I clear search filter
    Then I search by full curator and verify playlists on Product page
    And I clear search filter
    Then I search by part curator and verify playlists on Product page

  @id_f192154e15beaaf30be8c741f58e862311771c49e7ee3da3851f6b5bd1bc968c
  Scenario: [Product Page> Playlists] Search verification - search with filter
    And I can select Select all type
    Then I search by full curator and verify playlists on Product page
