Sha256: db6261722b7864c651c0646b246e74d8f222bc537c106b22c2e990325c3bfa03

Contents?: true

Size: 1.1 KB

Versions: 37

Compression:

Stored size: 1.1 KB

Contents

Feature: Log in
  In order to access locomotive admin panel
  As an administrator
  I want to log in

Background:
  Given I have the site: "test site" set up

Scenario: Successfully logging in
  When I go to login
  And I fill in "Email" with "admin@locomotiveapp.org"
  And I fill in "Password" with "easyone"
  And I press "Log in"
  Then I should see "Listing pages"

Scenario: Attempting to login with an invalid emai or password
  When I go to login
  And I fill in "Email" with "admin@locomotiveapp.org"
  And I fill in "Password" with ""
  And I press "Log in"
  Then I should not see "Listing pages"
  And I should see "Invalid email or password"

Scenario: Attempting to login with an account without a membership
  Given the following accounts exist:
   | email                  | password      | password_confirmation |
   | john@locomotiveapp.org | bluecheese    | bluecheese            |
  When I go to login
  And I fill in "Email" with "john@locomotiveapp.org"
  And I fill in "Password" with "bluecheese"
  And I press "Log in"
  Then I should not see "Listing pages"
  And I should see "not a member of this site"

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
locomotivecms-3.0.0.rc3 features/backoffice/login.feature
locomotivecms-3.0.0.rc2 features/backoffice/login.feature
locomotivecms-3.0.0.rc1 features/backoffice/login.feature
locomotivecms-3.0.0.pre.beta.1 features/backoffice/login.feature
locomotivecms-3.0.0.pre.alpha.3 features/backoffice/login.feature
locomotive_cms-2.5.7 features/backoffice/login.feature
locomotivecms-3.0.0.pre.alpha.2 features/backoffice/login.feature
locomotivecms-3.0.0.pre.alpha features/backoffice/login.feature
locomotive_cms-2.5.6 features/backoffice/login.feature
locomotive_cms-2.5.6.rc2 features/backoffice/login.feature
locomotive_cms-2.5.6.rc1 features/backoffice/login.feature
locomotive_cms-2.5.5 features/backoffice/login.feature
locomotive_cms-2.5.4 features/backoffice/login.feature
locomotive_cms-2.5.3 features/backoffice/login.feature
locomotive_cms-2.5.2 features/backoffice/login.feature
locomotive_cms-2.5.1 features/backoffice/login.feature
locomotive_cms-2.5.0 features/backoffice/login.feature
locomotive_cms-2.5.0.rc3 features/backoffice/login.feature
locomotive_cms-2.5.0.rc2 features/backoffice/login.feature
locomotive_cms-2.5.0.rc1 features/backoffice/login.feature