Feature: React Catalog

  @frontend_catalog
  Scenario Outline: React catalog page filters works
    Given I am on the ReactWorkstation::ReactCatalogPage
    And I select releases with <filter_type>: <selected_filters>
    Then I should see the updated search results filtered by <filter_type>

    Examples:
      | filter_type  | selected_filters       |
      | product type | Physical, Digital      |
      | status       | submitted, in progress |
      | date         | upcoming               |

  @frontend_catalog
  Scenario: Search on React Catalog Home Page
    Given I am on the ReactWorkstation::ReactCatalogPage
    And I search for releases in catalog matching the term "Let"
    Then I should see "Let" in results
