16 calls to WebAssert::assert()

WebAssert::addressEquals in core/tests/Drupal/Tests/WebAssert.php
Checks that current session address is equals to provided one.
WebAssert::addressNotEquals in core/tests/Drupal/Tests/WebAssert.php
Checks that current session address is not equals to provided one.
WebAssert::buttonNotExists in core/tests/Drupal/Tests/WebAssert.php
Checks that the specific button does NOT exist on the current page.
WebAssert::hiddenFieldNotExists in core/tests/Drupal/Tests/WebAssert.php
Checks that specific hidden field does not exist.
WebAssert::hiddenFieldValueEquals in core/tests/Drupal/Tests/WebAssert.php
Checks that specific hidden field have provided value.
WebAssert::hiddenFieldValueNotEquals in core/tests/Drupal/Tests/WebAssert.php
Checks that specific hidden field doesn't have the provided value.
WebAssert::linkByHrefExists in core/tests/Drupal/Tests/WebAssert.php
Passes if a link containing a given href (part) is found.
WebAssert::linkByHrefExistsExact in core/tests/Drupal/Tests/WebAssert.php
Passes if a link with a given href is found.
WebAssert::linkByHrefNotExists in core/tests/Drupal/Tests/WebAssert.php
Passes if a link containing a given href (part) is not found.
WebAssert::linkByHrefNotExistsExact in core/tests/Drupal/Tests/WebAssert.php
Passes if a link with a given href is not found.
WebAssert::linkExists in core/tests/Drupal/Tests/WebAssert.php
Passes if a link with the specified label is found.
WebAssert::linkExistsExact in core/tests/Drupal/Tests/WebAssert.php
Passes if a link with the exactly specified label is found.
WebAssert::linkNotExists in core/tests/Drupal/Tests/WebAssert.php
Passes if a link with the specified label is not found.
WebAssert::linkNotExistsExact in core/tests/Drupal/Tests/WebAssert.php
Passes if a link with the exactly specified label is not found.
WebAssert::optionNotExists in core/tests/Drupal/Tests/WebAssert.php
Checks that an option in a select field does NOT exist on the current page.
WebAssert::titleEquals in core/tests/Drupal/Tests/WebAssert.php
Pass if the page title is the given string.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.