Browse Source

chore: skip secure checkbox for v1 atm

pull/3244/head
Wing-Kam Wong 2 years ago
parent
commit
25b76b3acc
  1. 3
      scripts/cypress/support/page_objects/mainPage.js

3
scripts/cypress/support/page_objects/mainPage.js

@ -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"

Loading…
Cancel
Save