Add success dialog after key backup (#10177)
This commit is contained in:
parent
a854e941cc
commit
9b267e7bc4
11 changed files with 144 additions and 2 deletions
|
@ -183,6 +183,10 @@ describe("Cryptography", function () {
|
|||
cy.contains(".mx_Dialog_primary:not([disabled])", "Continue").click();
|
||||
cy.contains(".mx_Dialog_title", "Setting up keys").should("exist");
|
||||
cy.contains(".mx_Dialog_title", "Setting up keys").should("not.exist");
|
||||
|
||||
cy.contains("Secure Backup successful").should("exist");
|
||||
cy.contains("Done").click();
|
||||
cy.contains("Secure Backup successful").should("not.exist");
|
||||
});
|
||||
return;
|
||||
});
|
||||
|
|
|
@ -181,12 +181,14 @@ describe("Decryption Failure Bar", () => {
|
|||
|
||||
cy.contains(".mx_DecryptionFailureBar_button", "Reset").click();
|
||||
|
||||
// Set up key backup
|
||||
cy.get(".mx_Dialog").within(() => {
|
||||
cy.contains(".mx_Dialog_primary", "Continue").click();
|
||||
cy.get(".mx_CreateSecretStorageDialog_recoveryKey code").invoke("text").as("securityKey");
|
||||
// Clicking download instead of Copy because of https://github.com/cypress-io/cypress/issues/2851
|
||||
cy.contains(".mx_AccessibleButton", "Download").click();
|
||||
cy.contains(".mx_Dialog_primary:not([disabled])", "Continue").click();
|
||||
cy.contains("Done").click();
|
||||
});
|
||||
|
||||
cy.get(".mx_DecryptionFailureBar .mx_DecryptionFailureBar_message_headline").should(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue