Search for assert
- Search 7.x for assert
- Search 9.5.x for assert
- Search 8.9.x for assert
- Search 11.x for assert
- Other projects
| Title | Object type | File name | Summary |
|---|---|---|---|
| WebAssert::linkExistsExact | function | core/ |
Passes if a link with the exactly specified label is found. |
| WebAssert::linkNotExists | function | core/ |
Passes if a link with the specified label is not found. |
| WebAssert::linkNotExistsExact | function | core/ |
Passes if a link with the exactly specified label is not found. |
| WebAssert::optionExists | function | core/ |
Checks that specific option in a select field exists on the current page. |
| WebAssert::optionNotExists | function | core/ |
Checks that an option in a select field does NOT exist on the current page. |
| WebAssert::pageContainsNoDuplicateId | function | core/ |
Asserts that each HTML ID is used for just a single element on the page. |
| WebAssert::pageTextContains | function | core/ |
|
| WebAssert::pageTextContainsOnce | function | core/ |
Checks that current page contains text only once. |
| WebAssert::pageTextMatchesCount | function | core/ |
Asserts that the current page text matches regex a number of times. |
| WebAssert::responseContains | function | core/ |
Checks that page HTML (response content) contains text. |
| WebAssert::responseHeaderDoesNotExist | function | core/ |
Asserts that the current response header does not have a specific entry. |
| WebAssert::responseHeaderEquals | function | core/ |
|
| WebAssert::responseHeaderExists | function | core/ |
Asserts that the current response header has a specific entry. |
| WebAssert::responseNotContains | function | core/ |
Checks that page HTML (response content) does not contains text. |
| WebAssert::selectExists | function | core/ |
Checks that specific select field exists on the current page. |
| WebAssert::statusMessageContains | function | core/ |
Asserts that a status message containing a given string exists. |
| WebAssert::statusMessageExists | function | core/ |
Asserts that a status message exists. |
| WebAssert::statusMessageNotContains | function | core/ |
Asserts that a status message containing a given string does not exist. |
| WebAssert::statusMessageNotExists | function | core/ |
Asserts that a status message does not exist. |
| WebAssert::titleEquals | function | core/ |
Pass if the page title is the given string. |
| WebAssert::__construct | function | core/ |
Constructor. |
| WebAssertTest | class | core/ |
Tests WebAssert functionality. |
| WebAssertTest.php | file | core/ |
|
| WebAssertTest::$client | property | core/ |
Client mock. |
| WebAssertTest::$session | property | core/ |
Session mock. |
| WebAssertTest::assertSession | function | core/ |
Get the mocked session. |
| WebAssertTest::setUp | function | core/ |
|
| WebAssertTest::testAddressEquals | function | core/ |
@covers ::addressEquals[[api-linebreak]] |
| WebAssertTest::testAddressNotEqualsException | function | core/ |
@covers ::addressNotEquals[[api-linebreak]] |
| WebAssertTest::testElementTextEquals | function | core/ |
@covers ::elementTextEquals[[api-linebreak]] |
| WebAssertTest::testEscapingAssertions | function | core/ |
Tests assertEscaped() and assertUnescaped(). |
| WebAssertTest::testFieldAssertsForButton | function | core/ |
Tests legacy field asserts for button field type. |
| WebAssertTest::testInvalidLinkByHrefExists | function | core/ |
Tests linkExistsByHref() functionality fail. |
| WebAssertTest::testInvalidLinkByHrefExistsExact | function | core/ |
Tests linkByHrefExistsExact() functionality fail. |
| WebAssertTest::testInvalidLinkByHrefNotExistsExact | function | core/ |
Tests linkByHrefNotExistsExact() functionality fail. |
| WebAssertTest::testInvalidLinkByHrefNotExistsFull | function | core/ |
Tests LinkByHrefNotExists() functionality fail full match. |
| WebAssertTest::testInvalidLinkByHrefNotExistsPartial | function | core/ |
Tests LinkByHrefNotExists() functionality fail partial match. |
| WebAssertTest::testInvalidLinkExistsExact | function | core/ |
Tests linkExistsExact() functionality fail. |
| WebAssertTest::testInvalidLinkNotExistsExact | function | core/ |
Tests linkNotExistsExact() functionality fail. |
| WebAssertTest::testLinkByHrefExists | function | core/ |
Tests linkExistsByHref() functionality. |
| WebAssertTest::testLinkByHrefExistsExact | function | core/ |
Tests linkExistsByHref() functionality. |
| WebAssertTest::testLinkByHrefNotExists | function | core/ |
Tests linkByHrefNotExists() functionality. |
| WebAssertTest::testLinkByHrefNotExistsExact | function | core/ |
Tests linkByHrefNotExistsExact() functionality. |
| WebAssertTest::testLinkExistsExact | function | core/ |
Tests linkExistsExact() functionality. |
| WebAssertTest::testLinkNotExistsExact | function | core/ |
Tests linkNotExistsExact() functionality. |
| WebAssertTest::testPageContainsNoDuplicateId | function | core/ |
Tests pageContainsNoDuplicateId() functionality. |
| WebAssertTest::testPageTextContainsOnce | function | core/ |
@covers ::pageTextContainsOnce[[api-linebreak]] |
| WebAssertTest::testPageTextMatchesCount | function | core/ |
@covers ::pageTextMatchesCount[[api-linebreak]] |
| WebAssertTest::testPipeCharInLocator | function | core/ |
Tests linkExists() with pipe character (|) in locator. |
| WebAssertTest::testResponseHeaderDoesNotExist | function | core/ |
Tests WebAssert::responseHeaderDoesNotExist(). |
Pagination
- Previous page
- Page 19
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.