aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Test.pm
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2020-09-21 17:07:10 +0100
committerZarino Zappia <mail@zarino.co.uk>2020-09-28 12:00:22 +0100
commitf63e2feb37cc9b1e5aca60d85be166fa84eb5f9f (patch)
treeb607a64f03cc666c2ee19918284ce4770e752e5f /perllib/FixMyStreet/App/Controller/Test.pm
parentba768bd5f31544dd0ecbc5f910def42debe02129 (diff)
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!
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Test.pm')
0 files changed, 0 insertions, 0 deletions