Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TestMech->page_errors now handles error markup with leading spaces
The "error" output in our new `.search-help__header` element begins and ends with whitespace. The test really shouldn’t care about whitespace at the start and end of HTML tags, so this commit makes page_errors trim whitespace from the errors it passes to the tests. Also adds `.search-help__header` as a location to find page errors!
- Loading branch information