Skip to content

Commit

Permalink
fix misleadingly concise description.
Browse files Browse the repository at this point in the history
  • Loading branch information
perrygoy committed Jul 12, 2024
1 parent 028fb8f commit 787afe9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ def _matches(self, item: Locator | None) -> bool:
return item.count() > 0

def describe_to(self, description: Description) -> None:
"""Describe the passing case."""
description.append_text("the element is present")
"""Describe what is needed to pass this test."""
description.append_text("an element which is present")

def describe_match(self, _: Locator | None, match_description: Description) -> None:
"""Describe the matching case."""
Expand Down

0 comments on commit 787afe9

Please sign in to comment.