CUAHSI / HydroClient

Generally available source code for the CUAHSI HydroClient Web Application
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

'No matches found' when filtering #85

Open hydrocheck opened 5 years ago

hydrocheck commented 5 years ago

Steps to reproduce Expected Behavior Positive Test Case Please note: This fix addresses only one 'no matches found' scenario - entry of non-matching text in the 'Find in Table' input. The other 'no matches found' scenario - selection of mutually exclusive entries from the 'Keywords' or 'Data Properties' trees - is to be fixed later in the current Sprint...

This issue can be tested on the QA website: http://qa-hiswebclient.azurewebsites.net/

Please test as follows:

1.) Open the HydroClient2.) Create and run a search which returns results at or below the allowed maximum (currently 25,000)3.) When the search completes, open the 'Filter Results' dialog4.) Verify the results trees and detailed results table correctly display the search results5.) In the 'Find in Table' input enter a string which does not match any results text (e.g. 'xyz'). 6.) After the HydroClient processes the input, verify the following:

The table displays the message 'No table records match current filter(s)'

The results trees appear empty (note: this is a temporary behavior, to be fixed later in the Sprint)7.) Close the 'Filter Results' dialog8.) On the main page, verify the following:

No markers appear on the map

'Timeseries Found' displays 0 (zero)

The map filters badge displays the current 'Find in Table' string 9.) Click the map badge 'x' to remove the 'Find in Table' filter10.) Verify the HydroClient does the following:

Removes the filter badge from the map

Restores the original map markers

Restores the 'Timeseries Found' field

Re-populates the 'Filter Results' dialog with the original search results

Corrected reported problem with Step 9 of Positive Test Case.

Updated Step 10 of test case accordingly... Actual Behavior

hydrocheck commented 5 years ago

port.zip