summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cucumber/features/step_definitions/common_steps.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb
index 2ac8ab62..49fd5eb6 100644
--- a/cucumber/features/step_definitions/common_steps.rb
+++ b/cucumber/features/step_definitions/common_steps.rb
@@ -5,7 +5,7 @@ def post_vm_start_hook
# focus to virt-viewer or similar) so we do that now rather than
# having an important click lost. The point we click should be
# somewhere where no clickable elements generally reside.
- @screen.click_point(@screen.w, @screen.h/2)
+ @screen.click_point(@screen.w-1, @screen.h/2)
end
def activate_filesystem_shares
@@ -295,6 +295,7 @@ Given /^I select British English$/ do
@screen.type(Sikuli::Key.UP)
@screen.wait(diui_png("UnitedKingdom"), 10 * PATIENCE)
@screen.type(Sikuli::Key.ENTER)
+ @screen.click_point(@screen.w-2, @screen.h*2/3)
@screen.wait(diui_png("BritishEnglish"), 10 * PATIENCE)
@screen.type(Sikuli::Key.ENTER)
end