Fixed dropdown menu locator and active class for user & project

This patch also fixes:
* integration test test_login
* project selection steps

Change-Id: I1f459be3adc199d04f89e159c691a33bb073bb1f
This commit is contained in:
panneer.smn 2018-06-04 09:27:15 -05:00 committed by Akihiro Motoki
parent ee95bf15d9
commit 0258199be7

View File

@ -188,8 +188,8 @@ class DropDownMenuRegion(baseregion.BaseRegion):
_menu_container_locator = (by.By.CSS_SELECTOR, 'ul.dropdown-menu')
_menu_items_locator = (by.By.CSS_SELECTOR,
'ul.dropdown-menu > li > *')
_dropdown_locator = (by.By.CSS_SELECTOR, '.dropdown')
_active_cls = 'selenium-active'
_dropdown_locator = (by.By.CSS_SELECTOR, '.dropdown > a')
_active_cls = 'dropdown-toggle'
@property
def menu_items(self):