We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a538a31 commit 390da91Copy full SHA for 390da91
1 file changed
tests/cypress/integration/IKImage.cy.js
@@ -5,7 +5,7 @@ describe('ImageKit React SDK', () => {
5
it('should have empty src before reaching lazyload threshold', () => {
6
cy.visit(APP_HOST);
7
8
- cy.get('.lazyload').should('have.attr', 'src').and('equal', '');
+ cy.get(".lazyload").should("not.have.attr", "src");
9
});
10
11
it('should have actual src after reaching lazyload threshold', () => {
@@ -25,9 +25,7 @@ describe('ImageKit React SDK', () => {
25
it('should have lqip src before reaching threshold', () => {
26
27
28
- cy.get('.lazyload-lqip')
29
- .should('have.attr', 'src')
30
- .and('include', '');
+ cy.get(".lazyload-lqip").should("not.have.attr", "src");
31
32
33
it('should have actual src after reaching element', () => {
0 commit comments