def test_empty_tag_roll(web_server: str, browser: DriverAPI, dbsession: Session): """We can render empty tag list.""" # Direct Splinter browser to the website browser.visit(web_server + "/blog/tag/xxx") assert browser.is_element_present_by_css("#blog-no-posts")
def logout(web_server:str, browser:DriverAPI): """Log out the current user from the test browser.""" browser.find_by_css("#nav-logout").click() assert browser.is_element_present_by_css("#msg-logged-out")
def logout(web_server: str, browser: DriverAPI): """Log out the current user from the test browser.""" browser.find_by_css("#nav-logout").click() assert browser.is_element_present_by_css("#msg-logged-out")