|
|
@ -222,7 +222,8 @@ export class _mainPage { |
|
|
|
.click() |
|
|
|
.click() |
|
|
|
.type(host); |
|
|
|
.type(host); |
|
|
|
cy.getActiveModal().find('[placeholder="Port"]').click().type(port); |
|
|
|
cy.getActiveModal().find('[placeholder="Port"]').click().type(port); |
|
|
|
if (secure) cy.getActiveModal().find('[placeholder="Secure"]').click(); |
|
|
|
// TODO: in v2, it would be a button
|
|
|
|
|
|
|
|
// if (secure) cy.getActiveModal().find('[placeholder="Secure"]').click();
|
|
|
|
cy.getActiveModal().find("button").contains("Save").click(); |
|
|
|
cy.getActiveModal().find("button").contains("Save").click(); |
|
|
|
cy.toastWait( |
|
|
|
cy.toastWait( |
|
|
|
"Successfully installed and email notification will use SMTP configuration" |
|
|
|
"Successfully installed and email notification will use SMTP configuration" |
|
|
|