Skip to content

Commit

Permalink
TASK: add step to check for non existing text in element
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Keuerleber committed Apr 10, 2024
1 parent 05cad82 commit 41ccf77
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Classes/ActorTraits/Checks.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,16 @@ public function iShouldSeeTextInElement(string $text, string $selector): void
$this->see($text, $selector);
}

/**
* @Then I should not see :text in :element element
* @param string $text
* @param string $selector
*/
public function iShouldNotSeeTextInElement(string $text, string $selector): void
{
$this->dontSee($text, $selector);
}

/**
* @Then I should see at least :number :selector elements
* @param string $number
Expand Down

0 comments on commit 41ccf77

Please sign in to comment.