mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 05:06:51 +00:00
22 lines
965 B
Gherkin
22 lines
965 B
Gherkin
Feature: A user can authenticate an SMTP client
|
|
Background:
|
|
Given there exists an account with username "user@pm.me" and password "password"
|
|
And bridge starts
|
|
And the user logs in with username "user@pm.me" and password "password"
|
|
|
|
Scenario: SMTP client can authenticate successfully
|
|
When user "user@pm.me" connects SMTP client "1"
|
|
Then SMTP client "1" can authenticate
|
|
|
|
Scenario: SMTP client cannot authenticate with wrong username
|
|
When user "user@pm.me" connects SMTP client "1"
|
|
Then SMTP client "1" cannot authenticate with incorrect username
|
|
|
|
Scenario: SMTP client cannot authenticate with wrong password
|
|
When user "user@pm.me" connects SMTP client "1"
|
|
Then SMTP client "1" cannot authenticate with incorrect password
|
|
|
|
Scenario: SMTP client cannot authenticate for disconnected user
|
|
When user "user@pm.me" logs out
|
|
And user "user@pm.me" connects SMTP client "1"
|
|
Then SMTP client "1" cannot authenticate |