Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Other projects
Title Object type File name Summary
AssertBlockAppearsTrait trait core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php Provides test assertions for testing block appearance.
AssertBlockAppearsTrait.php file core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php
AssertBlockAppearsTrait::assertBlockAppears function core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php Checks to see whether a block appears on the page.
AssertBlockAppearsTrait::assertNoBlockAppears function core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php Checks to see whether a block does not appears on the page.
AssertBreadcrumbTrait trait core/modules/system/tests/src/Functional/Menu/AssertBreadcrumbTrait.php Provides test assertions for verifying breadcrumbs.
AssertBreadcrumbTrait.php file core/modules/system/tests/src/Functional/Menu/AssertBreadcrumbTrait.php
AssertBreadcrumbTrait::assertBreadcrumb function core/modules/system/tests/src/Functional/Menu/AssertBreadcrumbTrait.php Assert that a given path shows certain breadcrumb links.
AssertBreadcrumbTrait::assertBreadcrumbParts function core/modules/system/tests/src/Functional/Menu/AssertBreadcrumbTrait.php Assert that a trail exists in the internal browser.
AssertBreadcrumbTrait::getBreadcrumbParts function core/modules/system/tests/src/Functional/Menu/AssertBreadcrumbTrait.php Returns the breadcrumb contents of the current page in the internal browser.
AssertConfigEntityImportTrait trait core/modules/config/tests/src/Traits/AssertConfigEntityImportTrait.php Provides test assertions for testing config entity synchronization.
AssertConfigEntityImportTrait.php file core/modules/config/tests/src/Traits/AssertConfigEntityImportTrait.php
AssertConfigEntityImportTrait::assertConfigEntityImport function core/modules/config/tests/src/Traits/AssertConfigEntityImportTrait.php Asserts that a config entity can be imported without changing it.
AssertConfigTrait trait core/tests/Drupal/KernelTests/AssertConfigTrait.php Trait to help with diffing config.
AssertConfigTrait.php file core/tests/Drupal/KernelTests/AssertConfigTrait.php
AssertConfigTrait::assertConfigDiff function core/tests/Drupal/KernelTests/AssertConfigTrait.php Ensures that a specific config diff does not contain unwanted changes.
AssertContentTrait trait core/tests/Drupal/KernelTests/AssertContentTrait.php Provides test methods to assert content.
AssertContentTrait.php file core/tests/Drupal/KernelTests/AssertContentTrait.php
AssertContentTrait::$content property core/tests/Drupal/KernelTests/AssertContentTrait.php The current raw content.
AssertContentTrait::$drupalSettings property core/tests/Drupal/KernelTests/AssertContentTrait.php The drupalSettings value from the current raw $content.
AssertContentTrait::$elements property core/tests/Drupal/KernelTests/AssertContentTrait.php The XML structure parsed from the current raw $content.
AssertContentTrait::$plainTextContent property core/tests/Drupal/KernelTests/AssertContentTrait.php The plain-text content of raw $content (text nodes).
AssertContentTrait::assertEscaped function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if the raw text IS found escaped on the loaded page, fail otherwise.
AssertContentTrait::assertField function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field exists with the given name or ID.
AssertContentTrait::assertFieldById function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field exists with the given ID and value.
AssertContentTrait::assertFieldByName function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field exists with the given name and value.
AssertContentTrait::assertFieldByXPath function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field exists in the current page by the given XPath.
AssertContentTrait::assertFieldChecked function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a checkbox field in the current page is checked.
AssertContentTrait::assertFieldsByValue function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field exists in the current page with a given Xpath result.
AssertContentTrait::assertLink function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if a link with the specified label is found.
AssertContentTrait::assertLinkByHref function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if a link containing a given href (part) is found.
AssertContentTrait::assertNoDuplicateIds function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that each HTML ID is used for just a single element.
AssertContentTrait::assertNoEscaped function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if raw text IS NOT found escaped on loaded page, fail otherwise.
AssertContentTrait::assertNoField function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field does not exist with the given name or ID.
AssertContentTrait::assertNoFieldById function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field does not exist with the given ID and value.
AssertContentTrait::assertNoFieldByName function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field does not exist with the given name and value.
AssertContentTrait::assertNoFieldByXPath function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a field does not exist or its value does not match, by XPath.
AssertContentTrait::assertNoFieldChecked function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a checkbox field in the current page is not checked.
AssertContentTrait::assertNoLink function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if a link with the specified label is not found.
AssertContentTrait::assertNoLinkByHref function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if a link containing a given href (part) is not found.
AssertContentTrait::assertNoLinkByHrefInMainRegion function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if a link containing a given href is not found in the main region.
AssertContentTrait::assertNoOption function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a select option in the current page does not exist.
AssertContentTrait::assertNoOptionSelected function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a select option in the current page is not checked.
AssertContentTrait::assertNoPattern function core/tests/Drupal/KernelTests/AssertContentTrait.php Triggers a pass if the perl regex pattern is not found in raw content.
AssertContentTrait::assertNoRaw function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if the raw text is NOT found on the loaded page, fail otherwise.
AssertContentTrait::assertNoText function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if the page (with HTML stripped) does not contains the text.
AssertContentTrait::assertNoTitle function core/tests/Drupal/KernelTests/AssertContentTrait.php Pass if the page title is not the given string.
AssertContentTrait::assertNoUniqueText function core/tests/Drupal/KernelTests/AssertContentTrait.php Passes if the text is found MORE THAN ONCE on the text version of the page.
AssertContentTrait::assertOption function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a select option in the current page exists.
AssertContentTrait::assertOptionByText function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a select option with the visible text exists.
AssertContentTrait::assertOptionSelected function core/tests/Drupal/KernelTests/AssertContentTrait.php Asserts that a select option in the current page is checked.

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