refactor(tests): remove image source assertions

This commit is contained in:
Félix MARQUET
2025-02-05 09:15:09 +00:00
parent 8e7e3457b0
commit 63e9f758b9
4 changed files with 2 additions and 10 deletions

View File

@@ -71,9 +71,6 @@ describe('<Team />', () => {
cy.get(
`.team-group:eq(${groupIndex}) .team-member:eq(${memberIndex}) .team-member-role`
).should('contain.text', member.role);
cy.get(
`.team-group:eq(${groupIndex}) .team-member:eq(${memberIndex}) img`
).should('have.attr', 'src', member.image);
});
});
});

View File

@@ -168,11 +168,6 @@ describe('<Timeline />', () => {
'contain.text',
'Serge : Notre robot'
);
cy.get('.timeline-project-banner').should(
'have.attr',
'src',
'https://r2.modelec.club/serge.png'
);
cy.get('.timeline-project-paragraph').should(
'contain.text',
'Voici Serge, notre robot pour la coupe de France de Robotique 2024 !'