@insights_regression
@insights_search
Feature: Search By Song Name

  Background: Account Page is opened in default state
    Given an orchard employee multiaccount1 for insights
    And I log in to Insights silently

  @id_684b0874e97049e8ea218cd74b9887e383ca6dad66851e37cd355c567ce9ca1a
  Scenario: [Regression][Search] Search on Song tab
    When I search for co term
    And I can navigate to the Songs tab on the page
    Then I can see co in song tab Search page results

  @id_4855cad83f83b0c711b6d3facff6cfb45b1c0f7ab2d342da3a315fda5c4b1a84
  Scenario: [Regression][Search] Song tab Exact Phrase switch
    When I search for co term
    And I can navigate to the Songs tab on the page
    And I uncheck Exact Phrase checkbox on the Search page
    Then I can see co in song tab Search page results
    And I check Exact Phrase checkbox on the Search page
    And I uncheck Exact Phrase checkbox on the Search page
    Then I can see co in song tab Search page results

  @id_1c22bee5e3ae1d8fd50e9d6b6aeeb2c43076d3a39ac2bda8ef79ed90f93e2bde
  Scenario: [Regression][Search] Change search request
    When I search for co term
    And I can navigate to the Songs tab on the page
    And I uncheck Exact Phrase checkbox on the Search page
    And I uncheck My Catalog Only checkbox on the Search page
    Then I can see co in song tab Search page results
    And I type As It Was on the Search page
    Then I can see As It Was in song tab Search page results
