Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
ID21032 UI Automation: automated test using Cypress for "Password ele…
Browse files Browse the repository at this point in the history
…ment check" (#5397)

* automated MM-14632 Integration test for removing team icon #4066

* resolved the eslint error

* few more eslint error fixes

* fixed the snapshot test failures

* incorporated review comments

* Incorporated review comments

* reverted the accessibility supported code

* MM-14322 Created E2E test for long post with multiple attachments

* looks like this file is removed from master but i still have copy of it

* resolved lint error

Co-authored-by: mattermod <[email protected]>
  • Loading branch information
VishalSwarnkar and mattermod committed Apr 30, 2020
1 parent 5e8e980 commit c1fbf0e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions e2e/cypress/integration/interactive_dialog/full_dialog_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,22 @@ describe('Interactive Dialog', () => {

closeInteractiveDialog();
});

it('ID21032 - Password element check', () => {
// # Post a slash command
cy.postMessage(`/${createdCommand.trigger}`);

// * Verify that the interactive dialog modal open up
cy.get('#interactiveDialogModal').should('be.visible');

// * Verify that the password text area is visible
cy.get('#somepassword').should('be.visible');

// * Verify that the password is masked on enter of text
cy.get('#somepassword').should('have.attr', 'type', 'password');

closeInteractiveDialog();
});
});

function closeInteractiveDialog() {
Expand Down

0 comments on commit c1fbf0e

Please sign in to comment.