cypress(gui-v2): change secure to button

This commit is contained in:
Wing-Kam Wong
2022-08-19 23:16:05 +08:00
parent e086272f85
commit 37228f9036

View File

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