10 calls to AssertContentTrait::xpath() in Drupal 10
- CommentUserNameTest::testUsername in core/
modules/ comment/ tests/ src/ Kernel/ Views/ CommentUserNameTest.php - Tests the username formatter.
- ElementsFieldsetTest::testFieldsetDescriptions in core/
modules/ system/ tests/ src/ Kernel/ Form/ ElementsFieldsetTest.php - Tests different display options for fieldset element descriptions.
- ExternalFormUrlTest::testActionUrlBehavior in core/
tests/ Drupal/ KernelTests/ Core/ Form/ ExternalFormUrlTest.php - Tests form behavior.
- 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.
- HistoryTimestampTest::testHandlers in core/
modules/ history/ tests/ src/ Kernel/ Views/ HistoryTimestampTest.php - Tests the handlers.
- 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.