Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewing past orders #37

Closed
mollybrown opened this issue Jan 5, 2017 · 1 comment
Closed

Viewing past orders #37

mollybrown opened this issue Jan 5, 2017 · 1 comment
Assignees

Comments

@mollybrown
Copy link
Contributor

mollybrown commented Jan 5, 2017

Will artifically seed order history for a given user, then test checkout and order functionality from there.

Background: An existing user that has multiple orders
As an Authenticated User
When I visit "/orders"
Then I should see all orders belonging to me and no other orders

body: >
Background: An existing user that has one previous order
As an authenticated user
When I visit "/orders"
Then I should see my past order
And I should see a link to view that order
And when I click that link
Then I should see each item that was order with the quantity and line-item subtotals
And I should see links to each item's show page
And I should see the current status of the order (ordered, paid, cancelled, completed)
And I should see the total price for the order
And I should see the date/time that the order was submitted
If the order was completed or cancelled
Then I should see a timestamp when the action took place

@jdconrad89
Copy link
Collaborator

jdconrad89 commented Jan 10, 2017

Style and dictate information seen on the index and show pages (new subtotal and quantity methods for this page?) make more tests?

@jdconrad89 jdconrad89 self-assigned this Jan 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants