Watchdog
DrevOps\BehatSteps\Steps\Drupal\WatchdogTrait - Source, Steps
Assert Drupal does not trigger PHP errors during scenarios using Watchdog.
public function watchdogAssertErrorsNotExist(string $context): void
Assert no errors at or above the severity threshold were logged
public function watchdogClearErrors(): array
Clear the errors logged since the scenario started, and return them
public function watchdogGetFailOnErrors(): bool
Return TRUE if a scenario that logged an error should fail