From 25b76b3acc60249f51cb6e7861f21b3bc6c11d1a Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Tue, 23 Aug 2022 01:44:18 +0800 Subject: [PATCH] chore: skip secure checkbox for v1 atm --- scripts/cypress/support/page_objects/mainPage.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/cypress/support/page_objects/mainPage.js b/scripts/cypress/support/page_objects/mainPage.js index 82fc06aade..3d6b4f8a45 100644 --- a/scripts/cypress/support/page_objects/mainPage.js +++ b/scripts/cypress/support/page_objects/mainPage.js @@ -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"