You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, tests should be isolated and don't affect each other, as they're expected to have separate mock environments.
Let's check why adding key affected other tests and fix it.
During my review of the settings - my key page - generate key test failure, I discovered that other tests were failing because I initially attempted to save the backup to the Inbox. After switching to no-backup or backup to file, the tests passed.
It seems like the Inbox is shared across all tests. I'll investigate why this is happening.
I found the reason for this issue. The problem is that DATA is shared globally. When a user attempts to back up their private key to the inbox, the email data is saved into DATA. As a result, when another instance tries to load the backup list, it also returns the previously backed-up key.
This behavior is mentioned in a comment within our source code. @sosnovsky Do you wanna me to proceed with this now or later?
Originally posted by @ioanmo226 in #5823 (comment)
The text was updated successfully, but these errors were encountered: