Skip to content

Commit

Permalink
fix test (modification du titre de la page)
Browse files Browse the repository at this point in the history
  • Loading branch information
alanzirek committed Jun 28, 2024
1 parent be3293c commit 9009a7a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sv/tests/test_fichedetection_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,5 @@ def test_url(live_server, page: Page):

def test_no_fiches(live_server, page: Page):
page.goto(f"{live_server.url}/sv/fiches-detection/")
expect(page.get_by_role("heading", name="Liste des fiches détection")).to_be_visible()
expect(page.get_by_role("heading")).to_contain_text("Liste des fiches détection")
# expect(page.locator("body")).to_contain_text("Aucune fiche détection")
expect(page.get_by_role("heading", name="Liste des fiches")).to_be_visible()
expect(page.locator("body")).to_contain_text("Liste des fiches")

0 comments on commit 9009a7a

Please sign in to comment.