Skip to content

Commit

Permalink
updated e2e test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ANKUR DWIVEDI authored and ANKUR DWIVEDI committed Nov 5, 2024
1 parent bfa8f59 commit b7a4cf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/IKImage.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ describe("ImageKit Next SDK", () => {
it("should have empty src before reaching lazyload threshold", () => {
cy.visit(APP_HOST);

cy.get(".lazyload").should("have.attr", "src").and("equal", "");
cy.get(".lazyload").should("not.have.attr", "src");
});

it("should have actual src after reaching lazyload threshold", () => {
Expand All @@ -23,7 +23,7 @@ describe("ImageKit Next SDK", () => {
it("should have lqip src before reaching threshold", () => {
cy.visit(APP_HOST);

cy.get(".lazyload-lqip").should("have.attr", "src").and("include", "");
cy.get(".lazyload-lqip").should("not.have.attr", "src");
});

it("should have actual src after reaching element", () => {
Expand Down

0 comments on commit b7a4cf8

Please sign in to comment.