mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 05:06:51 +00:00
36 lines
1.2 KiB
Gherkin
36 lines
1.2 KiB
Gherkin
Feature: Re-login
|
|
Scenario: Re-login with connected user and database file
|
|
Given there is connected user "user"
|
|
And there is database file for "user"
|
|
When "user" logs in
|
|
Then last response is "failed to finish login: user is already connected"
|
|
And "user" is connected
|
|
And "user" has running event loop
|
|
|
|
@ignore
|
|
Scenario: Re-login with connected user and no database file
|
|
Given there is connected user "user"
|
|
And there is no database file for "user"
|
|
When "user" logs in
|
|
Then last response is "failed to finish login: user is already connected"
|
|
And "user" is connected
|
|
And "user" has database file
|
|
And "user" has running event loop
|
|
|
|
Scenario: Re-login with disconnected user and database file
|
|
Given there is disconnected user "user"
|
|
And there is database file for "user"
|
|
When "user" logs in
|
|
Then last response is "OK"
|
|
And "user" is connected
|
|
And "user" has running event loop
|
|
|
|
Scenario: Re-login with disconnected user and no database file
|
|
Given there is disconnected user "user"
|
|
And there is no database file for "user"
|
|
When "user" logs in
|
|
Then last response is "OK"
|
|
And "user" is connected
|
|
And "user" has database file
|
|
And "user" has running event loop
|