florianduros/encryption-tab
Florian Duros 2025-01-06 14:51:53 +01:00
parent 72adfa5625
commit 36c7e0ea89
No known key found for this signature in database
GPG Key ID: A5BBB4041B493F15
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ test.describe("Recovery section in Encryption tab", () => {
await verifySession(app, "new passphrase");
await util.deleteKeyBackup(expectedBackupVersion);
// The key backup is deleted and the user needs to set up it
// The key backup is deleted and the user needs to set it up
const dialog = await util.openEncryptionTab();
const setupButton = dialog.getByRole("button", { name: "Set up recovery" });
await expect(setupButton).toBeVisible();

View File

@ -31,7 +31,7 @@ import { withSecretStorageKeyCache } from "../../../../SecurityManager";
* The possible states of the component.
* - `inform_user`: The user is informed about the recovery key.
* - `save_key_setup_flow`: The user is asked to save the new recovery key during the setup flow.
* - `save_key_change_flow`: The user is asked to save the new recovery key during the chang key flow.
* - `save_key_change_flow`: The user is asked to save the new recovery key during the change key flow.
* - `confirm`: The user is asked to confirm the new recovery key.
*/
type State = "inform_user" | "save_key_setup_flow" | "save_key_change_flow" | "confirm";