airgun.entities.rhsso_login

Module Contents

Classes

RHSSOLoginEntity

NavigateToLogin

AirGun's version of navmazing.NavigateStep with custom

class airgun.entities.rhsso_login.RHSSOLoginEntity(browser)
login(values, external_login=False, totp=None)
logout()
get_two_factor_login_code(values, url)
class airgun.entities.rhsso_login.NavigateToLogin(obj, navigate_obj, logger=None)

AirGun’s version of navmazing.NavigateStep with custom implementations of navmazing.NavigateStep.am_i_here and navmazing.NavigateStep.go and ability to work with views.

VIEW
am_i_here(*args, **kwargs)

Describes if the navigation is already at the requested destination.

By default, airgun relies on view’s is_displayed property to determine whether navigation succeeded. If positional argument entity_name was passed and view has BreadCrumb widget, it will also ensure second location in breadcrumb is provided entity name.

This method may be overridden on specific entity’s NavigateStep level for more complex logic if needed.

Returns

whether navigator is at requested destination or not.

Return type

bool