This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| When admin suspends the Live Sale | |
| Then Following users should see the splash popup | |
| | role | | |
| | auctioneer | | |
| | seller | | |
| | buyer_1 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Given an auction that is in progress | |
| Then the auction cannot be suspended by the seller | |
| Then the auction cannot be suspended by the auctioneer | |
| Then the auction cannot be suspended by a buyer | |
| Then the auction can be suspended by an admin. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| And admin verifies that they "can" suspend the Live Sale |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Given a Live Sale is being 'prepared' | |
| Then the Live Sale cannot be suspended |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Then admin verifies that they "cannot" suspend the Live Sale |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| And 2 listings are added to the Live Sale through the web service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| And Live Sale is created and published with automatic run assignment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| And Following users have logged in | |
| | role | username | password | bid_on_behalf_of | | |
| | auctioneer | Walter | password | | | |
| | seller | Mildred | password | | | |
| | buyer_1 | Jane | password | Company A | | |
| | buyer_2 | Andy | password | Company B | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Given admin Joe logs into site |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class MarketEdge { | |
| int value; | |
| } | |
| public MarketEdge deliverBusinessValue() { | |
| MarketEdge marketEdge = new MarketEdge(); | |
| try { | |
| marketEdge.value = 20; | |
| throw new NotEnoughValueDeliveredException(); |