mirror of
https://github.com/BreizhHardware/Site-comptage-heure.git
synced 2026-01-18 16:17:28 +01:00
feat: enhance user seeding with UUIDs and improve code formatting in various files
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
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')
|
||||
})
|
||||
})
|
||||
|
||||
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');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user