@collaborators
@my-catalog
@deprecated
Feature: My Catalog page

  Background: Log in
    Given an orchard employee e2e for collaborators
    When I log in to collaborators silently
    And I open My Catalog page
    And I select vendor "Membran Digital" in My Catalog page

  @id_049e9e57262e80d4d547646413b89abfc4b6e5bfb4fb7ed8f49590ebefb6d5f5
  Scenario: Showing the client's catalog of Products
    Then vendor title "Membran Digital • 25153" is shown in My Catalog page
    And filters are shown in My Catalog page
    And table with default columns is shown in My Catalog page
    And valid data is shown in the My Catalog table

  @id_990ba9520ddac9801656da1ea1dfb6e6c6c57973760bf9d8a38cf1e294d7b1cd
  Scenario Outline: Filtering the list of products based on a product search
    When I filter the list by some existing product <text>
    Then valid data based on a product search is received
    And valid data is shown in the My Catalog table
    And products table contain only one row

    Examples:
      | text |
      | name |
      | UPC  |

  @id_e9d22508643b6cb5ffc690360de7a1c3ba90ea768faba4bf43a11fe64b9a1f51
  Scenario: Filtering the list of products based on an artist search
    When I filter the list by some artist that has products
    Then valid data based on an artist search is received
    And valid data is shown in the My Catalog table

  @id_e6950012b493317442bbfd80da91a2d0792473c290d87046229ba263e3f03c21
  Scenario: Filtering the list of products based on a subaccount selection
    When I filter the list by some subaccount that exists in account
    Then valid data based on a subaccount selection is received
    And valid data is shown in the My Catalog table

  @id_b13cf9fae8155618e2d2f8d924063d968c6a02091327db4405b80042e43dd831
  Scenario Outline: Filtering the list of products based on the splits they have
    When I filter the list by split status <status>
    Then valid data based on a split status <status> is received
    And valid data is shown in the My Catalog table

    Examples:
      | status                       |
      | Products with no splits      |
      | Products with missing splits |

  @id_0c0934176b5153b2385bf2a580a8fc954aa2646621fd891503b12869ede9bd78
  Scenario: Navigating to the product splits setup page from My Catalog page
    Then every product name in the table includes link to splits setup page
    When I click on product name in row 1
    Then product splits setup page is shown
