/var/www/vhosts/nabawater/vendor/codeception/phpunit-wrapper/src/Constraint
Edit: /var/www/vhosts/nabawater/vendor/codeception/phpunit-wrapper/src/Constraint/CrawlerNot.php (1076B)
string) {
throw new \PHPUnit\Framework\ExpectationFailedException(
"Element '$selector' was found",
$comparisonFailure
);
}
/** @var $nodes DomCrawler * */
$output = "There was '$selector' element";
$output .= $this->uriMessage('on page');
$output .= $this->nodesList($nodes, $this->string);
$output .= "\ncontaining '{$this->string}'";
throw new \PHPUnit\Framework\ExpectationFailedException(
$output,
$comparisonFailure
);
}
public function toString()
{
if ($this->string) {
return 'that contains text "' . $this->string . '"';
}
}
}