[Qa-jenkins-scm] [jenkins.debian.net] 03/12: lvc: tweak clicks to avoid inadvertent selection of desktops

Holger Levsen holger at layer-acht.org
Wed Jun 1 22:09:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 42a98b06ff710b595e562f53d81cc59e5ed28a02
Author: Philip Hands <phil at hands.com>
Date:   Wed Jun 1 20:00:15 2016 +0200

    lvc: tweak clicks to avoid inadvertent selection of desktops
---
 cucumber/features/step_definitions/common_steps.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cucumber/features/step_definitions/common_steps.rb b/cucumber/features/step_definitions/common_steps.rb
index 2ac8ab6..49fd5eb 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list