-
Task
-
Resolution: Done
-
Major
-
None
-
None
-
False
-
False
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Undefined
-
Notes from QE:
We’ve been able to leverage functionality offered by the widgetastic library to interact with 3scale context selector. But we faced mismatch between 3scale locators and PF locators.
3scale context selector locators:
ITEMS_LOCATOR = ".//ul[@class='PopNavigation-list']/li" ITEM_LOCATOR = ( ".//*[contains(@class, 'PopNavigation-listItem')" " and normalize-space(.)={}]" ) DEFAULT_LOCATOR = './/div[contains(@class, "PopNavigation--context")]' BUTTON_LOCATOR = './/a[@href="#context-menu"]'
PF context selector locators:
ITEMS_LOCATOR = ".//ul[@class='pf-c-context-selector__menu-list']/li" ITEM_LOCATOR = ( ".//*[contains(@class, 'pf-c-context-selector__menu-list-item')" " and normalize-space(.)={}]" ) DEFAULT_LOCATOR = './/div[contains(@class, "pf-c-select")][1]' BUTTON_LOCATOR = "./button"