Cucumber Ltd / jam

Ldap authenticationfeatures/authentication/ldap_authentication.feature

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

Matt Wynne

Currently viewing

Feature: LDAP authentication

In an enterprise environment, you need to allow people to sign in to Cucumber Pro using their existing network credentials so that they don't have to sign up.

Background:

  • Given this appliance is configured for LDAP authentication

Scenario: Existing Cucumber Pro account with no LDAP account can still log in

  • When BuildServer logs in using its Cucumber Pro credentials
  • Then BuildServer should be logged in

Scenario: New user signs in to Cucumber Pro for the first time

  • Given Barbara has an LDAP account with email Barbara@example.com
  • When Barbara logs in using her network credentials
  • Then Barbara should be logged in
  • And Barbara@example.com should not reveive an account activation email

Scenario: User with existing Cucumber Pro account signs in using network credentials

  • Given Chris has an account on Cucumber Pro with email chris@example.com
  • And Chris has an LDAP account with email chris@example.com
  • And Chris has created a public project called alpha-project
  • When Chris logs in using his network credentials
  • Then Chris should be logged in
  • And Chris should see the following projects:
    projectName
    alpha-project