def test_awards_title_two(web_driver):
    """Check if the title of 'Вхід до голосування' page is correct"""
    homepage = MainPage(web_driver)
    homepage.click_to_login_button(web_driver)
    assert "Голосуйте" in homepage.title_text(web_driver)
def test_awards_main_title(web_driver):
    """Check title of mainpage"""
    homepage = MainPage(web_driver)
    awards_title = homepage.title_text(web_driver)
    assert awards_title == "Голосуйте за улюбленні товари"