Browse Source

cypress(gui-v2): change secure to button

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

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

@ -222,7 +222,7 @@ 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);
cy.getActiveModal().find('[placeholder="Secure"]').click().type(secure); 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