airgun.views.cloud_insights

Module Contents

Classes

CloudTokenView

RH Cloud Insights Landing page for adding RH Cloud Token.

RemediationView

Remediation window view

CloudInsightsView

Main RH Cloud Insights view.

class airgun.views.cloud_insights.CloudTokenView(parent, logger=None, **kwargs)

RH Cloud Insights Landing page for adding RH Cloud Token.

rhcloud_token
save_token
property is_displayed

Overrides the Widget.is_displayed(). The difference is that if the view does not have the root locator, it assumes it is displayed.

Returns

bool

class airgun.views.cloud_insights.RemediationView(parent: widgetastic.types.ViewParent, component_id: str = '', logger: Optional[logging.Logger] = None, **kwargs)

Remediation window view

OUIA_ID = OUIA-Generated-Modal-large-1
remediate
cancel
table
property is_displayed

Overrides the Widget.is_displayed(). The difference is that if the view does not have the root locator, it assumes it is displayed.

Returns

bool

class airgun.views.cloud_insights.CloudInsightsView(parent, logger=None, **kwargs)

Main RH Cloud Insights view.

title
insights_sync_switcher
remediate
insights_dropdown
select_all
table
select_all_hits
clear_hits_selection
pagination
remediation_window
property is_displayed

Overrides the Widget.is_displayed(). The difference is that if the view does not have the root locator, it assumes it is displayed.

Returns

bool

search(query)

Perform search using searchbox on the page and return table contents.

Parameters

query (str) – search query to type into search field. E.g. foo or name = "bar".

Returns

list of dicts representing table rows

Return type

list