Search for assert
- Search 7.x for assert
- Search 9.5.x for assert
- Search 8.9.x for assert
- Search 10.3.x for assert
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
ViewsModerationStateFilterTest::assertNodesWithFilters | function | core/ |
Assert the nodes appear when the test view is executed. |
ViewsModerationStateFilterTest::assertPluginStates | function | core/ |
Assert the plugin states. |
ViewsModerationStateFilterTest::assertWorkflowDependencies | function | core/ |
Asserts the views dependencies on workflow config entities. |
ViewsModerationStateFilterTest::executeAndAssertIdenticalResultset | function | core/ |
Execute a view and assert the expected results. |
ViewsModerationStateSortTest::assertSortResults | function | core/ |
Assert the order of a views sort result. |
WebAssert | class | core/ |
Defines a class with methods for asserting presence of elements during tests. |
WebAssert.php | file | core/ |
|
WebAssert::$baseUrl | property | core/ |
The absolute URL of the site under test. |
WebAssert::addressEquals | function | core/ |
Checks that current session address is equals to provided one. |
WebAssert::addressNotEquals | function | core/ |
Checks that current session address is not equals to provided one. |
WebAssert::assert | function | core/ |
Asserts a condition. |
WebAssert::assertEscaped | function | core/ |
Passes if the raw text IS found escaped on the loaded page. |
WebAssert::assertNoEscaped | function | core/ |
Passes if the raw text IS NOT found escaped on the loaded page. |
WebAssert::buildStatusMessageSelector | function | core/ |
Builds a xpath selector for a message with given type and text. |
WebAssert::buildXPathQuery | function | core/ |
Builds an XPath query. |
WebAssert::buttonExists | function | core/ |
Checks that specific button exists on the current page. |
WebAssert::buttonNotExists | function | core/ |
Checks that the specific button does NOT exist on the current page. |
WebAssert::cleanUrl | function | core/ |
Trims the base URL from the URL. |
WebAssert::elementTextEquals | function | core/ |
Asserts a specific element's text equals an expected text. |
WebAssert::fieldDisabled | function | core/ |
Checks that a given form field element is disabled. |
WebAssert::fieldEnabled | function | core/ |
Checks that a given form field element is enabled. |
WebAssert::fieldValueEquals | function | core/ |
|
WebAssert::hiddenFieldExists | function | core/ |
Checks that specific hidden field exists. |
WebAssert::hiddenFieldNotExists | function | core/ |
Checks that specific hidden field does not exist. |
WebAssert::hiddenFieldValueEquals | function | core/ |
Checks that specific hidden field have provided value. |
WebAssert::hiddenFieldValueNotEquals | function | core/ |
Checks that specific hidden field doesn't have the provided value. |
WebAssert::linkByHrefExists | function | core/ |
Passes if a link containing a given href (part) is found. |
WebAssert::linkByHrefExistsExact | function | core/ |
Passes if a link with a given href is found. |
WebAssert::linkByHrefNotExists | function | core/ |
Passes if a link containing a given href (part) is not found. |
WebAssert::linkByHrefNotExistsExact | function | core/ |
Passes if a link with a given href is not found. |
WebAssert::linkExists | function | core/ |
Passes if a link with the specified label is found. |
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. |
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.