@legacy @oa
Feature: OA Quick Search Release
  In order 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.

  Scenario: Select Release
    Given an OA Technology_manager user
    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

  Scenario: Valid UPC returns single release
    Given an OA Technology_manager user
    Given A valid UPC
    When I search Releases for the UPC
    Then I am on the correct release page

  @regression
  Scenario: Valid Release ID returns single release
    Given an OA Technology_manager user
    Given A valid Release ID
    When I search Releases for the ID
    Then I am on the correct release page

  Scenario: Valid ISRC returns single release
    Given an OA Technology_manager user
    Given A valid track ISRC
    When I search Releases for the ISRC
    Then I am on the correct release page

  Scenario: Select, De-select facets
    Given an OA Technology_manager user
    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
