mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-12 23:35:52 +00:00
24 lines
718 B
Gherkin
24 lines
718 B
Gherkin
Feature: Authentication
|
|
As a database administrator
|
|
I want users to sign in
|
|
In order to attribute posts and other contributions to their authors
|
|
|
|
Background:
|
|
Given I have a user account
|
|
|
|
Scenario: Log in
|
|
When I visit the "/login" page
|
|
And I fill in my email and password combination and click submit
|
|
Then I can click on my profile picture in the top right corner
|
|
And I can see my name "Peter Lustig" in the dropdown menu
|
|
|
|
Scenario: Refresh and stay logged in
|
|
Given I am logged in
|
|
When I refresh the page
|
|
Then I am still logged in
|
|
|
|
Scenario: Log out
|
|
Given I am logged in
|
|
When I log out through the menu in the top right corner
|
|
Then I see the login screen again
|