cfme.intelligence.reports.dashboards module

Module handling Dashboards accordion.

class cfme.intelligence.reports.dashboards.Dashboard(name, group, title=None, locked=None, widgets=None)[source]

Bases: utils.update.Updateable, utils.pretty.Pretty

create(cancel=False)[source]
delete(cancel=False)[source]
form = <cfme.web_ui.Form fields=[('name', <cfme.web_ui.Input _names=('name',), _use_id=False>), ('title', <cfme.web_ui.Input _names=('description',), _use_id=False>), ('locked', <cfme.web_ui.Input _names=('locked',), _use_id=False>), ('widgets', {Version ('lowest'): <cfme.intelligence.reports.ui_elements.DashboardWidgetSelector _root_loc="//div[@id='form_widgets_div']">, '5.5': <cfme.intelligence.reports.ui_elements.NewerDashboardWidgetSelector _root_loc="//div[@id='form_widgets_div']">})]>
group[source]
pretty_attrs = ['name', 'group', 'title', 'widgets']
update(updates)[source]
class cfme.intelligence.reports.dashboards.DefaultDashboard(title=None, locked=None, widgets=None)[source]

Bases: utils.update.Updateable, utils.pretty.Pretty

delete(cancel=False)[source]
form = <cfme.web_ui.Form fields=[('title', <cfme.web_ui.Input _names=('description',), _use_id=False>), ('locked', <cfme.web_ui.Input _names=('locked',), _use_id=False>), ('widgets', <cfme.intelligence.reports.ui_elements.DashboardWidgetSelector _root_loc="//div[@id='form_widgets_div']">)]>
pretty_attrs = ['title', 'widgets']
update(updates)[source]
cfme.intelligence.reports.dashboards.go_to_default_func(_)[source]

This can change, because the title of the default dashboard is mutable. However, we can xpath there quite reliable, so we use it that way we extract the name from the tree directly.