Skip to content

Commit

Permalink
test: update filter_results_page.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Kouvaras committed Apr 2, 2024
1 parent caa5127 commit 733baad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/filter_results_page.js
Original file line number Diff line number Diff line change
Expand Up @@ -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++) {
Expand Down

0 comments on commit 733baad

Please sign in to comment.