Cucumber Ltd / cucumber-pro

Sign upfeatures/authentication/sign_up.feature

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

Romain Gérard

Currently viewing

Feature: Sign Up

Appliance users can sign up by following a sign up link from anywhere in the app and entering an email, which sends an account activation email.

This allows people in an organisation who has bought the appliance to create accounts without relying on a sysadmin generating invitations.

Scenario: Successful sign up

  • When AnonymousVisitor signs up
  • Then AnonymousVisitor should receive an account activation email
  • And AnonymousVisitor should be told to check their email for the activation message

Scenario: Invalid email

  • When AnonymousVisitor signs up with an invalid email address
  • Then AnonymousVisitor should be told to use a valid email address

Scenario: Not unique email

  • Given Bob has an account
  • When AnonymousVisitor signs up with the same email address as Bob
  • Then AnonymousVisitor should be told there is already an account with that email address