mirror of
https://github.com/modelec/modelec.club.git
synced 2026-01-18 16:37:30 +01:00
refactor(tests): remove image source assertions
This commit is contained in:
@@ -71,9 +71,6 @@ describe('<Team />', () => {
|
|||||||
cy.get(
|
cy.get(
|
||||||
`.team-group:eq(${groupIndex}) .team-member:eq(${memberIndex}) .team-member-role`
|
`.team-group:eq(${groupIndex}) .team-member:eq(${memberIndex}) .team-member-role`
|
||||||
).should('contain.text', member.role);
|
).should('contain.text', member.role);
|
||||||
cy.get(
|
|
||||||
`.team-group:eq(${groupIndex}) .team-member:eq(${memberIndex}) img`
|
|
||||||
).should('have.attr', 'src', member.image);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -168,11 +168,6 @@ describe('<Timeline />', () => {
|
|||||||
'contain.text',
|
'contain.text',
|
||||||
'Serge : Notre robot'
|
'Serge : Notre robot'
|
||||||
);
|
);
|
||||||
cy.get('.timeline-project-banner').should(
|
|
||||||
'have.attr',
|
|
||||||
'src',
|
|
||||||
'https://r2.modelec.club/serge.png'
|
|
||||||
);
|
|
||||||
cy.get('.timeline-project-paragraph').should(
|
cy.get('.timeline-project-paragraph').should(
|
||||||
'contain.text',
|
'contain.text',
|
||||||
'Voici Serge, notre robot pour la coupe de France de Robotique 2024 !'
|
'Voici Serge, notre robot pour la coupe de France de Robotique 2024 !'
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
{"root":["./src/app.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/components/banner/banner.tsx","./src/components/box/box.tsx","./src/components/carousel/carousel.tsx","./src/components/contact/contact.tsx","./src/components/partner/partner.tsx","./src/components/socialnetwork/socialnetwork.tsx","./src/components/team/team.tsx","./src/components/timeline/timeline.tsx","./src/hooks/scrolltotop.tsx","./src/hooks/usewindowssize.tsx","./src/layouts/footer/footer.tsx","./src/layouts/navbar/navbar.tsx","./src/pages/404/404.tsx","./src/pages/contact/contact.tsx","./src/pages/home/home.tsx","./src/pages/partenaires/partenaires.tsx","./src/pages/projets/projets.tsx"],"version":"5.6.3"}
|
{"root":["./src/App.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/components/banner/banner.tsx","./src/components/box/box.tsx","./src/components/carousel/carousel.tsx","./src/components/contact/contact.tsx","./src/components/partner/partner.tsx","./src/components/socialnetwork/socialnetwork.tsx","./src/components/team/team.tsx","./src/components/timeline/timeline.tsx","./src/hooks/scrollToTop.tsx","./src/hooks/useWindowsSize.tsx","./src/layouts/footer/footer.tsx","./src/layouts/navbar/navbar.tsx","./src/pages/404/404.tsx","./src/pages/contact/Contact.tsx","./src/pages/home/Home.tsx","./src/pages/partenaires/Partenaires.tsx","./src/pages/projets/Projets.tsx"],"version":"5.7.2"}
|
||||||
@@ -1 +1 @@
|
|||||||
{"root":["./vite.config.ts"],"version":"5.6.3"}
|
{"root":["./vite.config.ts"],"version":"5.7.2"}
|
||||||
Reference in New Issue
Block a user