mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-15 14:56:42 +00:00
GODT-2181(test): Use [user:NAME] for more test user names
This commit is contained in:
@ -1,22 +1,22 @@
|
||||
Feature: A user can authenticate an SMTP client
|
||||
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: SMTP client can authenticate successfully
|
||||
When user "user" connects SMTP client "1"
|
||||
When user "[user:user]" connects SMTP client "1"
|
||||
Then SMTP client "1" can authenticate
|
||||
|
||||
Scenario: SMTP client cannot authenticate with wrong username
|
||||
When user "user" connects SMTP client "1"
|
||||
When user "[user:user]" connects SMTP client "1"
|
||||
Then SMTP client "1" cannot authenticate with incorrect username
|
||||
|
||||
Scenario: SMTP client cannot authenticate with wrong password
|
||||
When user "user" connects SMTP client "1"
|
||||
When user "[user:user]" connects SMTP client "1"
|
||||
Then SMTP client "1" cannot authenticate with incorrect password
|
||||
|
||||
Scenario: SMTP client cannot authenticate for disconnected user
|
||||
When user "user" logs out
|
||||
And user "user" connects SMTP client "1"
|
||||
When user "[user:user]" logs out
|
||||
And user "[user:user]" connects SMTP client "1"
|
||||
Then SMTP client "1" cannot authenticate
|
||||
Reference in New Issue
Block a user