diff --git a/screenpy_selenium/resolutions/custom_matchers/is_clickable_element.py b/screenpy_selenium/resolutions/custom_matchers/is_clickable_element.py index fc2b908..bd689df 100644 --- a/screenpy_selenium/resolutions/custom_matchers/is_clickable_element.py +++ b/screenpy_selenium/resolutions/custom_matchers/is_clickable_element.py @@ -28,6 +28,7 @@ def describe_to(self, description: Description) -> None: def describe_match( self, _: Optional[WebElement], match_description: Description ) -> None: + """Describe the matching case.""" match_description.append_text("it was enabled/clickable") def describe_mismatch( diff --git a/screenpy_selenium/resolutions/custom_matchers/is_invisible_element.py b/screenpy_selenium/resolutions/custom_matchers/is_invisible_element.py index 5f1e933..8a1258b 100644 --- a/screenpy_selenium/resolutions/custom_matchers/is_invisible_element.py +++ b/screenpy_selenium/resolutions/custom_matchers/is_invisible_element.py @@ -28,6 +28,7 @@ def describe_to(self, description: Description) -> None: def describe_match( self, _: Optional[WebElement], match_description: Description ) -> None: + """Describe the matching case.""" match_description.append_text("it was invisible") def describe_mismatch( diff --git a/screenpy_selenium/resolutions/custom_matchers/is_present_element.py b/screenpy_selenium/resolutions/custom_matchers/is_present_element.py index 1cef5a3..ee56716 100644 --- a/screenpy_selenium/resolutions/custom_matchers/is_present_element.py +++ b/screenpy_selenium/resolutions/custom_matchers/is_present_element.py @@ -28,6 +28,7 @@ def describe_to(self, description: Description) -> None: def describe_match( self, _: Optional[WebElement], match_description: Description ) -> None: + """Describe the matching case.""" match_description.append_text("it was present") def describe_mismatch( diff --git a/screenpy_selenium/resolutions/custom_matchers/is_visible_element.py b/screenpy_selenium/resolutions/custom_matchers/is_visible_element.py index e7e58d7..4dca3c6 100644 --- a/screenpy_selenium/resolutions/custom_matchers/is_visible_element.py +++ b/screenpy_selenium/resolutions/custom_matchers/is_visible_element.py @@ -28,6 +28,7 @@ def describe_to(self, description: Description) -> None: def describe_match( self, _: Optional[WebElement], match_description: Description ) -> None: + """Describe the matching case.""" match_description.append_text("it was visible") def describe_mismatch(