aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller/alert.t
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2017-09-01 12:35:26 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-09-06 15:02:48 +0100
commitedf8456ea8a94687b766915237269b1048417cd3 (patch)
treebcbc5174e729fbc121f399c3f22caceb7e9ddd1b /t/app/controller/alert.t
parentfd42c29f4aaa5110f39993511bc6cdeb3ca6dba7 (diff)
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.
Diffstat (limited to 't/app/controller/alert.t')
-rw-r--r--t/app/controller/alert.t6
1 files changed, 4 insertions, 2 deletions
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 &lsquo;EH1&nbsp;1BB&rsquo;');
+ $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');