From edf8456ea8a94687b766915237269b1048417cd3 Mon Sep 17 00:00:00 2001 From: Zarino Zappia Date: Fri, 1 Sep 2017 12:35:26 +0100 Subject: Simpler alerts signup page. Alert options on the /alert/list page are now in an order that is easier to parse, with a slightly clearer message for users in two-tier locations, and a more prominent email subscription CTA. --- t/app/controller/alert.t | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 't/app/controller') diff --git a/t/app/controller/alert.t b/t/app/controller/alert.t index 3ae71b7c1..4aa2fdf7d 100644 --- a/t/app/controller/alert.t +++ b/t/app/controller/alert.t @@ -24,7 +24,7 @@ FixMyStreet::override_config { $mech->get_ok('/alert/list?pc=EH1 1BB'); $mech->title_like(qr/^Local RSS feeds and email alerts/); - $mech->content_contains('Here are the types of local problem alerts for ‘EH1 1BB’'); + $mech->content_contains('Local RSS feeds and email alerts for ‘EH1 1BB’'); $mech->content_contains('html class="no-js" lang="en-gb"'); $mech->content_contains('Problems within 10.0km'); $mech->content_contains('rss/pc/EH11BB/2'); @@ -47,8 +47,10 @@ FixMyStreet::override_config { $mech->get_ok('/alert/list?pc='); $mech->content_contains('To find out what local alerts we have for you'); + # Two-tier council $mech->get_ok('/alert/list?pc=GL502PR'); - $mech->content_contains('Problems within the boundary of'); + $mech->content_contains('Problems in an area'); + $mech->content_contains('Reports by destination'); $mech->get_ok('/alert/subscribe?rss=1&type=local&pc=ky16+8yg&rss=Give+me+an+RSS+feed&rznvy=' ); $mech->content_contains('Please select the feed you want'); -- cgit v1.2.3