mattwr18 2adfe1665b Implement direct login in cypress tests
- there is a manualLogin for tests which test the manual logging in, all
  others just set the cookie in the frontend
2020-02-11 21:44:19 +01:00

24 lines
717 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