26 calls to AssertContentTrait::xpath()
- AreaEntityTest::doTestRender in core/
modules/ views/ tests/ src/ Kernel/ Handler/ AreaEntityTest.php - Tests rendering the entity area handler.
- AssertContentTrait::assertFieldByXPath in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Asserts that a field exists in the current page by the given XPath.
- AssertContentTrait::assertLink in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Passes if a link with the specified label is found.
- AssertContentTrait::assertLinkByHref in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Passes if a link containing a given href (part) is found.
- AssertContentTrait::assertNoLink in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Passes if a link with the specified label is not found.
- AssertContentTrait::cssSelect in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Searches elements using a CSS selector in the raw content.
- CommentUserNameTest::testUsername in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentUserNameTest.php - Tests the username formatter.
- ComponentInFormTest::testFormRenderingAndSubmission in core/
tests/ Drupal/ KernelTests/ Components/ ComponentInFormTest.php - Tests that fields validation messages are sorted in the fields order.
- DisplayPageTest::testEmptyRow in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ DisplayPageTest.php - Tests the templates with empty rows.
- DisplayPageTest::testReadMore in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ DisplayPageTest.php - Tests the 'read more' functionality.
- ElementsFieldsetTest::testFieldsetDescriptions in core/
modules/ system/ tests/ src/ Kernel/ Form/ ElementsFieldsetTest.php - Tests different display options for fieldset element descriptions.
- ExposedFormRenderTest::testExposedFormRender in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ ExposedFormRenderTest.php - Tests the exposed form markup.
- ExternalFormUrlTest::testActionUrlBehavior in core/
tests/ Drupal/ KernelTests/ Core/ Form/ ExternalFormUrlTest.php - Tests form behavior.
- FieldDisplayTest::testFieldVisualHidden in core/
modules/ field/ tests/ src/ Kernel/ FieldDisplayTest.php - Tests that visually hidden works with core.
- FieldFieldTest::testFieldApiClassesRender in core/
modules/ views/ tests/ src/ Kernel/ Handler/ FieldFieldTest.php - Tests the result of a view field with field_api_classes enabled.
- FormActionXssTest::testFormActionXss in core/
tests/ Drupal/ KernelTests/ Core/ Form/ FormActionXssTest.php - Tests form action attribute for XSS.
- FormElementLabelTest::testAttributes in core/
modules/ system/ tests/ src/ Kernel/ Form/ FormElementLabelTest.php - Ensures that attributes can be placed for form element label.
- FormElementMaxlengthTest::testAttributes in core/
modules/ system/ tests/ src/ Kernel/ Form/ FormElementMaxlengthTest.php - Ensures maxlength attribute can be used in compatible elements.
- ImageThemeFunctionTest::testImageAltFunctionality in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - Tests image alt attribute functionality.
- ImageThemeFunctionTest::testImageFormatterTheme in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - Tests usage of the image field formatters.
- ImageThemeFunctionTest::testImageStyleTheme in core/
modules/ image/ tests/ src/ Kernel/ ImageThemeFunctionTest.php - Tests usage of the image style theme function.
- RelationshipTest::testRelationshipRender in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ RelationshipTest.php - Tests rendering of a view with a relationship.
- StyleGridResponsiveTest::testResponsiveGrid in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ StyleGridResponsiveTest.php - Generates a grid_responsive and asserts that it is displaying correctly.
- StyleGridTest::assertGrid in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ StyleGridTest.php - Generates a grid and asserts that it is displaying correctly.
- ViewElementTest::testViewElement in core/
modules/ views/ tests/ src/ Kernel/ ViewElementTest.php - Tests the rendered output and form output of a view element.
- ViewElementTest::testViewElementEmbed in core/
modules/ views/ tests/ src/ Kernel/ ViewElementTest.php - Tests the rendered output and form output of the "embed" display plugin.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.