cfme.web_ui.timelines module

class cfme.web_ui.timelines.Timelines(o)[source]

Bases: object

Represents Common UI Page for showing generated events of different Providers as a timeline. UI page contains several drop-down items which are doing filtering of displayed events. In this class, there are described several methods to change those filters. After each filter change, UI page is reloaded and the displayed events graphic is changed. And after each page reload, the displayed events are re-read by this class. The main purpose of this class is to check whether particular event is displayed or not in timelines page.

Usage:

timelines.change_interval('Days')
timelines.select_event_category('Application')
timelines.check_detailed_events(True)
timelines.contains_event('hawkular_deployment.ok')
change_date(value)[source]
change_event_type(value)[source]
change_interval(value)[source]
check_detailed_events(value)[source]
contains_event(event_type, date_after=datetime.datetime(1, 1, 1, 0, 0))[source]

Checks whether list of events contains provided particular ‘event_type’ with data not earlier than provided ‘date_after’. If ‘date_after’ is not provided, will use datetime.min.

reload()[source]
select_event_category(value)[source]