Files
proton-bridge/tests/features/user/revoke.feature
2023-05-22 11:16:56 +00:00

18 lines
743 B
Gherkin

Feature: A logged in user is logged out when its auth is revoked.
Background:
Given there exists an account with username "[user:user]" and password "password"
Then it succeeds
When bridge starts
And the user logs in with username "[user:user]" and password "password"
Then it succeeds
Scenario: The auth is revoked while bridge is running
When the auth of user "[user:user]" is revoked
Then bridge sends a deauth event for user "[user:user]"
And user "[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:user]" is revoked
When bridge starts
Then user "[user:user]" is listed but not connected