GODT-1351: Cache and update of space bytes in user object.

This commit is contained in:
Jakub
2021-09-21 14:54:15 +02:00
parent 41e15db442
commit 2899e7bb15
27 changed files with 243 additions and 49 deletions

View File

@ -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"

View File

@ -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