cfme.base.login module¶
-
class
cfme.base.login.
BaseLoggedInPage
(*args, **kwargs)[source]¶ Bases:
widgetastic.widget.View
This page should be subclassed by any page that models any other page that is available as logged in.
-
CSRF_TOKEN
= '//meta[@name="csrf-token"]'¶
-
change_group
(*args, **kwargs)[source]¶ From the settings menu change to the group specified by ‘group_name’ Only available in versions >= 5.9
User is required to be currently logged in
-
csrf_token
¶
-
current_fullname
¶
-
current_groupname
¶
-
current_username
¶
-
flash
¶ This class handles instantiating and caching of the widgets on view.
It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.
It also acts as a counter, so you can then order the widgets by their “creation” stamp.
-
group_names
¶ Return a list of the logged in user’s assigned groups.
Returns: Version >= 5.9 - list containing all groups the logged in user is assigned to Version < 5.9 - single item list containing the user’s current group
-
help
¶ This class handles instantiating and caching of the widgets on view.
It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.
It also acts as a counter, so you can then order the widgets by their “creation” stamp.
-
is_displayed
¶
-
logged_in
¶
-
logged_in_as_current_user
¶
-
logged_out
¶
This class handles instantiating and caching of the widgets on view.
It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.
It also acts as a counter, so you can then order the widgets by their “creation” stamp.
-
settings
¶ This class handles instantiating and caching of the widgets on view.
It stores the class and the parameters it should be instantiated with. Once it is accessed from the instance of the class where it was defined on, it passes the instance to the widget class followed by args and then kwargs.
It also acts as a counter, so you can then order the widgets by their “creation” stamp.
-
unexpected_error
¶
-