diff --git a/cypress/integration/realm_settings_test.spec.ts b/cypress/integration/realm_settings_test.spec.ts index e81d58a76b..9c34110e99 100644 --- a/cypress/integration/realm_settings_test.spec.ts +++ b/cypress/integration/realm_settings_test.spec.ts @@ -73,6 +73,12 @@ describe("Realm settings", () => { realmSettingsPage.fillHostField("localhost"); cy.getId(realmSettingsPage.testConnectionButton).click(); + realmSettingsPage.fillEmailField( + "example" + (Math.random() + 1).toString(36).substring(7) + "@example.com" + ); + + cy.getId(realmSettingsPage.modalTestConnectionButton).click(); + masthead.checkNotificationMessage("Error! Failed to send email."); });