mirror of
https://github.com/BreizhHardware/Site-comptage-heure.git
synced 2026-01-18 16:17:28 +01:00
10 lines
308 B
TypeScript
10 lines
308 B
TypeScript
describe('Login', () => {
|
|
it('should login successfully', () => {
|
|
cy.visit('/login');
|
|
cy.get('input[name="email"]').type('test@example.com');
|
|
cy.get('input[name="password"]').type('password');
|
|
cy.get('button[type="submit"]').click();
|
|
cy.url().should('include', '/dashboard');
|
|
});
|
|
});
|