blathering-barnacles / Bangazon-2

Sprint 2
1 stars 1 forks source link

Customer can add a product to sell #1

Open kimberly-bird opened 5 years ago

kimberly-bird commented 5 years ago

Given the user is not authenticated When any view renders Then the Sell a Product affordance will not be visible

Given the user is authenticated When the user clicks on the Sell a product button in the menu bar Then the user will be presented with a product form

Given the user has filled in all fields of the product form with valid information When the user clicks the Sell button Then the user will be redirected to the product detail view for that product

Given the user has filled in all fields of the product form with any invalid information When the user clicks the Sell button Then the user will be immediately notified with error information for each invalid value

rjlancaster commented 5 years ago
  1. must go through authentication check before the Sell Product button shows up. Possibly use the "logged-in" decorator.
  2. Question: will the sell button show up on any view?
  3. Sell Product button directs over to Sell form.
  4. Once filled out, the form checks for invalid info.
rjlancaster commented 5 years ago

Is the local city entered as a string or is the city selected from a dropdown? Location is a nullable field on product, saved as a string (not using user address)