Cucumber Ltd / cucumber-pro

Prepaid saas billingfeatures/billing/prepaid_saas_billing.feature

Release Dasher II (patch 1) (2018-12-13)

Romain Gérard

Currently viewing

Feature: Prepaid SaaS billing

Rules:

  • Prepaid licenses have a fixed number of seats occupied only by billable members
  • People collaborating only on public projects are not billable
  • People doing only license administration and not project collaboration are not billable

Background:

  • Given the app is running on the SaaS

Scenario: prepaid SaaS

  • When Oana registers with a prepaid SaaS license:
    NameElsevador
    Seats100
    Paid1000
    Expiry datein 30 days
  • And Oana creates the following projects:
    NamePrivateLicense
    books-projectYesElsevador
  • Then Oana should be a billable member of the Elsevador license
  • And Oana should be told the payment of 1000 is due for the Elsevador license
  • And Oana should be told there are 99 unused seats on the Elsevador license