Find a way to test the mw.Uri parameter manipulation and validation in RCFilters.
|Resolved||Mooeypoo||T166972 RCFilters URL is inconsistent with its results between the front- and back-end|
|Resolved||Mooeypoo||T166974 Create unit tests for URL manipulation in RCFilters|
Checked in betalabs - especially the following cases: 'Highlight parameters in Uri query set highlight state in the model',
'Parameters in Uri query set parameter value in the model''Invert parameter in Uri query set invert state in the model'
The filter sets with highlighting (both - when filters are selected and not selected) and inverted (also with highlighting and selected/not selected filters) can be copied/bookmarked successfully.
Note: even the edge test case is working:
- a user does not have enabled RC filters, but receives a url where invert and highlight were used.
- pastes the url in browser address bar and sees default
- saves it as a bookmark
- enables RC filters
- invoke the saved bookmark and sees highlight/invert/selected or not selected (highlight only) filters.