Skip to main content

Messages

DrevOps\BehatSteps\Steps\Web\MessageTrait - Source, Steps

Assert status, error, warning and success messages rendered on the page.

public function messageAssertExistsOfType(string $message, string $type): void

Assert that a message of the given type contains the expected text

public function messageAssertNotExistsOfType(string $message, string $type): void

Assert that no message of the given type contains the expected text

public function messageGetSelector(string $type): string

Return the configured CSS selector for a message type