Fixed account settings tabpanels.

ECOM-4186
This commit is contained in:
Waheed Ahmed
2016-08-22 17:14:50 +05:00
parent 008b708617
commit 0057815973
11 changed files with 132 additions and 104 deletions

View File

@@ -33,7 +33,7 @@ class AccountSettingsPage(FieldsMixin, PageObject):
"""
structure = []
sections = self.q(css='.section')
sections = self.q(css='#aboutTabSections-tabpanel .section')
for section in sections:
section_title_element = section.find_element_by_class_name('section-header')
field_title_elements = section.find_elements_by_class_name('u-field-title')