GODT-2181(test): Use [user:NAME] for more test user names

This commit is contained in:
James Houlahan
2022-12-13 03:48:54 +01:00
parent 9623e2de6f
commit 87ce5a6d82
43 changed files with 631 additions and 603 deletions

View File

@ -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" and password "password"
Given there exists an account with username "[user:user]" and password "password"
And bridge starts
And the user logs in with username "user" and password "password"
And the user logs in with username "[user:user]" and password "password"
Scenario: The auth is revoked while bridge is running
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
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" is revoked
And the auth of user "[user:user]" is revoked
When bridge starts
Then user "user" is listed but not connected
Then user "[user:user]" is listed but not connected