Skip to content

Commit

Permalink
Revert "update postcode question"
Browse files Browse the repository at this point in the history
This reverts commit 1f9c517.
  • Loading branch information
emmaachesongray committed Dec 17, 2024
1 parent 1f9c517 commit 7dc524d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: What's your UK postcode? (optional)
address_postcode: Your UK postcode (optional)

search:
search: Search for ...
Expand Down
2 changes: 1 addition & 1 deletion docs/sign-up-journeys.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ graph TD;
teacher_training --> subject[Select the subject you're most interested in teaching]
subject --> postcode["What's your UK postcode? (optional)"]
subject --> postcode["Your UK postcode (optional)"]
postcode --> show_welcome_guide{Show welcome guide?}
Expand Down
10 changes: 5 additions & 5 deletions spec/features/mailing_list_wizard_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
click_on "Next step"

expect(page).to have_text "If you give us your postcode"
fill_in "What's your UK postcode? (optional)", with: "TE57 1NG"
fill_in "Your UK postcode (optional)", with: "TE57 1NG"
click_on "Complete sign up"

expect(page).to have_title("You've signed up | Get Into Teaching")
Expand Down Expand Up @@ -78,7 +78,7 @@
click_on "Next step"

expect(page).to have_text "If you give us your postcode"
fill_in "What's your UK postcode? (optional)", with: "TE57 1NG"
fill_in "Your UK postcode (optional)", with: "TE57 1NG"
click_on "Complete sign up"

expect(page).to have_text "Test, you're signed up"
Expand Down Expand Up @@ -117,7 +117,7 @@
click_on "Next step"

expect(page).to have_text "If you give us your postcode"
fill_in "What's your UK postcode? (optional)", with: "TE57 1NG"
fill_in "Your UK postcode (optional)", with: "TE57 1NG"
click_on "Complete sign up"

expect(page).to have_text "Test, you're signed up"
Expand Down Expand Up @@ -156,7 +156,7 @@
click_on "Next step"

expect(page).to have_text "If you give us your postcode"
fill_in "What's your UK postcode? (optional)", with: "TE57 1NG"
fill_in "Your UK postcode (optional)", with: "TE57 1NG"
click_on "Complete sign up"

expect(page).to have_text "Test, you're signed up"
Expand Down Expand Up @@ -346,7 +346,7 @@
click_on "Next step"

expect(page).to have_text "If you give us your postcode"
fill_in "What's your UK postcode? (optional)", with: ""
fill_in "Your UK postcode (optional)", with: ""
click_on "Complete sign up"

expect(page).to have_text "you're signed up"
Expand Down
4 changes: 2 additions & 2 deletions spec/integration/mailing_list_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 "What's your UK postcode? (optional)", with: "TE57 1NG"
fill_in "Your UK postcode (optional)", with: "TE57 1NG"
click_on "Complete sign up"

expect(page).to have_text("you're signed up")
Expand Down Expand 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 "What's your UK postcode? (optional)", with: "TE57 1NG"
fill_in "Your UK postcode (optional)", with: "TE57 1NG"
click_on "Complete sign up"

expect(page).to have_text("you're signed up")
Expand Down

0 comments on commit 7dc524d

Please sign in to comment.