edwardrutz / bangazon-site Goto Github PK
View Code? Open in Web Editor NEWSprint 3
Sprint 3
Given a user is authenticated
And performs a gesture on the Sell a product hyperlink
When the product form is rendered
Then there should be a dropdown that displays all product categories
Given a user has filled out the product form, but not chosen a category
When the user clicks on the Sell button
Then the user should be alerted to select a product category
Given a user is viewing any page on the Bangazon site
When the user performs a gesture on the Product Categories hyperlink
Then the user will see a view containing a list of all product categories
And next to the category name, the number of products in that category will be displayed
And the first three products in the category will be displayed beneath each category, that are hyperlinks to the product detail
Electronics (15)
Dryer
HD Television
Sony Walkman
Sporting Goods (7)
Football
Ice skates
Basketball hoop
Given the user is authenticated
When the user clicks on the My Products hyperlink in the navigation bar
Then the user will be presented with a list of products they (s)he has posted for sale
Given the list of products is presented to the user
When the user clicks the Delete button next to a posted product
Then the product for sale is removed from the system
Given user is viewing any page that contains a hyperlink for a product
When user performs a gesture on the product hyperlink
Then user will be shows the product detail page containing title, description, quantity available, price/unit, and a button labeled Add to Order
Given 1+ users have purchased a product
When a user views the details
Then the quantity display should show how many are remaining, not how many were originally for sale
Given the user is on any page of the Bangazon site
When the user performs a gesture on a product category name
Then a list of all products in that category will be displayed, with title, quantity, and price/unit
Seed tables with example data for testing.
Given the user is uploading a product
When the user clicks "upload photo"
And selects a file
Then a thumbnail of the image will show in the Product Detail view
Given a user is uploading a product to sell
When the product form is displayed
Then the user will have an option to specify that local delivery is available
And the user can add the city to be used as a searchable field in the main application
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 can 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 can 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.