test media set icon

This commit is contained in:
Yisroel Baum 2026-05-25 20:47:46 +03:00
parent 0aeeed6f2e
commit 28f0e87386
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9

View file

@ -6,7 +6,10 @@ describe('media page sets', () => {
.should('have.length', 1)
.first()
.within(() => {
cy.get('[data-cy="media-set-icon"]').should('be.visible')
cy.get('img[data-cy="media-set-icon"]')
.should('be.visible')
.and('have.attr', 'src')
.and('include', '/assets/baderech-haavodah-icon.svg')
cy.contains('h2', 'Baderech HaAvodah').should('be.visible')
cy.contains('a structured path for inner and outer growth')
.should('be.visible')