add modal button and input functions

This commit is contained in:
jenny-s51 2021-06-22 15:42:38 -04:00
parent 9f024402cf
commit 094f551a15

View file

@ -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.");
});