Feature: Adding product

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