Fix test and handle errors better

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-10-13 17:03:48 +02:00
parent 3e4bd76f29
commit 14369e61e9
8 changed files with 42 additions and 11 deletions

View File

@@ -65,7 +65,7 @@ describe('Registration', () => {
expect(loc.pathname).to.eq('/');
});
cy.contains('.navbar-link', 'tester');
cy.get('.navbar-link span.icon i').should('have.class', 'mdi-account-circle');
cy.contains('article.message.is-info', 'Welcome back tester account');
});
});