airgun.views.subscription¶
Module Contents¶
-
class
airgun.views.subscription.SubscriptionSearch¶ Bases:
airgun.widgets.Search-
search_field¶
-
-
class
airgun.views.subscription.SubscriptionSearchableViewMixin¶ Bases:
airgun.views.common.SearchableViewMixin-
searchbox¶
-
-
class
airgun.views.subscription.DeleteSubscriptionConfirmationDialog¶ Bases:
airgun.widgets.ConfirmationDialog-
confirm_dialog¶
-
cancel_dialog¶
-
-
class
airgun.views.subscription.SatSubscriptionsViewTable¶ Bases:
airgun.widgets.SatTableTable used on Red Hat Subscriptions page. It’s mostly the same as normal table, but when search returns no results, it does display single row with message. Not to be confused with SatSubscriptionsTable, which is not used on that page
-
has_rows¶
-
-
class
airgun.views.subscription.ProductContentItemsList¶ Bases:
widgetastic.widget.GenericLocatorWidgetModels list of enabled products (Subscriptions -> any -> Enabled products) Main reason is that page is constructed when tab is activated. There is no HTTP request, but delay is visible nevertheless - and during that time, message about no enabled product can be seen. We have to wait for a short while before we can be sure that there really are no products.
-
ITEMS= .//div[contains(@class, 'list-group-item-heading')]¶
-
has_items¶
-
read(self)¶
-
fill(self, value)¶
-
-
class
airgun.views.subscription.SubscriptionColumnsFilter¶ Bases:
widgetastic.widget.GenericLocatorWidgetThis is the list of interaction items for when opening up the selectable customizable checkboxes
-
ITEMS_LOCATOR= //div[@id='subscriptionTableTooltip']//li/span¶
-
CHECKBOX_LOCATOR= //div[@id='subscriptionTableTooltip']//li/span[.='{}']/preceding::input[1]¶
-
is_open¶
-
open(self)¶
-
close(self)¶
-
checkboxes(self)¶
-
read(self)¶ Read values of checkboxes
-
fill(self, values)¶ Check or uncheck one of the checkboxes
-
-
class
airgun.views.subscription.SubscriptionListView¶ Bases:
airgun.views.common.BaseLoggedInView,airgun.views.subscription.SubscriptionSearchableViewMixinList of all subscriptions.
-
table¶
-
progressbar¶
-
confirm_deletion¶
-
columns_filter_checkboxes¶
-
is_displayed¶
-
is_searchable(self)¶ Customized is_searchable
-
-
class
airgun.views.subscription.ManageManifestView¶ Bases:
airgun.views.common.BaseLoggedInView-
class
manifest¶ Bases:
airgun.views.common.SatTab-
red_hat_cdn_url¶
-
manifest_file¶
-
-
class
manifest_history¶ Bases:
airgun.views.common.SatTab-
TAB_NAME= Manifest History¶
-
table¶
-
-
ROOT= //div[@role="dialog" and @tabindex][div//h4[text()="Manage Manifest"]]¶
-
is_displayed¶
-
wait_animation_end(self)¶
-
class
-
class
airgun.views.subscription.DeleteManifestConfirmationView¶ Bases:
airgun.views.common.BaseLoggedInView-
ROOT= //div[@role="dialog" and @tabindex][div//h4[text()="Confirm delete manifest"]]¶
-
message¶
-
is_displayed¶
-
wait_animation_end(self)¶
-
-
class
airgun.views.subscription.AddSubscriptionView¶ Bases:
airgun.views.common.BaseLoggedInView-
table¶
-
is_displayed¶
-
-
class
airgun.views.subscription.SubscriptionDetailsView¶ Bases:
airgun.views.common.BaseLoggedInView-
class
details¶ Bases:
airgun.views.common.SatTab-
associations¶
-
provided_products¶
-
-
class
product_content¶ Bases:
airgun.views.common.SatTab-
TAB_NAME= Product Content¶
-
product_content_list¶
-
-
is_displayed¶
-
class