Contents

This page comes from an earlier version of the Openproject docs (commit 3e6c0258). See the latest Openproject docs.

User Status

Background:

  • Given I am already admin
  • Given there is a user named "bobby"

Scenario: A locked and blocked user gets unlocked and unblocked

  • Given the user "bobby" is locked
  • And the user "bobby" had too many recently failed logins
  • When I edit the user "bobby"
  • And I click "Unlock and reset failed logins"
  • When I try to log in with user "bobby"
  • Then I should see "Bob Bobbit" as being logged in

Scenario: A registered user gets activated

  • Given the user "bobby" is registered and not activated
  • When I try to log in with user "bobby"
  • Then I should not see "Bob Bobbit"
  • When I am already admin
  • And I edit the user "bobby"
  • And I click "Activate"
  • When I try to log in with user "bobby"
  • Then I should see "Bob Bobbit" as being logged in

Source: features/users/status.feature at commit 3e6c0258, Openproject (GPL license).