mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 23:56:56 +00:00
GODT-1817: Port old user feature tests
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user