mirror of
https://github.com/modelec/modelec.club.git
synced 2026-01-18 16:37:30 +01:00
21 lines
534 B
TypeScript
21 lines
534 B
TypeScript
describe('Home Page Redirections', () => {
|
|
beforeEach(() => {
|
|
cy.visit('/');
|
|
});
|
|
|
|
it('should redirect to Projets page', () => {
|
|
cy.get('a[href="/projets/"]').click();
|
|
cy.url().should('include', '/projets/');
|
|
});
|
|
|
|
it('should redirect to Partenaires page', () => {
|
|
cy.get('a[href="/partenaires/"]').click();
|
|
cy.url().should('include', '/partenaires/');
|
|
});
|
|
|
|
it('should redirect to Contact page', () => {
|
|
cy.get('a[href="/contact/"]').click();
|
|
cy.url().should('include', '/contact/');
|
|
});
|
|
});
|