[gnome-boxes] tests: Update "Memory" label name



commit 2f347e45f511f271bbe32bec423154bb049cbcf0
Author: Vladimir Benes <benesv email cz>
Date:   Tue Jul 28 22:20:09 2015 +0200

    tests: Update "Memory" label name
    
    "Memory" label name in Customize Resources view is now "Memory: ".
    
    https://bugzilla.gnome.org/show_bug.cgi?id=751229

 tests/steps/general.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/steps/general.py b/tests/steps/general.py
index 783222f..a7359c8 100644
--- a/tests/steps/general.py
+++ b/tests/steps/general.py
@@ -43,7 +43,7 @@ def customize_vm(context, mem):
     sleep(0.5)
     pressKey('Tab')
     pressKey('Tab')
-    memory_label = context.app.findChildren(lambda x: x.name == 'Memory' and x.showing)[0]
+    memory_label = context.app.findChildren(lambda x: x.name == 'Memory: ' and x.showing)[0]
     mem = mem+" MiB"
     counter = 0
     while not memory_label.parent.findChildren(lambda x: x.name == mem and x.showing):


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]