As a member/admin
I need to be able to log in
So that I can use user-specific actions
Details and Assumptions
The "sign in" button should always be visible if not signed in
Once logged in, the "sign in" button should be replaced with the user's name.
The system should maintain the session for a specified duration or until the user logs out.
Acceptance Criteria
Scenario: Successful log in
Given I am a user with login capabilities
And I click the "sign in" button
And I am redirected to the log in page
When I enter my correct sign in credentials
And I press the "sign in" button
Then I am redirected to the home page
And the "sign in" button is replaced with my name
Scenario: Unsuccessful sign in
Given I am a user with login capabilities
And I click the "sign in" button
And I am redirected to the log in page
When I enter my sign in credentials incorrectly
Then I am shown a message saying my login credentials are not valid
And I remain on the log in page
Scenario: Remember me option
Given I am on the log in page
When I enter my credentials and select "Remember me"
And I press the "sign in" button
Then I should remain logged in on future visits
As a member/admin I need to be able to log in So that I can use user-specific actions
Details and Assumptions
Acceptance Criteria