Skip to content

Commit

Permalink
* D102
Browse files Browse the repository at this point in the history
  • Loading branch information
bandophahita committed Jan 10, 2024
1 parent 6d94114 commit b194b0e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit b194b0e

Please sign in to comment.