function JSWebAssert::statusMessageContains
Same name in other branches
- 10 core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php \Drupal\FunctionalJavascriptTests\JSWebAssert::statusMessageContains()
Overrides WebAssert::statusMessageContains
File
-
core/
tests/ Drupal/ FunctionalJavascriptTests/ JSWebAssert.php, line 732
Class
- JSWebAssert
- Defines a class with methods for asserting presence of elements during tests.
Namespace
Drupal\FunctionalJavascriptTestsCode
public function statusMessageContains(string $message, ?string $type = NULL) : void {
$selector = $this->buildStatusMessageSelector($message, $type);
$this->waitForElement('xpath', $selector);
parent::statusMessageContains($message, $type);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.