Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Sealed bid auctions - Vendors can update bid amount #1435

Open
4 tasks
mtorres253 opened this issue Nov 9, 2016 · 0 comments
Open
4 tasks

Sealed bid auctions - Vendors can update bid amount #1435

mtorres253 opened this issue Nov 9, 2016 · 0 comments

Comments

@mtorres253
Copy link
Contributor

mtorres253 commented Nov 9, 2016

So that I can correct errors in my sealed bid or update it when I get more information, as a vendor, I should be able to do this via the UI

  • Scenario: Vendor sees way to update a sealed bid

  • Given I am an authenticated vendor

  • And I've already bid on a sealed auction

  • And the sealed auction has not yet ended

  • When I go to the show page for that auction

  • I should see a button labeled "Update bid amount" in the status box

  • Scenario: Vendor clicks "Update bid" button for sealed bid

  • When I click on the "Update bid amount" button

  • Then I should see the bid input form again

  • And in the top of the status box I should see this message

Update bid amount
The maximum bid is [auction.starting_price]. Your current bid is [users current bid].

  • And my bid should be pre-populated in the input box

  • And I should see a button labeled "Update bid"

  • And I should see a button labeled "Cancel"

  • Scenario: Vendor updates sealed bid

  • And I change my bid

  • When I click the "Update bid" button

  • And there are no errors

  • Then my new bid should be saved

  • And I should see the following message

Bid placed
You placed a bid of [bid.amount] on [date of bid]

  • Scenario: Vendor cancels bid update
  • When I click on the "Cancel" button
  • Then the bid input form disappears
  • And I see the message confirming my existing bid.

Bid placed
You placed a bid of [bid.amount] on [date of bid]

Notes

See below for style

screen shot 2016-11-15 at 1 44 57 pm

screen shot 2016-11-15 at 1 45 03 pm

@mtorres253 mtorres253 changed the title Sealed bid auctions - Vendors can change bid amount Sealed bid auctions - Vendors can update bid amount Nov 9, 2016
@mtorres253 mtorres253 added ready and removed question labels Nov 15, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant