[evolution] tests: contact editor: update lookup for email fields



commit ea99b4f40f1628f9a3d47efdf074d3143bdbd33e
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Fri Nov 14 13:39:22 2014 +0100

    tests: contact editor: update lookup for email fields

 tests/steps/addressbook_steps.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/steps/addressbook_steps.py b/tests/steps/addressbook_steps.py
index 0c8ed70..1ad1306 100644
--- a/tests/steps/addressbook_steps.py
+++ b/tests/steps/addressbook_steps.py
@@ -233,8 +233,8 @@ def get_combobox_textbox_object(contact_editor, section, scroll_to_bottom=True):
         'Phones': 'Telephone',
         'Emails': 'Email'}
     section = section_names[section.capitalize()]
-    lbl = contact_editor.child(roleName='label', name=section)
-    panel = lbl.findAncestor(GenericPredicate(roleName='panel'))
+    lbl = contact_editor.child(roleName='toggle button', name=section)
+    panel = lbl.findAncestor(GenericPredicate(roleName='filler'))
     textboxes = panel.findChildren(GenericPredicate(roleName='text'))
 
     # Scroll to the bottom of the page if needed


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