@legacy
@oa
Feature: OA Quick Search Release
  to quickly find releases
  As a Client Manager
  Quick Search must return expected releases

  # these are basic regression tests for release quick search. they aren't inspired by any gaps in coverage
  # in unit tests, but they run quickly and are good for sanity. if they are result in false positives then
  # they should probably be abandoned.
  @id_14b5cbeb8c0057ad91e1cf568d865df67d0e9cb468d907da2204bc48bc9dfbe5
  Scenario: Select Release
    Given an orchard employee cypress_manager_1 visits OA
    And I log in to OA
    Given A common release title
    When I search Releases for the title
    And I select a release
    Then I am on the correct release page in oa

  @id_cd80f6c124ea20bac39729fe793af130707a395d3f0c1404c94e41a0fb020559
  Scenario: Valid UPC returns single release
    Given an orchard employee cypress_manager_1 visits OA
    And I log in to OA
    Given A valid UPC
    When I search Releases for the UPC
    Then I am on the correct release page in oa

  @regression
  @ows_features
  @id_ef199c0684eff6bb53bbfe0fef542022fe727c74b8b6dfed29fff0934cde529b
  Scenario: Valid Release ID returns single release
    Given an orchard employee cypress_manager_1 visits OA
    And I log in to OA
    Given A valid Release ID
    When I search Releases for the ID
    Then I am on the correct release page in oa

  @id_d556bd8d5723f7e140282c39276deaf717c838358403d040099e535dcbe596b7
  Scenario: Valid ISRC returns single release
    Given an orchard employee cypress_manager_1 visits OA
    And I log in to OA
    Given A valid track ISRC
    When I search Releases for the ISRC
    Then I am on the correct release page in oa

  @id_4d4944530a01f39bf1d0f7fde8051d0729cd65d70b01197e983367b99dc8d4b4
  Scenario: Select, De-select facets
    Given an orchard employee cypress_manager_1 visits OA
    And I log in to OA
    Given A common release title
    When I search Releases for the title
    And I select a Genre facet
    Then The facet is applied
    When I de-select the facet
    Then The facet is not applied
