From 733baadaa2756db888364907a65a82631b84952b Mon Sep 17 00:00:00 2001 From: Chris Kouvaras Date: Tue, 2 Apr 2024 13:35:40 +0300 Subject: [PATCH] test: update filter_results_page.js --- tests/filter_results_page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/filter_results_page.js b/tests/filter_results_page.js index a99f613..6a8db82 100644 --- a/tests/filter_results_page.js +++ b/tests/filter_results_page.js @@ -242,7 +242,7 @@ class FilterResults { const allPricesArrayUnfilteredNew = await allPricesArrayUnfiltered.map(replaceAllNonDigitChars); // Expecting unfiltered prices array to be the same as original prices array after resetting price filter - expect(await allPricesArrayNew.toString() == await allPricesArrayUnfilteredNew.toString()).toBeTruthy(); + expect(allPricesArrayNew.toString() == allPricesArrayUnfilteredNew.toString()).toBeTruthy(); // Iterating over each price to ensure it falls within the original price range after resetting price filter for (let i = 0; i < await allPrices.count(); i++) {