Sha256: 2fc66bbd53e226a87259af10ac8486ee7c0b358fccf341644dc57ca9334df36b

Contents?: true

Size: 1.06 KB

Versions: 21

Compression:

Stored size: 1.06 KB

Contents

Feature: User Logging In

  Logging in to the system as an admin user

  Background:
    Given a configuration of:
    """
      ActiveAdmin.register Post
    """
    And I am logged out
    And an admin user "admin@example.com" exists
    When I go to the dashboard

  Scenario: Logging in Successfully
    When I fill in "Email" with "admin@example.com"
    And I fill in "Password" with "password"
    And I press "Login"
    Then I should be on the the dashboard
    And I should see "Logout"
    And I should see "admin@example.com"

  Scenario: Attempting to log in with an incorrent email address
    When I fill in "Email" with "not-an-admin@example.com"
    And I fill in "Password" with "not-my-password"
    And I press "Login"
    Then I should see "Login"
    And I should see "Invalid email or password."

  Scenario: Attempting to log in with an incorrect password
    When I fill in "Email" with "admin@example.com"
    And I fill in "Password" with "not-my-password"
    And I press "Login"
    Then I should see "Login"
    And I should see "Invalid email or password."

Version data entries

21 entries across 21 versions & 4 rubygems

Version Path
activeadmin-0.4.4 features/users/logging_in.feature
activeadmin-0.4.3 features/users/logging_in.feature
activeadmin-0.4.2 features/users/logging_in.feature
activeadmin-0.4.1 features/users/logging_in.feature
activeadmin-0.4.0 features/users/logging_in.feature
andrewroth_activeadmin-0.3.4.4 features/users/logging_in.feature
andrewroth_activeadmin-0.3.4.3 features/users/logging_in.feature
andrewroth_activeadmin-0.3.4.2 features/users/logging_in.feature
andrewroth_activeadmin-0.3.4.1 features/users/logging_in.feature
andrewroth_activeadmin-0.3.4 features/users/logging_in.feature
activeadmin-0.3.4 features/users/logging_in.feature
activeadmin-0.3.3 features/users/logging_in.feature
activeadmin-0.3.2 features/users/logging_in.feature
activeadmin-0.3.1 features/users/logging_in.feature
activeadmin-0.3.0 features/users/logging_in.feature
nsm-activeadmin-0.2.2 features/users/logging_in.feature
saulolso-activeadmin-0.2.2.1 features/users/logging_in.feature
saulolso-activeadmin-0.2.2 features/users/logging_in.feature
activeadmin-0.2.2 features/users/logging_in.feature
activeadmin-0.2.1 features/users/logging_in.feature