Change return type for login_page fixture
This commit is contained in:
Родитель
5c647bd199
Коммит
7be7eee9f6
|
@ -105,7 +105,7 @@ def fixture_root_user(variables: typing.Dict, org: str) -> User:
|
|||
|
||||
|
||||
@pytest.fixture(name="login_page")
|
||||
def fixture_login_page(selenium, server_url: str, org: str) -> LoginPage:
|
||||
def fixture_login_page(selenium, server_url: str, org: str) -> typing.Any:
|
||||
"""Return a page object model for the login page."""
|
||||
login_page = LoginPage(selenium, server_url, org=org)
|
||||
return login_page.open()
|
||||
|
|
Загрузка…
Ссылка в новой задаче