6 calls to AssertContentTrait::assertFieldByXPath()

AssertContentTrait::assertField in core/tests/Drupal/KernelTests/AssertContentTrait.php
Asserts that a field exists with the given name or ID.
AssertContentTrait::assertFieldById in core/tests/Drupal/KernelTests/AssertContentTrait.php
Asserts that a field exists with the given ID and value.
AssertContentTrait::assertFieldByName in core/tests/Drupal/KernelTests/AssertContentTrait.php
Asserts that a field exists with the given name and value.
ExposedFormRenderTest::testExposedFormRender in core/modules/views/tests/src/Kernel/Plugin/ExposedFormRenderTest.php
Tests the exposed form markup.
ExposedFormRenderTest::testExposedFormRender in core/modules/views/tests/src/Kernel/Plugin/ExposedFormRenderTest.php
Tests the exposed form markup.
FormElementsRenderTest::assertRenderedElement in core/modules/system/tests/src/Kernel/Common/FormElementsRenderTest.php
Tests that elements are rendered properly.

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