mirror of
https://github.com/BreizhHardware/Site-comptage-heure.git
synced 2026-03-18 21:30:40 +01:00
chore: upgrade Next.js to version 16 and update related configurations
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
describe('Login', () => {
|
||||
it('should login successfully', () => {
|
||||
cy.visit('/login')
|
||||
cy.get('input[id="email"]').type('test@example.com')
|
||||
cy.get('input[id="password"]').type('password')
|
||||
cy.get('button[type="submit"]').click()
|
||||
cy.url().should('include', '/dashboard')
|
||||
})
|
||||
})
|
||||
cy.visit('/login');
|
||||
cy.get('input[id="email"]').type('test@example.com');
|
||||
cy.get('input[id="password"]').type('password');
|
||||
cy.get('button[type="submit"]').click();
|
||||
cy.url().should('include', '/dashboard');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user