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 uk visa russia georgia #6541

Merged
merged 4 commits into from
Sep 7, 2023
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
10 changes: 10 additions & 0 deletions app/flows/check_uk_visa_flow/outcomes/_russia_or_georgia.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<% if calculator.passport_country_is_russia_or_georgia? %>
###If you're arriving in the UK before 6 October 2023

You do not need a visa to come to the UK if both of the following apply:

* you booked and paid for your journey to the UK before 00:01am (UK time) on 8 September 2023
* you're arriving in the UK before 00:01am (UK time) on 6 October 2023

You'll need evidence of your onward journey. You may be asked to show it to Border Force officers or to your airline carrier.
<% end %>
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<% text_for :title do %>
You’ll need a visa to pass through the UK in transit (unless you’re exempt)
You’ll need a visa to pass through the UK in transit
<% end %>

<% govspeak_for :body do %>
You should apply for a [Direct Airside Transit visa](/transit-visa) if you arrive in the UK on a flight and leave again without passing through immigration control.
You normally need a [Direct Airside Transit visa](/transit-visa/direct-airside-transit-visa) if you arrive in the UK on a flight and leave again without passing through immigration control.

##Exemptions

You do not need a visa if you have one of the following:
You do not need a Direct Airside Transit visa if you have one of the following:

- a visa for Canada, New Zealand, Australia or the USA (this can be used for travel to any country) <%= render partial: 'b1_b2_visa_exception', locals: {calculator: calculator} %>
- a visa for Canada, New Zealand, Australia or the USA (this can be used for travel to any country) <%= render partial: 'b1_b2_visa_exception', locals: {calculator:} %>
- a permanent resident visa issued by Australia or New Zealand
- a common format residence permit issued by an European Economic Area (EEA) country or Switzerland
- a permanent resident card issued by Canada on or after 28 June 2002
Expand All @@ -25,4 +25,6 @@
All visas and residence permits must be valid.

%E-visas or e-residence permits are not acceptable unless your airline is able to verify it with the issuing country. Contact your airline for more information.%

<%= render partial: 'russia_or_georgia', locals: {calculator:} %>
<% end %>
8 changes: 6 additions & 2 deletions lib/smart_answer/calculators/uk_visa_calculator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ def passport_country_is_macao?
@passport_country == "macao"
end

def passport_country_is_russia_or_georgia?
%w[russia georgia].include?(@passport_country)
end

def passport_country_is_turkey?
@passport_country == "turkey"
end
Expand Down Expand Up @@ -399,7 +403,6 @@ def eligible_for_india_young_professionals_scheme?
equatorial-guinea
fiji
gabon
georgia
haiti
indonesia
jordan
Expand All @@ -418,7 +421,6 @@ def eligible_for_india_young_professionals_scheme?
oman
philippines
qatar
russia
sao-tome-and-principe
saudi-arabia
stateless-or-refugee
Expand Down Expand Up @@ -456,6 +458,7 @@ def eligible_for_india_young_professionals_scheme?
estonia-alien-passport
eswatini
ethiopia
georgia
ghana
guinea
guinea-bissau
Expand All @@ -482,6 +485,7 @@ def eligible_for_india_young_professionals_scheme?
north-macedonia
pakistan
palestinian-territories
russia
rwanda
senegal
serbia
Expand Down
18 changes: 18 additions & 0 deletions test/flows/check_uk_visa_flow_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@ class CheckUkVisaFlowTest < ActiveSupport::TestCase
"israel",
"ireland",
"estonia",
"georgia",
"latvia",
"hong-kong",
"macao",
"russia",
"taiwan",
"venezuela",
@electronic_travel_authorisation_country,
Expand Down Expand Up @@ -764,6 +766,22 @@ class CheckUkVisaFlowTest < ActiveSupport::TestCase
end
end

context "outcome: outcome_transit_not_leaving_airport" do
setup do
testing_node :outcome_transit_not_leaving_airport
add_responses purpose_of_visit?: "transit",
travelling_to_cta?: "somewhere_else",
passing_through_uk_border_control?: "no"
end

%w[russia georgia].each do |country|
should "render extra guidance for #{country}" do
add_responses what_passport_do_you_have?: country
assert_rendered_outcome text: /If you’re arriving in the UK before 6 October 2023/
end
end
end

context "outcome: outcome_transit_leaving_airport_direct_airside_transit_visa" do
setup do
testing_node :outcome_transit_leaving_airport_direct_airside_transit_visa
Expand Down