Feature: Adding product

  @javascript
  Scenario: Adding a product
    Given there is a confirmed and open supplier
    And I am signed in as supplier
    And there are 2 supplier sections
    And the supplier visits the tables page
    And the supplier clicks on the new table button
    And the supplier fills in the new table form selecting the first section
    When the supplier submits the table form
    And I wait 1 second
    Then the new supplier table with proper properties should have been created
    When the supplier clicks on the edit table button
    And the supplier changes the table number to 9 and section to the last section
    And the supplier submits the table form
    And I wait 1 second
    Then the supplier table should have number 9 and be linked to the last section
