class filters(Accordion): # noqa ACCORDION_NAME = VersionPicker({ Version.lowest(): 'Filters', '5.11': 'Global Filters' }) navigation = BootstrapNav('.//div/ul') tree = ManageIQTree()
class HostNetworkDetailsView(View): breadcrumb = BreadCrumb(locator='.//ol[@class="breadcrumb"]') network_tree = BootstrapNav(".//div[contains(@class,'treeview')]/ul") @property def is_displayed(self): return (self.network_tree.is_displayed and "{} (Network)".format(self.context["object"].name) == self.breadcrumb.active_location)
class BaseLoggedInView(View): # todo: turn into navbar widget @View.nested class navbar(View): account = AccountDropdown(id="account-dropdown") # merge this with dropdown above navigation = BootstrapNav('.//div/ul') @property def is_displayed(self): return self.navbar.account.is_displayed
class properties(Accordion): # noqa nav = BootstrapNav('//div[@id="stack_prop"]//ul')
class security_accordion(Accordion): # noqa ACCORDION_NAME = "Security" navigation = BootstrapNav('.//div/ul')
class configuration(Accordion): # noqa ACCORDION_NAME = "Configuration" tree = BootstrapNav(locator='//div[@id="host_config"]//ul')
class security(Accordion): # noqa ACCORDION_NAME = "Security" tree = BootstrapNav(locator='//div[@id="host_sec"]//ul')
class relationships(Accordion): # noqa tree = BootstrapNav(locator='//div[@id="resource_pool_rel"]//ul')
class properties(Accordion): # noqa ACCORDION_NAME = "Properties" tree = BootstrapNav(locator='//div[@id="host_prop"]//ul')
class relationships(Accordion): # noqa nav = BootstrapNav('//div[@id="middleware_server_rel"]//ul')
class properties(Accordion): # noqa nav = BootstrapNav('//div[@id="middleware_server_prop"]//ul')
class properties(Accordion): # noqa nav = BootstrapNav('//div[@id="middleware_deployment_prop"]//ul')
class properties(Accordion): # noqa nav = BootstrapNav('//div[@id="middleware_datasource_prop"]//ul')
class TestView(View): nav = BootstrapNav('.//div/ul[@class="nav nav-pills nav-stacked"]')
class relationships(Accordion): # noqa nav = BootstrapNav('//div[@id="stack_rel"]//ul')
class relationships(Accordion): # noqa ACCORDION_NAME = "Relationships" tree = BootstrapNav(locator='//div[@id="host_rel"]//ul')
class my_filters(Accordion): # noqa ACCORDION_NAME = "My Filters" navigation = BootstrapNav('.//div/ul') tree = ManageIQTree()
class properties(Accordion): # noqa tree = BootstrapNav(locator='//div[@id="resource_pool_prop"]//ul')