def test_published_excerpt(web_server: str, browser: DriverAPI, dbsession: Session, published_post_id):
"""When posts are published they become visible in blog roll."""
# Direct Splinter browser to the website
b = browser
b.visit(web_server + "/blog/")
# After login we see a profile link to our profile
assert b.is_element_visible_by_css(".excerpt")
评论列表
文章目录