function WebDriverWebAssert::statusCodeEquals
Same name in other branches
- 8.9.x core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php \Drupal\FunctionalJavascriptTests\WebDriverWebAssert::statusCodeEquals()
- 10 core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php \Drupal\FunctionalJavascriptTests\WebDriverWebAssert::statusCodeEquals()
- 11.x core/tests/Drupal/FunctionalJavascriptTests/WebDriverWebAssert.php \Drupal\FunctionalJavascriptTests\WebDriverWebAssert::statusCodeEquals()
The use of statusCodeEquals() is not available.
Parameters
int $code: The status code.
Overrides WebAssert::statusCodeEquals
File
-
core/
tests/ Drupal/ FunctionalJavascriptTests/ WebDriverWebAssert.php, line 16
Class
- WebDriverWebAssert
- Defines a JSWebAssert with no support for status code and header assertions.
Namespace
Drupal\FunctionalJavascriptTestsCode
public function statusCodeEquals($code) {
@trigger_error('Support for statusCodeEquals is to be dropped from JavaScript tests. See https://www.drupal.org/node/2857562.');
parent::statusCodeEquals($code);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.