Skip to content

Commit

Permalink
Qatar ETA changes for outcome_transit_leaving_airport.erb
Browse files Browse the repository at this point in the history
- Removed any reference to EVWs for all ETA countries, which at the moment is just Qatar

- Removed the call out box as the information in it is no longer needed for Qatar from the 15th Nov 2023.
  • Loading branch information
cynthia-anya committed Nov 3, 2023
1 parent ef832eb commit dbb9223
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,21 +1,25 @@
<% text_for :title do %>
<% if calculator.passport_country_in_electronic_visa_waiver_list? %>
<% if calculator.passport_country_requires_electronic_travel_authorisation? %>
You’ll need an electronic travel authorisation (ETA) or a Visitor in Transit visa.
<% elsif calculator.passport_country_in_electronic_visa_waiver_list? %>
You’ll need an electronic visa waiver (EVW) or a Visitor in Transit visa
<% else %>
You’ll need a visa to pass through the UK in transit
<% end %>
<% end %>

<% govspeak_for :body do %>
<% if calculator.passport_country_in_electronic_visa_waiver_list? %>
You must either apply for:
<% if calculator.passport_country_requires_electronic_travel_authorisation? %>
You must apply for either:

+ an [electronic travel authorisation (ETA)](/guidance/apply-for-an-electronic-travel-authorisation-eta)
+ a Visitor in Transit visa

- an [electronic visa waiver](/get-electronic-visa-waiver)
- a [Visitor in Transit visa](/transit-visa)
<% elsif calculator.passport_country_in_electronic_visa_waiver_list? %>
You must either apply for:

<%if calculator.passport_country_requires_electronic_travel_authorisation? %>
<%= render partial: 'electronic_travel_authorisation_advice'%>
<% end %>
+ an [electronic visa waiver](/get-electronic-visa-waiver)
+ a [Visitor in Transit visa](/transit-visa)

<% else %>
You should apply for a [Visitor in Transit visa](/transit-visa) if you arrive on a flight and will pass through immigration control before you leave the UK.
Expand Down
9 changes: 2 additions & 7 deletions test/flows/check_uk_visa_flow_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -750,14 +750,9 @@ class CheckUkVisaFlowTest < ActiveSupport::TestCase
assert_rendered_outcome text: "You’ll need a visa to pass through the UK in transit"
end

should "render specific guidance for Electronic Travel Authorisation" do
should "not have any reference to electronic visa waivers (EVWs) for ETA countries" do
add_responses what_passport_do_you_have?: @electronic_travel_authorisation_country
assert_rendered_outcome text: @eta_text
end

should "not render Electronic Travel Authorisation guidance for non-ETA countries" do
add_responses what_passport_do_you_have?: @electronic_visa_waiver_country
assert_no_rendered_outcome text: @eta_text
assert_no_rendered_outcome text: "electronic visa waiver"
end
end

Expand Down

0 comments on commit dbb9223

Please sign in to comment.