The trainer can’t currently assert a path containing a query string (e.g. test.com/search?page=1).
You can assert if a URL contains a given query string by choosing to assert against the href or search attribute of the URL. The href contains the complete URL while the search attribute refers to everything after the beginning of the query string represented by the "?" symbol. You can also assert agains the URL hash attribute which refers to the string after a "#" in the URL.