From 471c27fb5f0d7d8bfd7405813bd3110e626cbf9a Mon Sep 17 00:00:00 2001 From: Tymoteusz Motylewski Date: Thu, 3 Aug 2023 15:41:53 +0200 Subject: [PATCH] Sorting by price should use less than of equal --- cypress/integration/hyva/catalog/category.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/hyva/catalog/category.spec.js b/cypress/integration/hyva/catalog/category.spec.js index cc9add4..640fe42 100644 --- a/cypress/integration/hyva/catalog/category.spec.js +++ b/cypress/integration/hyva/catalog/category.spec.js @@ -22,7 +22,7 @@ describe("Category page tests", () => { .eq(1) .invoke("data", "price-amount") .then((secondPrice) => { - expect(firstPrice).to.be.lessThan(secondPrice); + expect(firstPrice).to.be.lte(secondPrice); }); }); });