The field of the full search page holds the words and the filters it searches for (a filter chosen in the advanced filters adds its term: "#support", "tags:howto", "@member").
Examples
Then the search field should read "backups #support"
Then the search field should read "keyboard @member"
Then the search field should read "laptop tags:howto"
Then the search field should read "backups"
Then the search field should read "backups #support @member"
Pattern
Then(/^the search field should read "([^"]*)"$/, …)
Part of @webship-js/discourse-steps (github.com/webship/discourse-steps), a step pack for Webship-js 2.0.x.