Skip to content

Commit

Permalink
Update test to check for about page title instead of partner list
Browse files Browse the repository at this point in the history
  • Loading branch information
clare-stanton committed Jun 23, 2023
1 parent 7509f9f commit 1f84694
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions perma_web/functional_tests/test_static.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ def test_homepage(page, urls) -> None:
assert page.title() == "Perma.cc"

def test_about(page, urls) -> None:
"""The About page should list the set of partners"""
"""The About page should render correctly"""
page.goto(urls.about)
assert "About" in page.title()
assert page.locator('.perma-partner').count() > 0
assert page.title() == "Perma.cc | About"

0 comments on commit 1f84694

Please sign in to comment.