GODT-1817: Port old user feature tests

This commit is contained in:
Leander Beernaert
2023-01-10 11:47:05 +01:00
parent e3a43e4ca8
commit 06eee89479
6 changed files with 10 additions and 272 deletions

View File

@ -1,6 +1,8 @@
Feature: A user can login
Background:
Given there exists an account with username "[user:user]" and password "password"
Given there exists an account with username "[user:MixedCaps]" and password "password"
Given there exists a disabled account with username "[user:disabled]" and password "password"
And bridge starts
Scenario: Login to account
@ -20,6 +22,14 @@ Feature: A user can login
When the user logs in with username "[user:user]" and password "password"
Then user "[user:user]" is not listed
Scenario: Login to account with caps
When the user logs in with username "[user:MixedCaps]" and password "password"
Then user "[user:MixedCaps]" is listed and connected
Scenario: Login to account with disabled primary
When the user logs in with username "[user:disabled]" and password "password"
Then user "[user:disabled]" is listed and connected
Scenario: Login to account without internet but the connection is later restored
When the user logs in with username "[user:user]" and password "password"
And bridge stops