![](/img/trans.png)
[英]How to detect when all images are loaded and elements are rendered at their appropriate heights
[英]how to test all page elements rendered on their place on blog where images are changing with cypress
您可以像这样验证图片 src 属性:
cy.get('img').should('have.attr', 'src', '/location.png')
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.