From 1f9c517ea205868284ebc152371948107d20287c Mon Sep 17 00:00:00 2001 From: emmaachesongray <168454683+emmaachesongray@users.noreply.github.com> Date: Tue, 17 Dec 2024 09:13:27 +0000 Subject: [PATCH] update postcode question --- config/locales/en.yml | 2 +- docs/sign-up-journeys.md | 2 +- spec/features/mailing_list_wizard_spec.rb | 10 +++++----- spec/integration/mailing_list_spec.rb | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 68845720cd..8973fe3963 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -811,7 +811,7 @@ en: mailing_list_steps_subject: preferred_teaching_subject_id: Select the subject you're most interested in teaching mailing_list_steps_postcode: - address_postcode: Your UK postcode (optional) + address_postcode: What's your UK postcode? (optional) search: search: Search for ... diff --git a/docs/sign-up-journeys.md b/docs/sign-up-journeys.md index 507a52b416..527910ab0f 100644 --- a/docs/sign-up-journeys.md +++ b/docs/sign-up-journeys.md @@ -18,7 +18,7 @@ graph TD; teacher_training --> subject[Select the subject you're most interested in teaching] - subject --> postcode["Your UK postcode (optional)"] + subject --> postcode["What's your UK postcode? (optional)"] postcode --> show_welcome_guide{Show welcome guide?} diff --git a/spec/features/mailing_list_wizard_spec.rb b/spec/features/mailing_list_wizard_spec.rb index 4154164299..f71e31b27a 100644 --- a/spec/features/mailing_list_wizard_spec.rb +++ b/spec/features/mailing_list_wizard_spec.rb @@ -37,7 +37,7 @@ click_on "Next step" expect(page).to have_text "If you give us your postcode" - fill_in "Your UK postcode (optional)", with: "TE57 1NG" + fill_in "What's your UK postcode? (optional)", with: "TE57 1NG" click_on "Complete sign up" expect(page).to have_title("You've signed up | Get Into Teaching") @@ -78,7 +78,7 @@ click_on "Next step" expect(page).to have_text "If you give us your postcode" - fill_in "Your UK postcode (optional)", with: "TE57 1NG" + fill_in "What's your UK postcode? (optional)", with: "TE57 1NG" click_on "Complete sign up" expect(page).to have_text "Test, you're signed up" @@ -117,7 +117,7 @@ click_on "Next step" expect(page).to have_text "If you give us your postcode" - fill_in "Your UK postcode (optional)", with: "TE57 1NG" + fill_in "What's your UK postcode? (optional)", with: "TE57 1NG" click_on "Complete sign up" expect(page).to have_text "Test, you're signed up" @@ -156,7 +156,7 @@ click_on "Next step" expect(page).to have_text "If you give us your postcode" - fill_in "Your UK postcode (optional)", with: "TE57 1NG" + fill_in "What's your UK postcode? (optional)", with: "TE57 1NG" click_on "Complete sign up" expect(page).to have_text "Test, you're signed up" @@ -346,7 +346,7 @@ click_on "Next step" expect(page).to have_text "If you give us your postcode" - fill_in "Your UK postcode (optional)", with: "" + fill_in "What's your UK postcode? (optional)", with: "" click_on "Complete sign up" expect(page).to have_text "you're signed up" diff --git a/spec/integration/mailing_list_spec.rb b/spec/integration/mailing_list_spec.rb index 22b1152a0d..6f21055470 100644 --- a/spec/integration/mailing_list_spec.rb +++ b/spec/integration/mailing_list_spec.rb @@ -56,7 +56,7 @@ def sign_up(first_name, last_name, email) click_on "Next step" expect(page).to have_text "If you give us your postcode" - fill_in "Your UK postcode (optional)", with: "TE57 1NG" + fill_in "What's your UK postcode? (optional)", with: "TE57 1NG" click_on "Complete sign up" expect(page).to have_text("you're signed up") @@ -89,7 +89,7 @@ def sign_up_if_not_qualified(first_name, last_name, email) click_on "Next step" expect(page).to have_text "If you give us your postcode" - fill_in "Your UK postcode (optional)", with: "TE57 1NG" + fill_in "What's your UK postcode? (optional)", with: "TE57 1NG" click_on "Complete sign up" expect(page).to have_text("you're signed up")