Skip to content

Commit

Permalink
Merge pull request #3044 from DFE-Digital/fe-select-provision-copy
Browse files Browse the repository at this point in the history
[LUPEYALPHA-798] Update copy for FE select provision
  • Loading branch information
asmega authored Aug 1, 2024
2 parents 58bf26f + 8d8e1fa commit 953b6c4
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
tag: "h1",
size: "l"
},
hint: { text: "Select your college from the search results." } %>
hint: { text: @form.t("hint") } %>

<%= f.govuk_submit %>
<% end %>
Expand Down
5 changes: 3 additions & 2 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -862,9 +862,10 @@ en:
blank: Enter a college name or postcode
min_length: Enter a college name or postcode that is at least 3 characters long
select_provision:
heading: Select the college you teach at
heading: Select where you are employed
hint: Select the further education provider you are employed by. If you work for a college or sixth-form group, you should select the group name.
errors:
blank: Select the college you teach at
blank: Select where you are employed
contract_type:
question: What type of contract do you have with %{school_name}?
options:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
end
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
expect(page).to have_selector "input[type=radio][checked=checked][value='#{college.id}']", visible: false
click_button "Continue"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
fill_in "Which FE provider are you employed by?", with: college.name
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose college.name
click_button "Continue"

Expand Down
38 changes: 19 additions & 19 deletions spec/features/further_education_payments/ineligible_paths_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
fill_in "Which FE provider are you employed by?", with: ineligible_college.name
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose ineligible_college.name
click_button "Continue"

Expand All @@ -52,7 +52,7 @@
fill_in "Which FE provider are you employed by?", with: eligible_college.name
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose eligible_college.name
click_button "Continue"

Expand Down Expand Up @@ -80,7 +80,7 @@
end
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose ineligible_college.name
click_button "Continue"

Expand All @@ -95,7 +95,7 @@
end
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose eligible_college.name
click_button "Continue"

Expand All @@ -118,7 +118,7 @@
fill_in "Which FE provider are you employed by?", with: closed_eligible_college.name
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose closed_eligible_college.name
click_button "Continue"

Expand All @@ -129,7 +129,7 @@
fill_in "Which FE provider are you employed by?", with: eligible_college.name
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose eligible_college.name
click_button "Continue"

Expand All @@ -152,7 +152,7 @@
fill_in "Which FE provider are you employed by?", with: eligible_college.name
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose eligible_college.name
click_button "Continue"

Expand Down Expand Up @@ -187,7 +187,7 @@
fill_in "Which FE provider are you employed by?", with: eligible_college.name
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose eligible_college.name
click_button "Continue"

Expand Down Expand Up @@ -227,7 +227,7 @@
fill_in "Which FE provider are you employed by?", with: eligible_college.name
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose eligible_college.name
click_button "Continue"

Expand Down Expand Up @@ -258,7 +258,7 @@
fill_in "Which FE provider are you employed by?", with: eligible_college.name
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose eligible_college.name
click_button "Continue"

Expand Down Expand Up @@ -302,7 +302,7 @@
fill_in "Which FE provider are you employed by?", with: eligible_college.name
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose eligible_college.name
click_button "Continue"

Expand Down Expand Up @@ -350,7 +350,7 @@
fill_in "Which FE provider are you employed by?", with: eligible_college.name
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose eligible_college.name
click_button "Continue"

Expand Down Expand Up @@ -386,7 +386,7 @@
fill_in "Which FE provider are you employed by?", with: eligible_college.name
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose eligible_college.name
click_button "Continue"

Expand Down Expand Up @@ -452,7 +452,7 @@
fill_in "Which FE provider are you employed by?", with: eligible_college.name
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose eligible_college.name
click_button "Continue"

Expand Down Expand Up @@ -518,7 +518,7 @@
fill_in "Which FE provider are you employed by?", with: eligible_college.name
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose eligible_college.name
click_button "Continue"

Expand Down Expand Up @@ -574,7 +574,7 @@
fill_in "Which FE provider are you employed by?", with: eligible_college.name
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose eligible_college.name
click_button "Continue"

Expand Down Expand Up @@ -606,7 +606,7 @@
fill_in "Which FE provider are you employed by?", with: eligible_college.name
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose eligible_college.name
click_button "Continue"

Expand Down Expand Up @@ -646,7 +646,7 @@
fill_in "Which FE provider are you employed by?", with: eligible_college.name
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose eligible_college.name
click_button "Continue"

Expand Down Expand Up @@ -686,7 +686,7 @@
fill_in "Which FE provider are you employed by?", with: eligible_college.name
click_button "Continue"

expect(page).to have_content("Select the college you teach at")
expect(page).to have_content("Select where you are employed")
choose eligible_college.name
click_button "Continue"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
is_expected.not_to(
allow_value("")
.for(:possible_school_id)
.with_message("Select the college you teach at")
.with_message("Select where you are employed")
)
end
end
Expand Down

0 comments on commit 953b6c4

Please sign in to comment.