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

Rename "School sessions" to "Sessions" in the secondary nav #1938

Merged
merged 1 commit into from
Oct 8, 2024
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
2 changes: 1 addition & 1 deletion app/views/programmes/sessions.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%= content_for :page_title, "#{@programme.name} – School sessions" %>
<%= content_for :page_title, "#{@programme.name} – Sessions" %>

<% content_for :before_main do %>
<%= render AppBreadcrumbComponent.new(items: [
Expand Down
2 changes: 1 addition & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ en:
email: england.mavis@nhs.net
sessions:
index:
title: School sessions
title: Sessions
table_heading:
zero: There are no sessions scheduled for today.
one: 1 session today
Expand Down
2 changes: 1 addition & 1 deletion spec/features/e2e_journey_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def then_i_see_that_the_cohort_has_been_uploaded
end

def when_i_start_creating_a_new_session_by_choosing_school_and_time
click_on "School sessions"
click_on "Sessions"
click_on "Unscheduled"
click_on "Pilot School"
click_on "Schedule sessions"
Expand Down
2 changes: 1 addition & 1 deletion spec/features/import_class_lists_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def given_an_hpv_programme_is_underway
def when_i_visit_a_session_page_for_the_hpv_programme
sign_in @user
visit "/dashboard"
click_on "School sessions", match: :first
click_on "Sessions", match: :first
click_on "Unscheduled"
click_on "Waterloo Road"
end
Expand Down
2 changes: 1 addition & 1 deletion spec/features/manage_sessions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def given_my_team_is_running_an_hpv_vaccination_programme
def when_i_go_to_todays_sessions_as_a_nurse
sign_in @team.users.first
visit "/dashboard"
click_link "School sessions", match: :first
click_link "Sessions", match: :first
end

def when_i_go_to_unscheduled_sessions
Expand Down
4 changes: 2 additions & 2 deletions spec/features/parental_consent_refused_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def when_the_nurse_checks_the_consent_responses
click_on "Programmes", match: :first
click_on "HPV"
within ".app-secondary-navigation" do
click_on "School sessions"
click_on "Sessions"
end
click_on "Pilot School"
click_on "Check consent responses"
Expand All @@ -144,7 +144,7 @@ def and_the_action_in_the_vaccination_session_is_to_check_refusal
click_on "Programmes", match: :first
click_on "HPV"
within ".app-secondary-navigation" do
click_on "School sessions"
click_on "Sessions"
end
click_on "Pilot School"
click_on "Record vaccinations"
Expand Down
4 changes: 2 additions & 2 deletions spec/features/parental_consent_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def when_a_nurse_checks_consent_responses
click_on "Programmes", match: :first
click_on "HPV"
within ".app-secondary-navigation" do
click_on "School sessions"
click_on "Sessions"
end
click_on "Pilot School"
click_on "Check consent responses"
Expand Down Expand Up @@ -148,7 +148,7 @@ def when_the_nurse_checks_the_consent_responses
click_on "Programmes", match: :first
click_on "HPV"
within ".app-secondary-navigation" do
click_on "School sessions"
click_on "Sessions"
end
click_on "Pilot School"
click_on "Check consent responses"
Expand Down
2 changes: 1 addition & 1 deletion spec/features/response_matching_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def when_i_go_to_the_programmes_page
def and_i_click_on_the_check_consent_responses_link
click_on @programme.name
within ".app-secondary-navigation" do
click_on "School sessions"
click_on "Sessions"
end
click_on @school.name
click_on "Check consent responses"
Expand Down
2 changes: 1 addition & 1 deletion spec/features/self_consent_gillick_competent_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def and_there_is_a_child_without_parental_consent
click_on "Programmes", match: :first
click_on "HPV"
within ".app-secondary-navigation" do
click_on "School sessions"
click_on "Sessions"
end
click_on "Pilot School"
click_on "Check consent responses"
Expand Down
2 changes: 1 addition & 1 deletion spec/features/self_consent_not_gillick_competent_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def and_there_is_a_child_without_parental_consent
click_on "Programmes", match: :first
click_on "HPV"
within ".app-secondary-navigation" do
click_on "School sessions"
click_on "Sessions"
end
click_on "Pilot School"
click_on "Check consent responses"
Expand Down
2 changes: 1 addition & 1 deletion spec/features/triage_delay_vaccination_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def and_i_am_signed_in

def when_i_go_to_the_triage_page
visit "/dashboard"
click_link "School sessions", match: :first
click_link "Sessions", match: :first
click_link @school.name
click_link "Triage health questions"
end
Expand Down
2 changes: 1 addition & 1 deletion spec/features/user_authentication_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,6 @@ def when_i_go_to_the_sessions_page

def then_i_see_the_sessions_page
expect(page).to have_current_path sessions_path, ignore_query: true
expect(page).to have_content "School sessions"
expect(page).to have_content "Sessions"
end
end
2 changes: 1 addition & 1 deletion spec/features/user_authorisation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def and_i_go_to_the_consent_page
click_on "Programmes", match: :first
click_on "HPV"
within ".app-secondary-navigation" do
click_on "School sessions"
click_on "Sessions"
end
click_on "Pilot School"
click_on "Check consent responses"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def when_i_record_the_consent_given_for_that_child_from_the_same_parent
click_on "Programmes", match: :first
click_on "HPV"
within ".app-secondary-navigation" do
click_on "School sessions"
click_on "Sessions"
end
click_on "Pilot School"
click_on "Check consent responses"
Expand Down
Loading