Other(test): Fix integration test steps

This commit is contained in:
James Houlahan
2023-01-17 14:38:37 +01:00
parent 7119c566ef
commit 1d405076e6
3 changed files with 11 additions and 11 deletions

View File

@ -1,14 +1,14 @@
Feature: A user can authenticate an SMTP client
Background:
Given there exists an account with username "[user:user]" and password "password"
And there exists an account with username "[user2:user2]" and password "password2"
And there exists an account with username "[user:user2]" and password "password2"
And there exists a disabled account with username "[user3:user3]" and password "password3"
And the account "[user:user]" has additional address "[alias:alias]@[domain]"
And the account "[user2:user2]" has additional disabled address "[alias2:alias2]@[domain]"
And the account "[user:user2]" has additional disabled address "[alias:alias2]@[domain]"
And the account "[user3:user3]" has additional address "[alias3:alias3]@[domain]"
And bridge starts
And the user logs in with username "[user:user]" and password "password"
And the user logs in with username "[user2:user2]" and password "password2"
And the user logs in with username "[user:user2]" and password "password2"
And the user logs in with username "[user3:user3]" and password "password3"
Scenario: SMTP client can authenticate successfully
@ -33,7 +33,7 @@ Feature: A user can authenticate an SMTP client
Then it succeeds
Scenario: SMTP client can not authenticate with disabled address
When user "[user2:user2]" connects and authenticates SMTP client "1" with address "[alias2:alias2]@[domain]"
When user "[user:user2]" connects and authenticates SMTP client "1" with address "[alias:alias2]@[domain]"
Then it fails
Scenario: SMTP Logs out user
@ -44,7 +44,7 @@ Feature: A user can authenticate an SMTP client
Scenario: SMTP client can authenticate two users
When user "[user:user]" connects SMTP client "1"
Then SMTP client "1" can authenticate
When user "[user2:user2]" connects SMTP client "2"
When user "[user:user2]" connects SMTP client "2"
Then SMTP client "2" can authenticate
@ignore-live