Search for assert

  1. Search 7.x for assert
  2. Search 9.5.x for assert
  3. Search 8.9.x for assert
  4. Search 11.x for assert
  5. Other projects
Title Object type File name Summary
JSWebAssertTest::$defaultTheme property core/tests/Drupal/FunctionalJavascriptTests/Tests/JSWebAssertTest.php
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
JsWebAssertTestForm::submitForm function core/modules/system/tests/modules/js_webassert_test/src/Form/JsWebAssertTestForm.php
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
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::assertElementNotClickable function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php Checks if element is not clickable.
LayoutBuilderDisableInteractionsTest::assertLinksFormIframeNotInteractive function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderDisableInteractionsTest.php Asserts that forms, links, and iframes in preview are non-interactive.
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.
LayoutBuilderUiTest::assertHighlightedElement function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderUiTest.php Confirms the presence of the 'is-layout-builder-highlighted' class.
LayoutBuilderUiTest::assertHighlightNotExists function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderUiTest.php Waits for the dialog to close and confirms no highlights are present.
LayoutBuilderUiTest::assertModifiedLayout function core/modules/layout_builder/tests/src/FunctionalJavascript/LayoutBuilderUiTest.php Asserts that modifying a layout works as expected.
LayoutRestTestBase::assertAuthenticationEdgeCases function core/modules/layout_builder/tests/src/Functional/Rest/LayoutRestTestBase.php Asserts authentication provider-specific edge cases.
LayoutRestTestBase::assertNormalizationEdgeCases function core/modules/layout_builder/tests/src/Functional/Rest/LayoutRestTestBase.php Asserts normalization-specific edge cases.
LayoutRestTestBase::assertResponseWhenMissingAuthentication function core/modules/layout_builder/tests/src/Functional/Rest/LayoutRestTestBase.php Verifies the error response in case of missing authentication.
LayoutSectionTest::assertLayoutSection function core/modules/layout_builder/tests/src/Functional/LayoutSectionTest.php Asserts the output of a layout section.
LibraryDiscoveryIntegrationTest::assertAssetInLibrary function core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php Asserts that the specified asset is in the given library.
LibraryDiscoveryIntegrationTest::assertNoAssetInLibrary function core/tests/Drupal/KernelTests/Core/Asset/LibraryDiscoveryIntegrationTest.php Asserts that the specified asset is not in the given library.
LibraryDiscoveryParserTest::providerTestCssAssert function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Data provider for testing bad CSS declarations.
LibraryDiscoveryParserTest::testCssAssert function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Verify an assertion fails if CSS declarations have non-existent categories.
LinkFieldTest::assertInvalidEntries function core/modules/link/tests/src/Functional/LinkFieldTest.php Asserts that invalid URLs cannot be submitted.
LinkFieldTest::assertValidEntries function core/modules/link/tests/src/Functional/LinkFieldTest.php Asserts that valid URLs can be submitted.
LinkFieldUITest::assertFieldContainsRawText function core/modules/link/tests/src/Functional/LinkFieldUITest.php Checks that given field contains the given raw text.
LinkFieldUITest::assertNoFieldContainsRawText function core/modules/link/tests/src/Functional/LinkFieldUITest.php Checks that given field does not contain the given raw text.
LinkGeneratorTest::assertLink function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Checks that a link with certain properties exists in a given HTML snippet.
LinkGeneratorTest::assertNoXPathResults function core/tests/Drupal/Tests/Core/Utility/LinkGeneratorTest.php Checks that the given XPath query has no results in a given HTML snippet.
LinksetControllerTestBase::assertDrupalResponseCacheability function core/modules/system/tests/src/Functional/Menu/LinksetControllerTestBase.php Helper to assert a cacheable value matches an expectation.

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