This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (service === 'news') { | |
it('should have a visible image with a caption that is lazyloaded and has a noscript fallback image', () => { | |
cy.get('figure') | |
.eq(2) | |
.within(() => { | |
cy.get('div div div div').should( | |
'have.class', | |
'lazyload-placeholder', | |
); | |
}) |