GODT-2181(test): use [domain] for test server domain

This commit is contained in:
James Houlahan
2022-12-13 00:12:29 +01:00
parent 1aca2cde71
commit 688cb30d4a
45 changed files with 866 additions and 840 deletions

View File

@ -1,22 +1,22 @@
Feature: A user can authenticate an SMTP client
Background:
Given there exists an account with username "user@pm.me" and password "password"
Given there exists an account with username "user" and password "password"
And bridge starts
And the user logs in with username "user@pm.me" and password "password"
And the user logs in with username "user" and password "password"
Scenario: SMTP client can authenticate successfully
When user "user@pm.me" connects SMTP client "1"
When user "user" 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"
When 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@pm.me" connects SMTP client "1"
When 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@pm.me" logs out
And user "user@pm.me" connects SMTP client "1"
When user "user" logs out
And user "user" connects SMTP client "1"
Then SMTP client "1" cannot authenticate