@insights_regression
@insights_song
@insights_song_playlists
Feature: Song Playlists Tab Exact Phrase Search

  Background: [Regression][Song] Playlist tab
    Given an orchard employee multiaccount1 for insights
    And I log in
    When I visit the insights /song/QM6MZ2214888/playlists page

  @IN-13258
  @id_1e19e39d46151342f3fda48b51aaa683c3f1701fac691a30d2ef7a2dc0353258
  Scenario: [Song Page] Playlist tab Exact Phrase Search verification. - no data
    And I save the list of playlists on Song 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 Song page

  @id_34918c2b61eb09a45063b64e2958ff0504f0412b81a7aed1c4fbc5ceda0d0265
  Scenario Outline: [Song Page] Playlist tab Exact Phrase Search verification. - search by <isPart> playlist name
    Then I search by <isPart> playlist and verify playlists on Song page

    Examples:
      | isPart |
      | full   |
      | part   |

  @id_6f83496dbd3d04d9ae3f15c267249179b5f8d189aa54cd09eb1a736be70f6155
  Scenario Outline: [Song Page] Playlist tab Exact Phrase Search verification. - search by <isPart> curator name
    Then I search by <isPart> curator and verify playlists on Song page

    Examples:
      | isPart |
      | full   |
      | part   |

  @id_2042b628273f22a983961632d55bcfc75fd12e3bb89857abe9e0a96bfdf54087
  Scenario: [Song Page] Playlist tab Exact Phrase Search verification. - search with filter
    And I can select Select all type
    Then I search by full curator and verify playlists on Song page
