add modal button and input functions
This commit is contained in:
parent
9f024402cf
commit
094f551a15
1 changed files with 6 additions and 0 deletions
|
@ -73,6 +73,12 @@ describe("Realm settings", () => {
|
||||||
realmSettingsPage.fillHostField("localhost");
|
realmSettingsPage.fillHostField("localhost");
|
||||||
cy.getId(realmSettingsPage.testConnectionButton).click();
|
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.");
|
masthead.checkNotificationMessage("Error! Failed to send email.");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue