From 3e859c4e3a28472d25a46a77dcb0fedce3061693 Mon Sep 17 00:00:00 2001 From: Philip Hands Date: Thu, 20 Oct 2016 09:14:31 +0200 Subject: Revert "lcv: work around being offered American English after selecting UK" This reverts commit 3769320be4aea15ae5f9b0c470deea67cb65e09d, and commit 6702fb2019bff2d028bbc60e3ffcf05cf131c9b8. Signed-off-by: Holger Levsen --- cucumber/features/step_definitions/common_steps.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cucumber/features/step_definitions/common_steps.rb') diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb index fc05e8a7..6ebaf047 100644 --- a/cucumber/features/step_definitions/common_steps.rb +++ b/cucumber/features/step_definitions/common_steps.rb @@ -305,8 +305,7 @@ Given /^I select British English$/ do @screen.wait(diui_png("UnitedKingdom"), 10 * PATIENCE) @screen.type(Sikuli::Key.ENTER) @screen.click_point(@screen.w-2, @screen.h*2/3) - # FIXME -- we're accepting AmmericanEnglish here, despite the fact it should be BritishEnglish due to the above - this seems to be #840209: console-setup: fails to change keyboard layout in d-i - on_screen, _ = @screen.waitAny([diui_png("BritishEnglish"),diui_png("AmericanEnglish")], 10 * PATIENCE) + @screen.wait(diui_png("BritishEnglish"), 10 * PATIENCE) @screen.type(Sikuli::Key.ENTER) end -- cgit v1.2.3-70-g09d2