Search for assert

  1. Search 7.x for assert
  2. Search 8.9.x for assert
  3. Search 10.3.x for assert
  4. Search 11.x for assert
  5. Other projects
Title Object type File name Summary
JSWebAssert::waitForElementVisible function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for the specified selector and returns it when available and visible.
JSWebAssert::waitForField function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for a field with specified locator and returns it when available.
JSWebAssert::waitForHelper function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Wraps waits in a function to catch curl exceptions to continue waiting.
JSWebAssert::waitForId function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for an element by its id and returns it when available.
JSWebAssert::waitForLink function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for a link with specified locator and returns it when available.
JSWebAssert::waitForText function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for the specified text and returns TRUE when it is available.
JSWebAssert::waitOnAutocomplete function core/tests/Drupal/FunctionalJavascriptTests/JSWebAssert.php Waits for the jQuery autocomplete delay duration.
JSWebAssertTest class core/tests/Drupal/FunctionalJavascriptTests/Tests/JSWebAssertTest.php Tests for the JSWebAssert class.
JSWebAssertTest.php file core/tests/Drupal/FunctionalJavascriptTests/Tests/JSWebAssertTest.php
JSWebAssertTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Tests/JSWebAssertTest.php The theme to install as the default for testing.
JSWebAssertTest::$modules property core/tests/Drupal/FunctionalJavascriptTests/Tests/JSWebAssertTest.php Required modules.
JSWebAssertTest::testJsWebAssert function core/tests/Drupal/FunctionalJavascriptTests/Tests/JSWebAssertTest.php Tests that JSWebAssert assertions work correctly.
JsWebAssertTestForm class core/modules/system/tests/modules/js_webassert_test/src/Form/JsWebAssertTestForm.php Test form for JSWebAssert WebDriverTestBase.
JsWebAssertTestForm.php file core/modules/system/tests/modules/js_webassert_test/src/Form/JsWebAssertTestForm.php
JsWebAssertTestForm::addAssertWaitOnAjaxRequest function core/modules/system/tests/modules/js_webassert_test/src/Form/JsWebAssertTestForm.php Ajax callback for the "Test waitForAjax" button.
JsWebAssertTestForm::addButton function core/modules/system/tests/modules/js_webassert_test/src/Form/JsWebAssertTestForm.php Ajax callback for the "Add button" button.
JsWebAssertTestForm::addField function core/modules/system/tests/modules/js_webassert_test/src/Form/JsWebAssertTestForm.php Ajax callback for the "Add field" button.
JsWebAssertTestForm::addId function core/modules/system/tests/modules/js_webassert_test/src/Form/JsWebAssertTestForm.php Ajax callback for the "Add ID" button.
JsWebAssertTestForm::addLink function core/modules/system/tests/modules/js_webassert_test/src/Form/JsWebAssertTestForm.php Ajax callback for the "Add link" button.
JsWebAssertTestForm::addWaitForElementVisible function core/modules/system/tests/modules/js_webassert_test/src/Form/JsWebAssertTestForm.php Ajax callback for the "Test waitForElementVisible" button.
JsWebAssertTestForm::buildForm function core/modules/system/tests/modules/js_webassert_test/src/Form/JsWebAssertTestForm.php Form for testing the addition of various types of elements via AJAX.
JsWebAssertTestForm::getFormId function core/modules/system/tests/modules/js_webassert_test/src/Form/JsWebAssertTestForm.php Returns a unique string identifying the form.
JsWebAssertTestForm::submitForm function core/modules/system/tests/modules/js_webassert_test/src/Form/JsWebAssertTestForm.php Form submission handler.
js_webassert_test.info.yml file core/modules/system/tests/modules/js_webassert_test/js_webassert_test.info.yml core/modules/system/tests/modules/js_webassert_test/js_webassert_test.info.yml
js_webassert_test.libraries.yml file core/modules/system/tests/modules/js_webassert_test/js_webassert_test.libraries.yml core/modules/system/tests/modules/js_webassert_test/js_webassert_test.libraries.yml
js_webassert_test.routing.yml file core/modules/system/tests/modules/js_webassert_test/js_webassert_test.routing.yml core/modules/system/tests/modules/js_webassert_test/js_webassert_test.routing.yml
KernelTestBase::assertPostConditions function core/tests/Drupal/KernelTests/KernelTestBase.php
KernelTestBaseShutdownTest::assertPostConditions function core/tests/Drupal/KernelTests/KernelTestBaseShutdownTest.php
KernelTestBaseTest::testAssert function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests the deprecation of AssertLegacyTrait::assert.
KernelTestBaseTest::testAssertEqual function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests the deprecation of AssertLegacyTrait::assertEqual.
KernelTestBaseTest::testAssertIdentical function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests the deprecation of AssertLegacyTrait::assertIdentical.
KernelTestBaseTest::testAssertIdenticalObject function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests the deprecation of AssertLegacyTrait::assertIdenticalObject.
KernelTestBaseTest::testAssertNotEqual function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests the deprecation of AssertLegacyTrait::assertNotEqual.
KernelTestBaseTest::testAssertNotIdentical function core/tests/Drupal/KernelTests/KernelTestBaseTest.php Tests the deprecation of AssertLegacyTrait::assertNotIdentical.
LanguageSwitchingTest::assertLinkMarkup function core/modules/language/tests/src/Functional/LanguageSwitchingTest.php Asserts that restricted text is or is not present in the page response.
LatestRevisionFilterTest::assertNotInResultSet function core/modules/views/tests/src/Kernel/Entity/LatestRevisionFilterTest.php Asserts that a list of revision IDs are not in the result.
LayoutBuilderAccessTest::assertExpectedAccess function core/modules/layout_builder/tests/src/Functional/LayoutBuilderAccessTest.php Asserts the correct response code is returned based on expected access.
LayoutBuilderCompatibilityTestBase::assertFieldAttributes function core/modules/layout_builder/tests/src/Kernel/LayoutBuilderCompatibilityTestBase.php Asserts that the rendered entity has the correct fields.
LayoutBuilderDefaultValuesTest::assertNodeWithDefaultValues function core/modules/layout_builder/tests/src/Functional/LayoutBuilderDefaultValuesTest.php Test for expected text on node 2.
LayoutBuilderDefaultValuesTest::assertNodeWithValues function core/modules/layout_builder/tests/src/Functional/LayoutBuilderDefaultValuesTest.php Test for expected text on node 1.
LayoutBuilderDisableInteractionsTest::assertContextualLinkRetainsMouseup function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php Makes sure contextual links respond to mouseup event.
LayoutBuilderDisableInteractionsTest::assertContextualLinksClickable function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php Confirms that Layout Builder contextual links remain active.
LayoutBuilderDisableInteractionsTest::assertElementUnclickable function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php Checks if element is unclickable.
LayoutBuilderDisableInteractionsTest::assertLinksFormIframeNotInteractive function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php Asserts that forms, links, and iframes in preview are non-interactive.
LayoutBuilderQuickEditTest::assertEntityInstanceFieldMarkup function core/modules/quickedit/tests/src/FunctionalJavascript/LayoutBuilderQuickEditTest.php Asserts all in-place editable fields with markup expectations.
LayoutBuilderQuickEditTest::assertEntityInstanceFieldStates function core/modules/quickedit/tests/src/FunctionalJavascript/LayoutBuilderQuickEditTest.php Asserts all FieldModels for the given entity instance.
LayoutBuilderQuickEditTest::assertQuickEditInit function core/modules/quickedit/tests/src/FunctionalJavascript/LayoutBuilderQuickEditTest.php Asserts that Quick Edit is initialized on the node view correctly.
LayoutBuilderTest::assertCorrectLayouts function core/modules/layout_builder/tests/src/Functional/LayoutBuilderTest.php Asserts that the correct layouts are available.
LayoutBuilderTest::assertOffCanvasFormAfterWait function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php Waits for the specified form and returns it when available and visible.
LayoutBuilderTest::assertPageNotReloaded function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderTest.php Asserts that the page has not been reloaded.

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