{"action":"created","issue":{"url":"https://api.github.com/repos/18F/micropurchase/issues/982","repository_url":"https://api.github.com/repos/18F/micropurchase","labels_url":"https://api.github.com/repos/18F/micropurchase/issues/982/labels{/name}","comments_url":"https://api.github.com/repos/18F/micropurchase/issues/982/comments","events_url":"https://api.github.com/repos/18F/micropurchase/issues/982/events","html_url":"https://github.com/18F/micropurchase/issues/982","id":168703574,"number":982,"title":"Messaging - Vendor bids on reverse auction","user":{"login":"mtorres253","id":100149,"avatar_url":"https://avatars.githubusercontent.com/u/100149?v=3","gravatar_id":"","url":"https://api.github.com/users/mtorres253","html_url":"https://github.com/mtorres253","followers_url":"https://api.github.com/users/mtorres253/followers","following_url":"https://api.github.com/users/mtorres253/following{/other_user}","gists_url":"https://api.github.com/users/mtorres253/gists{/gist_id}","starred_url":"https://api.github.com/users/mtorres253/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtorres253/subscriptions","organizations_url":"https://api.github.com/users/mtorres253/orgs","repos_url":"https://api.github.com/users/mtorres253/repos","events_url":"https://api.github.com/users/mtorres253/events{/privacy}","received_events_url":"https://api.github.com/users/mtorres253/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/18F/micropurchase/labels/user%20story","name":"user story","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/18F/micropurchase/milestones/5","html_url":"https://github.com/18F/micropurchase/milestones/MVP%20-%20Feature%20complete%20for%20customer%20testing","labels_url":"https://api.github.com/repos/18F/micropurchase/milestones/5/labels","id":1853780,"number":5,"title":"MVP - Feature complete for customer testing","description":"Stories to improve vendor experience and automate the admin experience, as well as stories we think are needed so that we can bring on external customers to use the platform","creator":{"login":"mtorres253","id":100149,"avatar_url":"https://avatars.githubusercontent.com/u/100149?v=3","gravatar_id":"","url":"https://api.github.com/users/mtorres253","html_url":"https://github.com/mtorres253","followers_url":"https://api.github.com/users/mtorres253/followers","following_url":"https://api.github.com/users/mtorres253/following{/other_user}","gists_url":"https://api.github.com/users/mtorres253/gists{/gist_id}","starred_url":"https://api.github.com/users/mtorres253/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtorres253/subscriptions","organizations_url":"https://api.github.com/users/mtorres253/orgs","repos_url":"https://api.github.com/users/mtorres253/repos","events_url":"https://api.github.com/users/mtorres253/events{/privacy}","received_events_url":"https://api.github.com/users/mtorres253/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":99,"state":"open","created_at":"2016-06-28T21:26:50Z","updated_at":"2016-09-08T20:50:22Z","due_on":"2016-07-30T07:00:00Z","closed_at":null},"comments":0,"created_at":"2016-08-01T17:54:24Z","updated_at":"2016-09-08T20:53:12Z","closed_at":"2016-09-08T20:50:22Z","body":"As a vendor, if I am bidding on a reverse auction via the UI, I want to see clear messaging telling me what I can bid, and whether or not my bid was accepted\r\n\r\n**Context:**\r\n- Given I am an authenticated vendor\r\n- And there is a reverse-bid auction\r\n- And the auction is open\r\n- And I am qualified to bid on that auction\r\n- And I am on the auction show page (micropurchase.18f.gov/auctions/[id])\r\n\r\n- [ ] **Scenario: Vendor sees javascript confirmation of bid for an auction auction - reverse auction**\r\n- And I do not already have the current winning bid\r\n- And I've entered a bid amount\r\n- When I click the \"Place Bid\" button\r\n- And there are no errors\r\n- Then I should see a javascript confirmation saying\r\n\r\n> micropurchase.18f.gov says\r\n> Are you sure you want place a bid for $[bid_amount]?\r\n\r\n![screen shot 2016-09-02 at 10 50 23 am](https://cloud.githubusercontent.com/assets/100149/18213148/92334d70-70fb-11e6-8d88-3aedfa8ebe98.png)\r\n\r\n- [ ] **Scenario: Vendor confirms bid - reverse auction**\r\n- When I click on the \"OK\" button in the javascript confirmation\r\n- And there are no errors\r\n- Then my bid should be placed\r\n- And I should see a success message\r\n\r\n> Bid placed\r\n> You placed a bid of $[auction.currentBid] on [auction.bidDate]. You are currently the low bidder.\r\n\r\n<img width=\"336\" alt=\"screen shot 2016-08-08 at 2 44 59 pm\" src=\"https://cloud.githubusercontent.com/assets/100149/17491712/c0619f8c-5d76-11e6-9caf-5c6773883095.png\">\r\n\r\n- [ ] **Scenario: Vendor cancels out of javascript confirmation - sealed-bid**\r\n- When I click on the \"Cancel\" button in the javascript confirmation\r\n- Then my bid should not be placed\r\n- And the javascript confirmation box should close\r\n\r\n- [ ] **Scenario: Vendor submits bid over the maximum bid - reverse auction**\r\n- And I am not currently the lowest bidder\r\n- And I have entered a bid amount in the bid box that is larger than the maximum bid\r\n- When I click the \"Place Bid\" button\r\n- Then my bid should not be saved\r\n- And the messaging in the status box should say\r\n\r\n> Bid rejected\r\n> Amount was not accepted. Please enter a whole number less than $[auction.currentBid].\r\n\r\n- And I should still see the Place Bid button and the \"Amount\" box\r\n\r\n<img width=\"328\" alt=\"screen shot 2016-08-08 at 2 44 10 pm\" src=\"https://cloud.githubusercontent.com/assets/100149/17491688/a16b3642-5d76-11e6-89ce-feb52fb4c829.png\">"},"comment":{"url":"https://api.github.com/repos/18F/micropurchase/issues/comments/245737045","html_url":"https://github.com/18F/micropurchase/issues/982#issuecomment-245737045","issue_url":"https://api.github.com/repos/18F/micropurchase/issues/982","id":245737045,"user":{"login":"mtorres253","id":100149,"avatar_url":"https://avatars.githubusercontent.com/u/100149?v=3","gravatar_id":"","url":"https://api.github.com/users/mtorres253","html_url":"https://github.com/mtorres253","followers_url":"https://api.github.com/users/mtorres253/followers","following_url":"https://api.github.com/users/mtorres253/following{/other_user}","gists_url":"https://api.github.com/users/mtorres253/gists{/gist_id}","starred_url":"https://api.github.com/users/mtorres253/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtorres253/subscriptions","organizations_url":"https://api.github.com/users/mtorres253/orgs","repos_url":"https://api.github.com/users/mtorres253/repos","events_url":"https://api.github.com/users/mtorres253/events{/privacy}","received_events_url":"https://api.github.com/users/mtorres253/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T20:53:12Z","updated_at":"2016-09-08T20:53:12Z","body":"Duplicate of #985 and #1178 "}}
{"actor":{"display_login":"mtorres253"}}