add sponsor carousel

This commit is contained in:
Yisroel Baum 2026-06-13 21:40:44 +03:00
parent b5cfdfbd47
commit 000d89bf9e
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
2 changed files with 103 additions and 16 deletions

View file

@ -417,8 +417,9 @@ describe('homepage sponsor strip', () => {
cy.get('[data-cy="sponsor-logo"]').should('have.length', 7)
expectedAlts.forEach((altText) => {
cy.get(`[data-cy="sponsor-logo"][alt="${altText}"]`)
.should('be.visible')
.should('have.attr', 'src')
})
cy.get('[data-cy="sponsor-carousel"]').should('be.visible')
cy.get('[data-cy="sponsor-logo-duplicate"]')
.should('have.length', 7)
cy.get('[data-cy="sponsor-logo-duplicate"][alt=""]')