Feature: Adding product category

  @javascript
  Scenario: Adding a product category
    Given there is a confirmed and open supplier
    And I am signed in as supplier
    And there are 2 supplier products
    And the supplier visits the new product category page
    And the supplier fills in the new product category form selecting the first product and available on tuesdays
    When the supplier submits the product category form
    Then then new product category with proper properties linked to the first product should have been created
    And the supplier should be on the product categoy overview path
    When the supplier clicks on the edit product category button
    And the supplier unchecks the first product and checks the last product
    And the supplier clicks on the tuesday and wednesday buttons selecting wednesday as active day
    And the supplier submits the product category form
    Then the the product category is active on wednesday and only linked to the last product


