summaryrefslogtreecommitdiffstats
path: root/cucumber/features/step_definitions
diff options
context:
space:
mode:
authorPhilip Hands <phil@hands.com>2016-06-01 20:00:15 +0200
committerPhilip Hands <phil@hands.com>2016-06-01 20:00:15 +0200
commit42a98b06ff710b595e562f53d81cc59e5ed28a02 (patch)
tree79905737141b531864e828824121e7ecbbf158d9 /cucumber/features/step_definitions
parent9f208bb324975c078c140fd994d61d91f1f00e98 (diff)
downloadjenkins.debian.net-42a98b06ff710b595e562f53d81cc59e5ed28a02.tar.xz
lvc: tweak clicks to avoid inadvertent selection of desktops
Diffstat (limited to 'cucumber/features/step_definitions')
-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