Search for assert
- Search 7.x for assert
- Search 9.5.x for assert
- Search 10.3.x for assert
- Search 11.x for assert
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
JSWebAssert::assertNoElementAfterWait | function | core/ |
Asserts that no matching element exists on the page after a wait. |
JSWebAssert::assertNoEscaped | function | core/ |
Passes if the raw text IS NOT found escaped on the loaded page. |
JSWebAssert::assertNotVisibleInViewport | function | core/ |
Test that a node, or its specific corner, is not visible in the viewport. |
JSWebAssert::assertVisibleInViewport | function | core/ |
Test that a node, or its specific corner, is visible in the viewport. |
JSWebAssert::assertWaitOnAjaxRequest | function | core/ |
Waits for AJAX request to be completed. |
JSWebAssert::checkNodeVisibilityInViewport | function | core/ |
Check the visibility of a node, or its specific corner. |
JSWebAssert::escapeHtml | function | core/ |
Escapes HTML for testing. |
JSWebAssert::waitForButton | function | core/ |
Waits for a button (input[type=submit|image|button|reset], button) with specified locator and returns it. |
JSWebAssert::waitForElement | function | core/ |
Waits for the specified selector and returns it when available. |
JSWebAssert::waitForElementRemoved | function | core/ |
Looks for the specified selector and returns TRUE when it is unavailable. |
JSWebAssert::waitForElementVisible | function | core/ |
Waits for the specified selector and returns it when available and visible. |
JSWebAssert::waitForField | function | core/ |
Waits for a field with specified locator and returns it when available. |
JSWebAssert::waitForId | function | core/ |
Waits for an element by its id and returns it when available. |
JSWebAssert::waitForLink | function | core/ |
Waits for a link with specified locator and returns it when available. |
JSWebAssert::waitForText | function | core/ |
Waits for the specified text and returns its element when available. |
JSWebAssert::waitOnAutocomplete | function | core/ |
Waits for the jQuery autocomplete delay duration. |
JSWebAssertTest | class | core/ |
Tests for the JSWebAssert class. |
JSWebAssertTest.php | file | core/ |
|
JSWebAssertTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
JSWebAssertTest::$modules | property | core/ |
Required modules. |
JSWebAssertTest::testJsWebAssert | function | core/ |
Tests that JSWebAssert assertions work correctly. |
JsWebAssertTestForm | class | core/ |
Test form for JSWebAssert JavaScriptTestBase. |
JsWebAssertTestForm.php | file | core/ |
|
JsWebAssertTestForm::addAssertWaitOnAjaxRequest | function | core/ |
Ajax callback for the "Test waitForAjax" button. |
JsWebAssertTestForm::addButton | function | core/ |
Ajax callback for the "Add button" button. |
JsWebAssertTestForm::addField | function | core/ |
Ajax callback for the "Add field" button. |
JsWebAssertTestForm::addId | function | core/ |
Ajax callback for the "Add ID" button. |
JsWebAssertTestForm::addLink | function | core/ |
Ajax callback for the "Add link" button. |
JsWebAssertTestForm::addWaitForElementVisible | function | core/ |
Ajax callback for the "Test waitForElementVisible" button. |
JsWebAssertTestForm::buildForm | function | core/ |
Form for testing the addition of various types of elements via AJAX. |
JsWebAssertTestForm::getFormId | function | core/ |
Returns a unique string identifying the form. |
JsWebAssertTestForm::submitForm | function | core/ |
Form submission handler. |
JSWebWithWebDriverAssertTest | class | core/ |
Tests for the JSWebAssert class using webdriver. |
JSWebWithWebDriverAssertTest.php | file | core/ |
|
JSWebWithWebDriverAssertTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
JSWebWithWebDriverAssertTest::$minkDefaultDriverClass | property | core/ |
To use a legacy phantomjs based approach, please use PhantomJSDriver::class. |
js_webassert_test.info.yml | file | core/ |
core/modules/system/tests/modules/js_webassert_test/js_webassert_test.info.yml |
js_webassert_test.libraries.yml | file | core/ |
core/modules/system/tests/modules/js_webassert_test/js_webassert_test.libraries.yml |
js_webassert_test.routing.yml | file | core/ |
core/modules/system/tests/modules/js_webassert_test/js_webassert_test.routing.yml |
KernelAssertLegacyTraitTest | class | core/ |
@coversDefaultClass \Drupal\KernelTests\AssertLegacyTrait @group Assert @group legacy |
KernelAssertLegacyTraitTest.php | file | core/ |
|
KernelAssertLegacyTraitTest::testAssertFalse | function | core/ |
@expectedDeprecation Support for asserting against non-boolean values in ::assertFalse is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use a different assert method, for example, ::assertEmpty(). See https://www.drupal.org/node/3082086 |
KernelAssertLegacyTraitTest::testAssertTrue | function | core/ |
@expectedDeprecation Support for asserting against non-boolean values in ::assertTrue is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use a different assert method, for example, ::assertNotEmpty(). See https://www.drupal.org/node/3082086 |
KernelTestBase::assertPostConditions | function | core/ |
|
KernelTestBaseShutdownTest::assertPostConditions | function | core/ |
|
LatestRevisionFilterTest::assertNotInResultSet | function | core/ |
Asserts that a list of revision IDs are not in the result. |
LayoutBuilderAccessTest::assertExpectedAccess | function | core/ |
Asserts the correct response code is returned based on expected access. |
LayoutBuilderCompatibilityTestBase::assertFieldAttributes | function | core/ |
Asserts that the rendered entity has the correct fields. |
LayoutBuilderDisableInteractionsTest::assertContextualLinkRetainsMouseup | function | core/ |
Makes sure contextual links respond to mouseup event. |
LayoutBuilderDisableInteractionsTest::assertContextualLinksClickable | function | core/ |
Confirms that Layout Builder contextual links remain active. |
Pagination
- Previous page
- Page 12
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.