cfme.web_ui.jstimelines module

A Timelines object represents the Timelines widget in CFME using JS integration instead of relying on WebElements

param loc:A locator for the Timelines element, usually the div with id miq_timeline.
class cfme.web_ui.jstimelines.Event(element)[source]

Bases: cfme.web_ui.jstimelines.Object

An event object.

block_info()[source]

Attempts to return a dict with the information from the popup.

close_button = '//div[@class="timeline-event-bubble-title"]/../../div[contains(@style, \'close-button\')]'
data_block = '//div[@class="timeline-event-bubble-title"]/../..//div[@class="timeline-event-bubble-body"]'
image[source]

Returns the image name of an event.

window_loc = '//div[@class="timeline-event-bubble-title"]/../..'
class cfme.web_ui.jstimelines.Object(element)[source]

Bases: utils.pretty.Pretty

A generic timelines object.

Parameters:element – A WebElement for the event.
locate()[source]
pretty_attrs = ['element']
cfme.web_ui.jstimelines.events()[source]

A generator yielding all events.

cfme.web_ui.jstimelines.find_visible_events_for_vm(vm_name)[source]

Finds all events for a given vm.

Parameters:vm_name – The vm name.