mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-25 03:16:44 +00:00
GODT-2181(test): use [domain] for test server domain
This commit is contained in:
@ -1,16 +1,16 @@
|
||||
Feature: A logged in user is logged out when its auth is revoked.
|
||||
Background:
|
||||
Given there exists an account with username "user@pm.me" and password "password"
|
||||
Given there exists an account with username "user" and password "password"
|
||||
And bridge starts
|
||||
And the user logs in with username "user@pm.me" and password "password"
|
||||
And the user logs in with username "user" and password "password"
|
||||
|
||||
Scenario: The auth is revoked while bridge is running
|
||||
When the auth of user "user@pm.me" is revoked
|
||||
Then bridge sends a deauth event for user "user@pm.me"
|
||||
And user "user@pm.me" is listed but not connected
|
||||
When the auth of user "user" is revoked
|
||||
Then bridge sends a deauth event for user "user"
|
||||
And user "user" is listed but not connected
|
||||
|
||||
Scenario: The auth is revoked while bridge is not running
|
||||
Given bridge stops
|
||||
And the auth of user "user@pm.me" is revoked
|
||||
And the auth of user "user" is revoked
|
||||
When bridge starts
|
||||
Then user "user@pm.me" is listed but not connected
|
||||
Then user "user" is listed but not connected
|
||||
Reference in New Issue
Block a user