Assert the search reports an error with the given text under the query, as for a field that does not exist.
Examples
Then I should see the search error "Field 'projectt' does not exist or you do not have permission to view it."
Then I should see the search error "does not exist"
Then we should see the search error "Error in the JQL Query"
And I should see the search error "does not exist or you do not have permission"
Then I should not see the search error "does not exist"
Pattern
Then(/^(I |we )*should( not)* see the search error "([^"]*)"$/, …)
Part of @webship-js/jira-steps (github.com/webship/jira-steps), a step pack for Webship-js 2.0.x.