cfme.dashboard module

Provides functions to manipulate the dashboard landing page.

var page:A cfme.web_ui.Region holding locators on the dashboard page
class cfme.dashboard.BaseWidgetContent(widget_box_id)[source]

Bases: utils.pretty.Pretty

data[source]
pretty_attrs = ['widget_box_id']
class cfme.dashboard.RSSWidgetContent(widget_box_id)[source]

Bases: cfme.dashboard.BaseWidgetContent

data[source]
class cfme.dashboard.ReportWidgetContent(widget_box_id)[source]

Bases: cfme.dashboard.BaseWidgetContent

data[source]
class cfme.dashboard.Widget(div_id)[source]

Bases: utils.pretty.Pretty

classmethod all()[source]

Returns objects with all Widgets currently present.

classmethod by_name(name)[source]

Returns Widget with specified name.

classmethod by_type(content_type)[source]

Returns Widget with specified content_type.

can_zoom[source]

Can this Widget be zoomed?

close_dropdown_menu()[source]
classmethod close_zoom()[source]
content[source]
content_type[source]
footer[source]
classmethod get_zoomed_name()[source]
is_dropdown_menu_opened[source]
is_minimized[source]
classmethod is_zoomed()[source]
minimize()[source]

Minimize this Widget.

name[source]
newer_version[source]
open_dropdown_menu()[source]
pretty_attrs = ['_div_id']
remove(cancel=False)[source]

Remove this Widget.

restore()[source]

Return the Widget back from minimalization.

time_next[source]
time_updated[source]
zoom()[source]

Zoom this Widget.

cfme.dashboard.dashboards()[source]

Returns a generator that iterates through the available dashboards

cfme.dashboard.get_csrf_token()[source]

Retuns current CSRF token.

Returns: Current CSRF token.

cfme.dashboard.reset_widgets(cancel=False)[source]

Resets the widgets on the dashboard page.

Parameters:cancel – Set whether to accept the popup confirmation box. Defaults to False.
cfme.dashboard.set_csrf_token(csrf_token)[source]

Changing the CSRF Token on the fly via the DOM by iterating over the meta tags

Parameters:csrf_token – Token to set as the CSRF token.