Skip to content

Commit

Permalink
Update Check if you need a UK visa flow
Browse files Browse the repository at this point in the history
This is the last stage of the ETA rollout. Users in EU/EEA countries will be able to apply for an ETA from 5 March, which they can use if they are travelling to the UK after 2 April 2025.
  • Loading branch information
baisa committed Mar 3, 2025
1 parent 2be776d commit 21f1a0b
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% if calculator.passport_country_in_eta_rollout_group_1_rest_of_the_world? %>
^If you’re travelling on or after 8 January 2025, you’ll need to apply for an [electronic travel authorisation (ETA)](/guidance/apply-for-an-electronic-travel-authorisation-eta).
<% elsif calculator.passport_country_in_eta_rollout_group_2_eu_eea? %>
^If you’re travelling on or after 2 April 2025, you’ll need to apply for an [electronic travel authorisation (ETA)](/guidance/apply-for-an-electronic-travel-authorisation-eta). You’ll be able to apply from 5 March 2025.
^If you’re travelling on or after 2 April 2025, you’ll need to apply for an [electronic travel authorisation (ETA)](/guidance/apply-for-an-electronic-travel-authorisation-eta).
<% end %>
31 changes: 28 additions & 3 deletions app/flows/check_uk_visa_flow/outcomes/outcome_no_visa_needed.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@

However, you should bring evidence of your onward journey to show to officers at the UK border.

<%= render partial: "electronic_travel_authorisation_advice", locals: {calculator: calculator} %>
<%if !calculator.passport_EU_EEA_country_requires_electronic_travel_authorisation?%>
<%= render partial: "electronic_travel_authorisation_advice", locals: {calculator: calculator} %>
<% end %>

<% if calculator.travelling_to_ireland? %>
<% if calculator.travelling_to_ireland? && not(calculator.passport_EU_EEA_country_requires_electronic_travel_authorisation?)%>
%You may want to [apply for a visa](/browse/visas-immigration/tourist-short-stay-visas) if you have a criminal record or you’ve previously been refused entry into the UK.%
<% end %>
<% end %>

<%if calculator.passport_country_requires_electronic_travel_authorisation? %>
<%if calculator.passport_country_requires_electronic_travel_authorisation?%>
You do not need an ETA if you will not pass through UK border control. You should bring evidence of your onward journey, such as a ticket to your destination.

You always pass through border control if you:
Expand All @@ -45,4 +47,27 @@

%You may want to apply for a [transit visa](/transit-visa) instead if you have a criminal record or you’ve previously been refused entry into the UK.
<% end %>

<%if calculator.passport_EU_EEA_country_requires_electronic_travel_authorisation?%>
##If you’re travelling on or after 2 April 2025
You'll need an electronic travel authorisation (ETA) to pass through UK border control.

[Apply for an ETA](/guidance/apply-for-an-electronic-travel-authorisation-eta).

You do not need an ETA if you will not pass through UK border control. You should bring evidence of your onward journey, such as a ticket to your destination.

You always pass through border control if you:

+ leave the main airport building for any reason
+ need to collect your bags and check them in to your onward flight

You must also pass through border control if both:

+ your onward flight leaves on a different calendar day to when you arrive
+ there's nowhere for you to stay overnight in the airport, for example in a transit hotel

Check with your airline if you're not sure if you'll pass through UK border control.

%You may want to apply for a [transit visa](/transit-visa) instead if you have a criminal record or you’ve previously been refused entry into the UK.
<% end %>
<% end %>
4 changes: 4 additions & 0 deletions lib/smart_answer/calculators/uk_visa_calculator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ def passport_country_requires_electronic_travel_authorisation?
COUNTRY_GROUP_ELECTRONIC_TRAVEL_AUTHORISATION.include?(@passport_country)
end

def passport_EU_EEA_country_requires_electronic_travel_authorisation?

Check failure on line 81 in lib/smart_answer/calculators/uk_visa_calculator.rb

View workflow job for this annotation

GitHub Actions / Lint Ruby / Run RuboCop

Naming/MethodName: Use snake_case for method names. (https://rubystyle.guide#snake-case-symbols-methods-vars)
COUNTRY_GROUP_ETA_ROLLOUT_GROUP_2_EU_EEA.include?(@passport_country)
end

def passport_country_in_epassport_gate_list?
COUNTRY_GROUP_EPASSPORT_GATES.include?(@passport_country)
end
Expand Down
2 changes: 1 addition & 1 deletion test/flows/check_uk_visa_flow_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CheckUkVisaFlowTest < ActiveSupport::TestCase

@non_visa_national_eta_text = "You currently do not need an electronic travel authorisation (ETA)"
@eta_rollout_group_1_rest_of_the_world_text = "If you’re travelling on or after 8 January 2025, you’ll need to apply for an electronic travel authorisation (ETA)."
@eta_rollout_group_2_eu_eea_text = "If you’re travelling on or after 2 April 2025, you’ll need to apply for an electronic travel authorisation (ETA). You’ll be able to apply from 5 March 2025."
@eta_rollout_group_2_eu_eea_text = "If you’re travelling on or after 2 April 2025, you’ll need to apply for an electronic travel authorisation (ETA)."
@eea_eta_text = "You currently do not need an electronic travel authorisation (ETA)"

# stub only the countries used in this test for less of a performance impact
Expand Down

0 comments on commit 21f1a0b

Please sign in to comment.