Skip to content

Commit 390da91

Browse files
ANKUR DWIVEDIANKUR DWIVEDI
authored andcommitted
update e2e test
1 parent a538a31 commit 390da91

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/cypress/integration/IKImage.cy.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ describe('ImageKit React SDK', () => {
55
it('should have empty src before reaching lazyload threshold', () => {
66
cy.visit(APP_HOST);
77

8-
cy.get('.lazyload').should('have.attr', 'src').and('equal', '');
8+
cy.get(".lazyload").should("not.have.attr", "src");
99
});
1010

1111
it('should have actual src after reaching lazyload threshold', () => {
@@ -25,9 +25,7 @@ describe('ImageKit React SDK', () => {
2525
it('should have lqip src before reaching threshold', () => {
2626
cy.visit(APP_HOST);
2727

28-
cy.get('.lazyload-lqip')
29-
.should('have.attr', 'src')
30-
.and('include', '');
28+
cy.get(".lazyload-lqip").should("not.have.attr", "src");
3129
});
3230

3331
it('should have actual src after reaching element', () => {

0 commit comments

Comments
 (0)