mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
18 lines
728 B
Gherkin
18 lines
728 B
Gherkin
Feature: User authentication
|
|
As a user
|
|
I want to be able to sign in - only with valid credentials
|
|
In order to be able to posts and do other contributions as myself
|
|
Furthermore I want to be able to stay logged in and logout again
|
|
|
|
# TODO for these pre-conditions utilize seeding or API check, if user exists in test system
|
|
# Background:
|
|
# Given the following "users" are in the database:
|
|
# | email | password | name |
|
|
# | bibi@bloxberg.de | Aa12345_ | Bibi Bloxberg |
|
|
|
|
Scenario: Log in successfully
|
|
Given the user navigates to page "/login"
|
|
When the user submits the credentials "bibi@bloxberg.de" "Aa12345_"
|
|
Then the user is logged in with username "Bibi Bloxberg"
|
|
|