Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dvg/4-stages


https://github.com/dvg/4-stages

Last synced: 29 days ago
JSON representation

Awesome Lists containing this project

README

        

```gherkin
Feature: Shipping Options

We have an array of shipping options available on Fake Amazon. The most basic
is Standard Shipping, which ships via USPS parcel post, and is expected to
be delivered in 3-5 Business Days. On orders over $35, we offer free super
saver shipping. This is still a 3-5 day delivery, but we take care of the
shipping cost.

For Fake Amazon Prime Customers, we offer Free 2-Day shipping on any order
regardless of how much it costs. We offer no-rush shipping which is also free,
but ships more cheaply in exchange for a bonus of $1 digital goods credit.
Finally we offer prime customers next-day shipping for $3.99 per item.

Scenario: Only Standard Shipping for orders under $35
Given I am logged in as a regular user
And I have a cart with 1 product worth $34
When I checkout
Then I should only have the option for standard shipping

Scenario: Only Standard Shipping for orders exactly $35
Scenario: Standard and FREE Super-Saver Shipping on Orders over $35
Scenario Outline: Shipping Options for Prime Customers
```