@frontend_catalog
@graphql_product
Feature: Catalog

  @id_040e4d2593c5c3a5007b20fdf6421b54865ced5da8c610ea26ba912cb0338fcd
  Scenario: Validate that catalog page works
    Given an orchard employee label_25824_catalog_user visits workstation
    And I log in
    When I navigate to catalog workstation page
    Then I see that the workstation catalog page works

  @id_569627a908e65433948cd098d5352367b5bb6381587ffbbacc9214fa01914581
  Scenario: Search on Catalog Home Page
    Given an orchard employee label_15063_1 for workstation
    And I log in
    And I navigate to catalog workstation page
    And I look for releases in workstation catalog matching the term "dance"
    Then I should see "dance" in the workstation catalog results

  @id_37bcb3d3c5d14aced9ce471ec7a2c5047c206f0dc97f1ac45ad8147c658c87aa
  Scenario Outline: Search by using filters
    Given an orchard employee label_15063_1 for workstation
    And I log in
    And I navigate to catalog workstation page
    And I select releases with <filter_type>
    Then I should see the updated search results filtered by <filter_type>

    Examples:
      | filter_type  |
      | product type |
      # TMP disable
      # | status       |
      | date         |

  @id_a9592016221d5c2b35a7fd1ccb00ad510105e4ae05b0a5bbc370dda4a453bfd9
  Scenario: Search by using filters - sub account filter
    Given an orchard employee label_18805_new for workstation
    And I log in
    And I navigate to catalog workstation page
    And I select releases with subaccount
    Then I should see the updated search results filtered by subaccount
