Cucumber Ltd / jam

License summaryfeatures/billing/license_summary.feature

[#874] Remove feature toggle on release changes \o/

Matt Wynne

Currently viewing

Feature: License summary

The License Summary is where to go when you want to understand how you are being charged for using Cucumber Pro

Rule:

  • People can create multiple licenses if they want
  • People become license members when they join a project
  • All projects on the SaaS must have a license
  • A license is either metered or pre-paid
  • Members are only billable if they have joined a private project (on the SaaS)

Deferred:

  • Adding and removing license administrators
  • We don't need to consider the UI for creating an additional license
  • For now, applicances don't have licenses

Background:

  • Given Jo has created these metered SaaS licenses:
    Name
    Tomato
    Zappas
  • And Jo has created the following projects:
    NamePrivateLicense
    tomato-oss-projectNoTomato
    alpha-projectYesZappas
    beta-projectYesZappas
  • And Lucy has accepted Jo's invitations to collaborate on:
    alpha-project
    beta-project
  • And Marcus has accepted Jo's invitation to collaborate on beta-project

Scenario: Jo views a license page with private projects

  • Then Jo should see these license members on the Zappas license summary:
    EmailProjectsBillable
    Jo@example.comalpha-project, beta-projectYes
    Lucy@example.comalpha-project, beta-projectYes
    Marcus@example.combeta-projectYes

Scenario: Jo views a license page with public projects

  • Then Jo should see this license member on the Tomato license summary:
    EmailProjectsBillable
    Jo@example.comtomato-oss-projectNo

Scenario: A collaborator is removed

  • When Jo removes Marcus@example.com from beta-project's collaborators
  • Then Jo should see these license members on the Zappas license summary:
    EmailProjectsBillable
    Jo@example.comalpha-project, beta-projectYes
    Lucy@example.comalpha-project, beta-projectYes

Scenario: A project is removed

  • When Jo deletes beta-project
  • Then Jo should see these license members on the Zappas license summary:
    EmailProjectsBillable
    Jo@example.comalpha-projectYes
    Lucy@example.comalpha-projectYes