From 3674d7eb0427c1598eaf35277edf7648916ea7d5 Mon Sep 17 00:00:00 2001 From: Malcolm Baig Date: Wed, 19 Jun 2024 14:07:50 +0000 Subject: [PATCH] Update sign in page content --- app/views/sign_in/new.html.erb | 59 ++++++++++++--------- spec/support/system/authentication_steps.rb | 2 +- spec/system/user_signs_out_spec.rb | 3 +- 3 files changed, 37 insertions(+), 27 deletions(-) diff --git a/app/views/sign_in/new.html.erb b/app/views/sign_in/new.html.erb index c9967f21..82339c7f 100644 --- a/app/views/sign_in/new.html.erb +++ b/app/views/sign_in/new.html.erb @@ -1,39 +1,50 @@
-

Sign in to check the children’s barred list

- -

- People on the children’s barred list are not allowed to work with children. -

- -

- The list is usually checked as part of a new employee’s enhanced Disclosure and Barring Service (DBS) check. -

- -

- Schools, colleges, local authorities and higher education institutions can check the children’s barred list separately if the new employee either: -

+

+ Check the children's barred list +

+
+
+
+
+

People on the children’s barred list are not allowed to work with children.

+

The list is usually checked as part of a new employee’s enhanced Disclosure and Barring Service (DBS) check.

+

Schools, colleges, local authorities and higher education institutions can check the children’s barred list separately if the new employee either:

    -
  • - will start working with children while waiting for the result of an enhanced DBS check -
  • -
  • - does not need an enhanced DBS check because they’ve worked with children in a school or college within the last 3 months -
  • +
  • will start working with children while waiting for the result of an enhanced DBS check
  • +
  • does not need an enhanced DBS check because they’ve worked with children in a school or college within the last 3 months
  • +
+

You’ll need the new employee’s last name and date of birth to check the children’s barred list.

+

Before you start

+

You need a DfE Sign-in account. If you do not have one then you can:

+
    +
  • ask your organisation’s approver to create an account for you
  • +
  • use the contact form to request an account if you do not have an approver
- -

- You’ll need the new employee’s last name and date of birth to check the children’s barred list. -

<%= form_with url: (DfESignIn.bypass? ? "/auth/developer" : "/auth/dfe") do |f| %> <% end %>
+ +
+
+ +
+
diff --git a/spec/support/system/authentication_steps.rb b/spec/support/system/authentication_steps.rb index ca34496e..6c7e1c29 100644 --- a/spec/support/system/authentication_steps.rb +++ b/spec/support/system/authentication_steps.rb @@ -95,7 +95,7 @@ def when_i_visit_the_sign_in_page end def and_click_the_dsi_sign_in_button - click_button "Sign in" + click_button "Start now" end def organisations_endpoint diff --git a/spec/system/user_signs_out_spec.rb b/spec/system/user_signs_out_spec.rb index 65f137b8..b1180722 100644 --- a/spec/system/user_signs_out_spec.rb +++ b/spec/system/user_signs_out_spec.rb @@ -20,7 +20,6 @@ def when_i_sign_out end def then_i_am_redirected_to_the_sign_in_page - expect(page).to have_content "Sign in to check the children’s barred list" - expect(page).to have_button "Sign in" + expect(page).to have_button "Start now" end end