devops-suppliers / suppliers

NYU DevOps Project - Suppliers
Apache License 2.0
0 stars 1 forks source link

Update a Supplier #54

Closed OliviaJacopetti closed 4 years ago

OliviaJacopetti commented 4 years ago

As a Supplier Manager I need a RESTful supplier catalog service So that I can keep track of all my suppliers and their products

Assumptions:

UI for the application exist BDD .feature file and accompanying steps.py files to test RESTful API from the outside in

Acceptance Criteria: Scenario: Update a supplier Given the following | id | name | category | preferred | | 1 | John | home & furnishing | True | | 2 | Jane | apparel | True | | 3 | Jack | apparel | True |

When I visit the "Home Page" And I press the "Suppliers" button And I select a supplier Then I should be able to alter attributes about the supplier

---EXAMPLE--- Change supplier to preferred

As a User I need the update some suppliers to preferred So that I can prioritize suppliers when restocking inventory

Assumptions: • Each supplier will have several fields to edit

Acceptance Criteria: When I navigate to a supplier And I change "False" to "True" under "Preferred" And select "Save" Then I should see the supplier updated

---End of EXAMPLE---