Skip to content

login

LoginPage(ucc_smartx_selenium_helper)

Bases: Page


              flowchart TD
              pytest_splunk_addon_ui_smartx.pages.login.LoginPage[LoginPage]
              pytest_splunk_addon_ui_smartx.pages.page.Page[Page]

                              pytest_splunk_addon_ui_smartx.pages.page.Page --> pytest_splunk_addon_ui_smartx.pages.login.LoginPage
                


              click pytest_splunk_addon_ui_smartx.pages.login.LoginPage href "" "pytest_splunk_addon_ui_smartx.pages.login.LoginPage"
              click pytest_splunk_addon_ui_smartx.pages.page.Page href "" "pytest_splunk_addon_ui_smartx.pages.page.Page"
            

Page: Login page

Parameters:

Name Type Description Default
ucc_smartx_selenium_helper

Fixture with selenium driver, urls(web, mgmt) and session key

required
Source code in pytest_splunk_addon_ui_smartx/pages/login.py
28
29
30
31
32
33
34
def __init__(self, ucc_smartx_selenium_helper):
    """
    :param ucc_smartx_selenium_helper: Fixture with selenium driver, urls(web, mgmt) and session key
    """

    super().__init__(ucc_smartx_selenium_helper, ucc_smartx_rest_helper=None)
    self.login = Login(ucc_smartx_selenium_helper.browser)