forked from Silverfish/proton-bridge
GODT-1351: Cache and update of space bytes in user object.
This commit is contained in:
@ -6,6 +6,7 @@ Feature: Start bridge
|
||||
Then "user" is connected
|
||||
And "user" has loaded store
|
||||
And "user" has running event loop
|
||||
And "user" has non-zero space
|
||||
|
||||
Scenario: Start with connected user, database file and no internet connection
|
||||
Given there is user "user" which just logged in
|
||||
@ -15,6 +16,7 @@ Feature: Start bridge
|
||||
Then "user" is connected
|
||||
And "user" has loaded store
|
||||
And "user" has running event loop
|
||||
And "user" has zero space
|
||||
|
||||
Scenario: Start with connected user, no database file and internet connection
|
||||
Given there is user "user" which just logged in
|
||||
@ -23,6 +25,7 @@ Feature: Start bridge
|
||||
Then "user" is connected
|
||||
And "user" has loaded store
|
||||
And "user" has running event loop
|
||||
And "user" has non-zero space
|
||||
|
||||
Scenario: Start with connected user, no database file and no internet connection
|
||||
Given there is user "user" which just logged in
|
||||
@ -37,6 +40,7 @@ Feature: Start bridge
|
||||
Then "user" is connected
|
||||
And "user" has loaded store
|
||||
And "user" has running event loop
|
||||
And "user" has non-zero space
|
||||
|
||||
Scenario: Start with disconnected user, database file and internet connection
|
||||
Given there is disconnected user "user"
|
||||
@ -45,6 +49,7 @@ Feature: Start bridge
|
||||
Then "user" is disconnected
|
||||
And "user" has loaded store
|
||||
And "user" does not have running event loop
|
||||
And "user" has zero space
|
||||
|
||||
Scenario: Start with disconnected user, database file and no internet connection
|
||||
Given there is disconnected user "user"
|
||||
@ -54,6 +59,7 @@ Feature: Start bridge
|
||||
Then "user" is disconnected
|
||||
And "user" has loaded store
|
||||
And "user" does not have running event loop
|
||||
And "user" has zero space
|
||||
|
||||
Scenario: Start with disconnected user, no database file and internet connection
|
||||
Given there is disconnected user "user"
|
||||
@ -62,6 +68,7 @@ Feature: Start bridge
|
||||
Then "user" is disconnected
|
||||
And "user" does not have loaded store
|
||||
And "user" does not have running event loop
|
||||
And "user" has zero space
|
||||
|
||||
Scenario: Start with disconnected user, no database file and no internet connection
|
||||
Given there is disconnected user "user"
|
||||
@ -71,3 +78,4 @@ Feature: Start bridge
|
||||
Then "user" is disconnected
|
||||
And "user" does not have loaded store
|
||||
And "user" does not have running event loop
|
||||
And "user" has zero space
|
||||
|
||||
@ -6,6 +6,7 @@ Feature: Login for the first time
|
||||
And "user" is connected
|
||||
And "user" has database file
|
||||
And "user" has running event loop
|
||||
And "user" has non-zero space
|
||||
|
||||
@ignore-live
|
||||
Scenario: Login with bad username
|
||||
@ -31,6 +32,7 @@ Feature: Login for the first time
|
||||
And "user2fa" is connected
|
||||
And "user2fa" has database file
|
||||
And "user2fa" has running event loop
|
||||
And "user2fa" has non-zero space
|
||||
|
||||
Scenario: Login user with capital letters in address
|
||||
Given there is user "userAddressWithCapitalLetter"
|
||||
@ -39,6 +41,7 @@ Feature: Login for the first time
|
||||
And "userAddressWithCapitalLetter" is connected
|
||||
And "userAddressWithCapitalLetter" has database file
|
||||
And "userAddressWithCapitalLetter" has running event loop
|
||||
And "userAddressWithCapitalLetter" has non-zero space
|
||||
|
||||
Scenario: Login user with more addresses
|
||||
Given there is user "userMoreAddresses"
|
||||
@ -47,6 +50,7 @@ Feature: Login for the first time
|
||||
And "userMoreAddresses" is connected
|
||||
And "userMoreAddresses" has database file
|
||||
And "userMoreAddresses" has running event loop
|
||||
And "userMoreAddresses" has non-zero space
|
||||
|
||||
@ignore-live
|
||||
Scenario: Login user with disabled primary address
|
||||
@ -56,6 +60,7 @@ Feature: Login for the first time
|
||||
And "userDisabledPrimaryAddress" is connected
|
||||
And "userDisabledPrimaryAddress" has database file
|
||||
And "userDisabledPrimaryAddress" has running event loop
|
||||
And "userDisabledPrimaryAddress" has non-zero space
|
||||
|
||||
Scenario: Login two users
|
||||
Given there is user "user"
|
||||
|
||||
@ -6,6 +6,7 @@ Feature: Re-login
|
||||
Then last response is "failed to finish login: user is already connected"
|
||||
And "user" is connected
|
||||
And "user" has running event loop
|
||||
And "user" has non-zero space
|
||||
|
||||
@ignore
|
||||
Scenario: Re-login with connected user and no database file
|
||||
@ -24,6 +25,7 @@ Feature: Re-login
|
||||
Then last response is "OK"
|
||||
And "user" is connected
|
||||
And "user" has running event loop
|
||||
And "user" has non-zero space
|
||||
|
||||
Scenario: Re-login with disconnected user and no database file
|
||||
Given there is disconnected user "user"
|
||||
@ -33,3 +35,4 @@ Feature: Re-login
|
||||
And "user" is connected
|
||||
And "user" has database file
|
||||
And "user" has running event loop
|
||||
And "user" has non-zero space
|
||||
|
||||
Reference in New Issue
Block a user