From 2100e9610db2b4a854c4540959aa03d8b6d88cb8 Mon Sep 17 00:00:00 2001 From: Simon Hughesdon Date: Thu, 8 Apr 2021 15:59:47 +0100 Subject: [PATCH] Add new voting and COVID section to the schema The content is already live on https://www.gov.uk/how-to-vote and this is an update to match. As we've added a new section we need to increment the section count --- config/machine_readable/how-to-vote.yml | 17 +++++++++++++++++ test/integration/guide_test.rb | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/config/machine_readable/how-to-vote.yml b/config/machine_readable/how-to-vote.yml index acc93ce09..b35177af7 100644 --- a/config/machine_readable/how-to-vote.yml +++ b/config/machine_readable/how-to-vote.yml @@ -32,6 +32,23 @@ faqs:

Elections you can vote in

Different elections have different rules on who can vote.

+ - question: Voting and coronavirus (COVID-19) + answer: > +

Elections and referendums are going ahead during coronavirus (COVID-19), though you may see changes to some processes. You can still choose to vote in person.

+

If you’re self-isolating, clinically extremely vulnerable, or do not want to go to the polling station, you can vote by post or vote by proxy.

+

From 27 April you’ll also be able to get an emergency proxy vote at short notice if you need to self-isolate shortly before or on election day.

+

At the polling station

+

Because of COVID-19, there will be safety measures in place at polling stations to help you vote safely (for example, restrictions on the number of people allowed in).

+

If you choose to vote in person, make sure you:

+ +

If you have COVID-19 symptoms or have been asked to self-isolate

+

Do not visit the polling station. You’ll be able to apply for an emergency proxy vote instead from 27 April.

+ - question: Voting in person answer: >

You vote in person at a polling station (usually in a public building, such as a school or local hall).

diff --git a/test/integration/guide_test.rb b/test/integration/guide_test.rb index 926f6a94c..bbfdae9d6 100644 --- a/test/integration/guide_test.rb +++ b/test/integration/guide_test.rb @@ -123,7 +123,7 @@ class GuideTest < ActionDispatch::IntegrationTest assert_equal faq_schema["headline"], "How to vote" assert_equal faq_schema["description"], "

You need to be registered to vote before you can vote in UK elections or referendums.

If you’re eligible, you can vote in person on the day of the election at a named polling station. You can also apply for a postal or proxy vote instead.

There are elections and referendums in England, Scotland and Wales on 6 May 2021.

\n" - assert_equal 9, q_and_as.count + assert_equal 10, q_and_as.count end test "voting in the UK guide shows all chapters on a single page" do