[node-patches] Change in ovirt-node[master]: tests: Adjust times for all_top_menus testcase

fabiand at fedoraproject.org fabiand at fedoraproject.org
Thu Nov 8 14:44:03 UTC 2012


Fabian Deutsch has uploaded a new change for review.

Change subject: tests: Adjust times for all_top_menus testcase
......................................................................

tests: Adjust times for all_top_menus testcase

Some pages need more time to open.

Change-Id: Ib5623fb18990cd0e7beeb39833126b270d59f864
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M tests/igor/tcs/uinput/enter_all_top_menus.py
1 file changed, 3 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/24/9124/1

diff --git a/tests/igor/tcs/uinput/enter_all_top_menus.py b/tests/igor/tcs/uinput/enter_all_top_menus.py
index c68a2b2..839fb1d 100644
--- a/tests/igor/tcs/uinput/enter_all_top_menus.py
+++ b/tests/igor/tcs/uinput/enter_all_top_menus.py
@@ -13,6 +13,7 @@
 KEY_DOWN = common.input.uinput.KEY_DOWN
 KEY_UP = common.input.uinput.KEY_UP
 
+seconds_between_pages = 5
 
 story = [
     # First page, expect "Power Off" to be on the screen
@@ -33,11 +34,11 @@
 
 # Now press key down, and expext $txt to be on the screen for all keywords
 for txt in keywords:
-    story.append(([KEY_DOWN], 2, txt))
+    story.append(([KEY_DOWN], seconds_between_pages, txt))
 
 # Now go back up and don't expect anythiong special (None)
 for txt in keywords:
-    story.append(([KEY_UP], 2, None))
+    story.append(([KEY_UP], 1, None))
 
 # At last expect "<Power Off>" to be on the screen again
 story.append((None, 0, "<Power Off>"))


--
To view, visit http://gerrit.ovirt.org/9124
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib5623fb18990cd0e7beeb39833126b270d59f864
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list