Before you apply for this course, contact the training provider to check Skilled Worker visa sponsorship is available. If it is, and you get a place on this course, we’ll help you apply for your visa.
To do this, you’ll need to be sponsored by your training provider.
Before you apply for this course, contact the training provider to check Student visa sponsorship is available. If it is, and you get a place on this course, we’ll help you apply for your visa.
entitlement:
- html:
-
You may be entitled to £10,000 from the UK government to help with the financial costs of moving to England.
+ html:
You may be entitled to £10,000 from the UK government to help with the financial costs of moving to England.
get_into_teaching:
apply_for_statement_of_comparability: Apply for a statement of comparability
chat_online: You can chat online
support_team: with the Get Into Teaching support team for guidance on the UK equivalents of your qualifications.
- qualifications_outside_uk: 'Non-UK citizens: check your qualifications'
+ qualifications_outside_uk: "Non-UK citizens: check your qualifications"
qualifications_outside_uk_body: Some training providers need a certificate known as a statement of comparability that shows how your qualifications compare to UK ones.
apply_for_uk_enic_html: You can apply for a statement of comparability from UK ENIC (the UK European Network of Information Centres).
uk_enic_cost: There is a cost for the certificate and it takes 15 working days to arrive.
@@ -300,8 +297,8 @@ en:
result_filters_filters_view:
radius_options_for_select:
label:
- one: '%{count} mile'
- other: '%{count} miles'
+ one: "%{count} mile"
+ other: "%{count} miles"
v2:
results:
index:
@@ -363,7 +360,3 @@ en:
subjects:
primary_subject: "Select at least one primary subject you want to teach"
secondary_subject: "Select at least one secondary subject you want to teach"
- find/cookie_preferences_form:
- attributes:
- consent:
- blank: Select yes if you want to accept Google Analytics cookies
diff --git a/config/settings.yml b/config/settings.yml
index 31d3e79920..c9bcca3df7 100644
--- a/config/settings.yml
+++ b/config/settings.yml
@@ -93,13 +93,5 @@ features:
cookies:
session:
name: _teacher_training_courses_session
- analytics:
- name: _consented_to_anaytics_cookies
- expire_after_days: 182
-
-google_tag_manager:
- find_tracking_id: change_me
- publish_tracking_id: change_me
- floodlight_id: 2673654
STATE_CHANGE_SLACK_URL: replace_me
diff --git a/config/settings/production.yml b/config/settings/production.yml
index 87394450d5..6f83b45888 100644
--- a/config/settings/production.yml
+++ b/config/settings/production.yml
@@ -30,10 +30,6 @@ environment:
name: "beta"
render_json_errors: true
-google_tag_manager:
- find_tracking_id: GTM-TP73392
- publish_tracking_id: GTM-W56GPKW
-
features:
send_request_data_to_bigquery: true
diff --git a/jest.config.js b/jest.config.js
index 7ffd97e7ae..b4c598c7fc 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -15,7 +15,6 @@ module.exports = {
'!/app/javascript/utils/test.js'
],
reporters: ['default'],
- setupFilesAfterEnv: ['/app/javascript/jestGlobalMocks.js'],
transformIgnorePatterns: ['node_modules/*'],
moduleNameMapper: {
'^@/(.*)$': '/app/javascript/$1'
diff --git a/package.json b/package.json
index 627e38a947..7d349ec0fa 100644
--- a/package.json
+++ b/package.json
@@ -27,9 +27,6 @@
"$",
"google",
"Stimulus"
- ],
- "ignore": [
- "app/javascript/jestGlobalMocks.js"
]
},
"dependencies": {
diff --git a/spec/features/find/cookie_banner_spec.rb b/spec/features/find/cookie_banner_spec.rb
deleted file mode 100644
index f1acfead8a..0000000000
--- a/spec/features/find/cookie_banner_spec.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-require 'rails_helper'
-
-feature 'cookie banner' do
- before do
- find_results_page.load
- end
-
- it 'renders a visible js fallback banner' do
- expect(page).to have_text('We use some essential cookies to make this service work.')
- end
-
- it 'renders a cookie banner' do
- expect(page).to have_button('Accept analytics cookies')
- expect(page).to have_button('Reject analytics cookies')
- expect(page).to have_link('View cookies')
- end
-
- it 'renders a hidden hide message banner' do
- expect(page).to have_button('Hide this cookies', visible: :hidden)
- end
-end
diff --git a/spec/features/find/cookie_preferences_spec.rb b/spec/features/find/cookie_preferences_spec.rb
deleted file mode 100644
index 73384673b4..0000000000
--- a/spec/features/find/cookie_preferences_spec.rb
+++ /dev/null
@@ -1,58 +0,0 @@
-# frozen_string_literal: true
-
-require 'rails_helper'
-
-feature 'Updating cookie preferences' do
- before do
- Timecop.travel(Find::CycleTimetable.mid_cycle)
- end
-
- scenario 'i can update my cookie preferences' do
- given_i_am_on_the_find_cookie_preferences_page
- and_i_can_see_the_heading
- and_i_can_see_the_the_use_of_cookies_for_service
- when_i_give_consent_and_submit
- then_i_should_see_a_confirmation_message
- end
-
- scenario 'i cannot update without selecting a preference' do
- given_i_am_on_the_find_cookie_preferences_page
- when_i_submit
- then_i_should_see_an_error_message
- end
-
- def given_i_am_on_the_find_cookie_preferences_page
- find_cookie_preferences_page.load
- end
-
- def when_i_give_consent_and_submit
- find_cookie_preferences_page.analytics_cookie_accept.choose
- when_i_submit
- end
-
- def then_i_should_see_a_confirmation_message
- expect(find_cookie_preferences_page).to have_content('Your cookie preferences have been updated')
- end
-
- def when_i_submit
- find_cookie_preferences_page.submit.click
- end
-
- def then_i_should_see_an_error_message
- expect(find_cookie_preferences_page.error_messages).to include(
- 'Select yes if you want to accept Google Analytics cookies'
- )
- end
-
- def and_i_can_see_the_heading
- expect(find_cookie_preferences_page.heading).to have_content('Cookies')
- end
-
- def and_i_can_see_the_the_use_of_cookies_for_service
- expect(find_cookie_preferences_page).to have_content("We use cookies to make #{I18n.t('service_name.find')} (Find) work and collect information about how you use our service.")
- end
-
- def find_cookie_preferences_page
- @find_cookie_preferences_page ||= PageObjects::Find::CookiePreferences.new
- end
-end
diff --git a/spec/features/publish/cookie_preferences_spec.rb b/spec/features/publish/cookie_preferences_spec.rb
deleted file mode 100644
index f14a63343f..0000000000
--- a/spec/features/publish/cookie_preferences_spec.rb
+++ /dev/null
@@ -1,50 +0,0 @@
-# frozen_string_literal: true
-
-require 'rails_helper'
-
-feature 'Updating cookie preferences' do
- scenario 'i can update my cookie preferences' do
- given_i_am_on_the_publish_cookie_preferences_page
- and_i_can_see_the_heading
- and_i_can_see_the_the_use_of_cookies_for_service
- when_i_give_consent_and_submit
- then_i_should_see_a_confirmation_message
- end
-
- scenario 'i cannot update without selecting a preference' do
- given_i_am_on_the_publish_cookie_preferences_page
- when_i_submit
- then_i_should_see_an_error_message
- end
-
- def given_i_am_on_the_publish_cookie_preferences_page
- publish_cookie_preferences_page.load
- end
-
- def when_i_give_consent_and_submit
- publish_cookie_preferences_page.analytics_cookie_accept.choose
- when_i_submit
- end
-
- def then_i_should_see_a_confirmation_message
- expect(publish_cookie_preferences_page).to have_content('Your cookie preferences have been updated')
- end
-
- def when_i_submit
- publish_cookie_preferences_page.submit.click
- end
-
- def then_i_should_see_an_error_message
- expect(publish_cookie_preferences_page.error_messages).to include(
- 'Select yes if you want to accept Google Analytics cookies'
- )
- end
-
- def and_i_can_see_the_heading
- expect(publish_cookie_preferences_page.heading).to have_content('Cookies')
- end
-
- def and_i_can_see_the_the_use_of_cookies_for_service
- expect(publish_cookie_preferences_page).to have_content("We use cookies to make #{I18n.t('service_name.publish')} (Publish) work and collect information about how you use our service.")
- end
-end
diff --git a/spec/support/page_objects/find/cookie_preferences.rb b/spec/support/page_objects/find/cookie_preferences.rb
deleted file mode 100644
index 70632b473c..0000000000
--- a/spec/support/page_objects/find/cookie_preferences.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-require_relative '../sections/error_link'
-
-module PageObjects
- module Find
- class CookiePreferences < PageObjects::Base
- set_url '/cookies'
-
- element :heading, 'h1'
-
- element :analytics_cookie_accept, '#find-cookie-preferences-form-analytics-consent-granted-field'
- element :analytics_cookie_deny, '#find-cookie-preferences-form-analytics-consent-denied-field'
-
- element :submit, 'button.govuk-button[type="submit"]'
-
- sections :errors, PageObjects::Sections::ErrorLink, '.govuk-error-summary__list li>a'
-
- def error_messages
- errors.map(&:text)
- end
- end
- end
-end
diff --git a/spec/support/page_objects/publish/cookie_preferences.rb b/spec/support/page_objects/publish/cookie_preferences.rb
deleted file mode 100644
index 80eda24dc4..0000000000
--- a/spec/support/page_objects/publish/cookie_preferences.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-require_relative '../sections/error_link'
-
-module PageObjects
- module Publish
- class CookiePreferences < PageObjects::Base
- set_url '/cookies'
-
- element :heading, 'h1'
-
- element :analytics_cookie_accept, '#publish-cookie-preferences-form-analytics-consent-granted-field'
- element :analytics_cookie_deny, '#publish-cookie-preferences-form-analytics-consent-denied-field'
-
- element :submit, 'button.govuk-button[type="submit"]'
-
- sections :errors, PageObjects::Sections::ErrorLink, '.govuk-error-summary__list li>a'
-
- def error_messages
- errors.map(&:text)
- end
- end
- end
-end