Is there a way to check if text was cropped by text-overflow?
CSS:
.elem {
...
overflow: hidden;
text-overflow: ellipsis;
...
}
Sometimes element contain many text which overflowed and it's ending replace with '...'.
This won't work because actually there no '...' in element content it only visual:
cy.get(elem).should('contain', '...')