chore: skip secure checkbox for v1 atm

This commit is contained in:
Wing-Kam Wong
2022-08-23 01:44:18 +08:00
parent 1238bfe1b0
commit 25b76b3acc

View File

@@ -222,7 +222,8 @@ export class _mainPage {
.click()
.type(host);
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.toastWait(
"Successfully installed and email notification will use SMTP configuration"