Fix Cypress tests and add a different welcome message when coming from
registration Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -78,6 +78,6 @@ describe('Login', () => {
|
||||
cy.wait(1000);
|
||||
|
||||
cy.get('.navbar-link span.icon i').should('have.class', 'mdi-account-circle');
|
||||
cy.contains('article.message.is-info', 'Welcome back DuplicateNot');
|
||||
cy.contains('article.message.is-info', 'Welcome to Mobilizon, DuplicateNot!');
|
||||
});
|
||||
});
|
||||
|
||||
@@ -66,6 +66,6 @@ describe('Registration', () => {
|
||||
});
|
||||
|
||||
cy.get('.navbar-link span.icon i').should('have.class', 'mdi-account-circle');
|
||||
cy.contains('article.message.is-info', 'Welcome back tester account');
|
||||
cy.contains('article.message.is-info', 'Welcome to Mobilizon, tester account!');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user