Fix test and handle errors better
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -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');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user