mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-17 23:56:56 +00:00
test: Refactor account management, fix map-random-order race condition
Some SMTP tests made use of disabled addresses. We stored addresses in a map, meaning the order was randomized. This lead to tests sometimes attempting to authenticate over SMTP using a disabled address, failing.
This commit is contained in:
@ -14,8 +14,8 @@ Feature: A user can login
|
||||
Then user "[user:user]" is not listed
|
||||
|
||||
Scenario: Login to nonexistent account
|
||||
When the user logs in with username "[user:other]" and password "unknown"
|
||||
Then user "[user:other]" is not listed
|
||||
When the user logs in with username "nonexistent" and password "unknown"
|
||||
Then user "nonexistent" is not listed
|
||||
|
||||
Scenario: Login to account without internet
|
||||
Given the internet is turned off
|
||||
|
||||
Reference in New Issue
Block a user