Cypress: Check that the new verified device is connected to key backup (#11686)

* Check that the new verified device is connected to key backup

* Review changes. Extract key backup verification in its own function and chang parameter order of bot `bootstrapSecretStorage` call.
This commit is contained in:
Florian Duros 2023-10-03 14:44:15 +02:00 committed by GitHub
parent 4fd8ab933a
commit 067e338b4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 1 deletions

View file

@ -225,6 +225,7 @@ function setupBotClient(
await cli.getCrypto()!.bootstrapSecretStorage({
setupNewSecretStorage: true,
setupNewKeyBackup: true,
createSecretStorageKey: () => Promise.resolve(recoveryKey),
});
}