Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update H1 on adviser start page #4468

Merged
merged 3 commits into from
Jan 8, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def crm_store
end

def set_step_page_title
@page_title = "Get an adviser"
@page_title = "Get a free adviser"

if @current_step&.title
@page_title += ", #{@current_step.title.downcase} step"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<% content_for(:right_image) { "images/content/tta-sign-up/right.jpg" } %>
<% content_for(:mobile_image) { "images/content/tta-sign-up/mobile.jpg" } %>

<h1>Get an adviser</h1>
<h1>Get a free adviser</h1>

<p>
If you're thinking about teaching in England, an adviser can provide free, one-to-one support by phone,
Expand Down
36 changes: 18 additions & 18 deletions spec/features/teacher_training_adviser/sign_up_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
visit teacher_training_adviser_step_path(:identity, channel: 123_456, sub_channel: sub_channel_id)
click_on "Next step"

expect(page).to have_css "h1", text: "Get an adviser"
expect(page).to have_css "h1", text: "Get a free adviser"
# Simulate en error to ensure channel id is not lost
click_on "Next step"
expect(page).to have_text("You need to enter your first name")
Expand Down Expand Up @@ -133,7 +133,7 @@
visit "/teacher-training-advisers?channel=123456&sub_channel=#{sub_channel_id}"
click_on "Next step"

expect(page).to have_css "h1", text: "Get an adviser"
expect(page).to have_css "h1", text: "Get a free adviser"
# Simulate en error to ensure channel id is not lost
click_on "Next step"
expect(page).to have_text("You need to enter your first name")
Expand Down Expand Up @@ -209,7 +209,7 @@
visit teacher_training_adviser_step_path(:identity, channel: 123_456)
click_on "Next step"

expect(page).to have_css "h1", text: "Get an adviser"
expect(page).to have_css "h1", text: "Get a free adviser"
fill_in_identity_step
click_on "Next step"

Expand Down Expand Up @@ -275,7 +275,7 @@
scenario "that is a returning teacher" do
visit teacher_training_adviser_steps_path

expect(page).to have_css "h1", text: "Get an adviser"
expect(page).to have_css "h1", text: "Get a free adviser"
fill_in_identity_step
click_on "Next step"

Expand Down Expand Up @@ -349,7 +349,7 @@
scenario "with an equivalent degree (overseas)" do
visit teacher_training_adviser_steps_path

expect(page).to have_css "h1", text: "Get an adviser"
expect(page).to have_css "h1", text: "Get a free adviser"
fill_in_identity_step
click_on "Next step"

Expand Down Expand Up @@ -418,7 +418,7 @@
scenario "with an equivalent degree (UK)" do
visit teacher_training_adviser_steps_path

expect(page).to have_css "h1", text: "Get an adviser"
expect(page).to have_css "h1", text: "Get a free adviser"
fill_in_identity_step
click_on "Next step"

Expand Down Expand Up @@ -485,7 +485,7 @@
scenario "with an equivalent degree" do
visit teacher_training_adviser_steps_path

expect(page).to have_css "h1", text: "Get an adviser"
expect(page).to have_css "h1", text: "Get a free adviser"
fill_in_identity_step
click_on "Next step"

Expand Down Expand Up @@ -547,7 +547,7 @@
scenario "with an equivalent degree (UK)" do
visit teacher_training_adviser_steps_path

expect(page).to have_css "h1", text: "Get an adviser"
expect(page).to have_css "h1", text: "Get a free adviser"
fill_in_identity_step
click_on "Next step"

Expand Down Expand Up @@ -610,7 +610,7 @@
scenario "studying for a degree (not final year)" do
visit teacher_training_adviser_steps_path

expect(page).to have_css "h1", text: "Get an adviser"
expect(page).to have_css "h1", text: "Get a free adviser"
fill_in_identity_step
click_on "Next step"

Expand Down Expand Up @@ -674,7 +674,7 @@
scenario "studying for a degree (final year)" do
visit teacher_training_adviser_steps_path

expect(page).to have_css "h1", text: "Get an adviser"
expect(page).to have_css "h1", text: "Get a free adviser"
fill_in_identity_step
click_on "Next step"

Expand Down Expand Up @@ -754,7 +754,7 @@
scenario "candidate changes an answer" do
visit teacher_training_adviser_steps_path

expect(page).to have_css "h1", text: "Get an adviser"
expect(page).to have_css "h1", text: "Get a free adviser"
fill_in_identity_step
click_on "Next step"

Expand Down Expand Up @@ -831,7 +831,7 @@
scenario "candidate is a returning primary teacher" do
visit teacher_training_adviser_steps_path

expect(page).to have_css "h1", text: "Get an adviser"
expect(page).to have_css "h1", text: "Get a free adviser"
fill_in_identity_step
click_on "Next step"

Expand Down Expand Up @@ -895,7 +895,7 @@
scenario "without a degree" do
visit teacher_training_adviser_steps_path

expect(page).to have_css "h1", text: "Get an adviser"
expect(page).to have_css "h1", text: "Get a free adviser"
fill_in_identity_step
click_on "Next step"

Expand All @@ -914,7 +914,7 @@
scenario "without science GCSEs, primary" do
visit teacher_training_adviser_steps_path

expect(page).to have_css "h1", text: "Get an adviser"
expect(page).to have_css "h1", text: "Get a free adviser"
fill_in_identity_step
click_on "Next step"

Expand Down Expand Up @@ -961,7 +961,7 @@
scenario "without english/maths GCSEs, primary" do
visit teacher_training_adviser_steps_path

expect(page).to have_css "h1", text: "Get an adviser"
expect(page).to have_css "h1", text: "Get a free adviser"
fill_in_identity_step
click_on "Next step"

Expand Down Expand Up @@ -1000,7 +1000,7 @@
scenario "without GCSEs, secondary" do
visit teacher_training_adviser_steps_path

expect(page).to have_css "h1", text: "Get an adviser"
expect(page).to have_css "h1", text: "Get a free adviser"
fill_in_identity_step
click_on "Next step"

Expand Down Expand Up @@ -1066,7 +1066,7 @@
scenario "matchback" do
visit teacher_training_adviser_steps_path

expect(page).to have_css "h1", text: "Get an adviser"
expect(page).to have_css "h1", text: "Get a free adviser"
fill_in_identity_step
click_on "Next step"

Expand Down Expand Up @@ -1149,7 +1149,7 @@
scenario "skipping pre-filled optional steps" do
visit teacher_training_adviser_steps_path

expect(page).to have_css "h1", text: "Get an adviser"
expect(page).to have_css "h1", text: "Get a free adviser"
fill_in_identity_step
click_on "Next step"

Expand Down
Loading