test(GODT-3220): Add scenario cannot login with deleted alias
This commit is contained in:
parent
65d8fbbf31
commit
cf0f59afc0
|
@ -45,4 +45,14 @@ Feature: A user can login
|
||||||
When the user logs in with username "[user:user]" and password "password2"
|
When the user logs in with username "[user:user]" and password "password2"
|
||||||
And the user logs in with username "[user:additional]" and password "password"
|
And the user logs in with username "[user:additional]" and password "password"
|
||||||
Then user "[user:user]" is eventually listed and connected
|
Then user "[user:user]" is eventually listed and connected
|
||||||
And user "[user:additional]" is eventually listed and connected
|
And user "[user:additional]" is eventually listed and connected
|
||||||
|
|
||||||
|
Scenario: Login to account with an alias address that no longer exists
|
||||||
|
Given the account "[user:user]" has additional address "[user:alias]@[domain]"
|
||||||
|
And the user logs in with alias address "[user:alias]@[domain]" and password "password2"
|
||||||
|
And user "[user:user]" is eventually listed and connected
|
||||||
|
When user "[user:user]" is deleted
|
||||||
|
Then user "[user:user]" is not listed
|
||||||
|
When the account "[user:user]" no longer has additional address "[user:alias]@[domain]"
|
||||||
|
When the user logs in with username "[user:alias]@[domain]" and password "password2"
|
||||||
|
Then it fails
|
||||||
|
|
Loading…
Reference in New Issue