예제 #1
0
 def test_web_ui_10_check_auth_page_authorization(self, browser):
     auth_page = LoginPage(browser)
     auth_page.open()
     auth_page.log_in(browser=browser,
                      login=UserData.trial_tariff.value.login,
                      password=UserData.trial_tariff.value.password)
     assert_that(browser.current_url, contains_string(LKPage(browser).path),
                 'Страница "Личный кабинет" не открылась')
예제 #2
0
def auth_by_paid_tariff(browser):
    auth_page = LoginPage(browser)
    auth_page.open()
    auth_page.log_in(browser=browser,
                     login=UserData.paid_tariff.value.login,
                     password=UserData.paid_tariff.value.password)