Last active
March 20, 2019 16:07
-
-
Save cybrox/99005be544ac1bfe74db7abac25a8bb9 to your computer and use it in GitHub Desktop.
phx-ete8.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it ("shows email not confirmed notification in dashboard for unconfirmed user", () => { | |
cy.factorydb('user', { | |
username: "Sven Gehring", | |
password: "password", | |
email: "[email protected]" | |
}) | |
// This is another custom command we use for getting our auth token | |
cy.login('[email protected]', 'password') | |
cy.visit('/dashboard') | |
cy.get('#kc-content').find('[data-cy=email-confirm-alert]').should('exist') | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment