Project

General

Profile

BUG #3170

Updated by Tasfia Zaima 7 months ago

The Min and Max validation in the search box does not work properly for multiple filters. 
 The affected filters are: 
 * Price 
 * Year 
 * Mileage 
 * Engine CC 

 
 Users are able to enter invalid ranges (e.g., Min > Max or incomplete values) and the system still accepts them or returns inconsistent results. 

 **Steps to Reproduce:** 
 * Navigate to Home page. 
 * In the search box, set a Min value greater than the Max value for Price (e.g., Min $9000 and Max $500). 
 * Repeat the same for Year, Mileage, and Engine CC. 
 * Observe that the filter still accepts the input or produces incorrect results. 

 **Expected Result:** 
 * Min and Max values should be validated before applying the filter. 
 * The system should not allow invalid ranges (e.g., Min > Max or incomplete values). 
 * Filters should consistently return results within the valid range only. 

 **Actual Result:** 
 Search box accepts invalid Min and Max values for Price, Year, Mileage and Engine CC and returns results. 

 **Video:** 
 https://drive.google.com/file/d/1TDp7TXE10gnfelCg08rMBWnVfdrPDkoB/view?usp=sharing 

Back