40 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::assertFieldChecked in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Asserts that a checkbox field in the current page is checked.
- 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::assertNoDuplicateIds in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Asserts that each HTML ID is used for just a single element.
- AssertContentTrait::assertNoFieldByXPath in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Asserts that a field does not exist or its value does not match, by XPath.
- AssertContentTrait::assertNoFieldChecked in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Asserts that a checkbox field in the current page is not checked.
- AssertContentTrait::assertNoLink in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Passes if a link with the specified label is not found.
- AssertContentTrait::assertNoLinkByHref in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Passes if a link containing a given href (part) is not found.
- AssertContentTrait::assertNoLinkByHrefInMainRegion in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Passes if a link containing a given href is not found in the main region.
- AssertContentTrait::assertNoOption in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Asserts that a select option in the current page does not exist.
- AssertContentTrait::assertNoOptionSelected in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Asserts that a select option in the current page is not checked.
- AssertContentTrait::assertNoTitle in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Pass if the page title is not the given string.
- AssertContentTrait::assertOption in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Asserts that a select option in the current page exists.
- AssertContentTrait::assertOptionByText in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Asserts that a select option with the visible text exists.
- AssertContentTrait::assertOptionSelected in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Asserts that a select option in the current page is checked.
- AssertContentTrait::assertOptionSelectedWithDrupalSelector in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Asserts that a select option in the current page is checked.
- AssertContentTrait::assertOptionWithDrupalSelector in core/
tests/ Drupal/ KernelTests/ AssertContentTrait.php - Asserts that a select option in the current page exists.
- 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.
- 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 readmore 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.
- HistoryTimestampTest::testHandlers in core/
modules/ history/ tests/ src/ Kernel/ Views/ HistoryTimestampTest.php - Tests the handlers.
- 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.
- QuickEditLoadingTest::testDisplayOptions in core/
modules/ quickedit/ tests/ src/ Kernel/ QuickEditLoadingTest.php - Tests that fields rendered with display options are not editable.
- TableTest::testThemeTableNoStickyHeaders in core/
tests/ Drupal/ KernelTests/ Core/ Render/ Element/ TableTest.php - If $sticky is FALSE, no tableheader.js should be included.
- TableTest::testThemeTableStickyHeaders in core/
tests/ Drupal/ KernelTests/ Core/ Render/ Element/ TableTest.php - Tableheader.js provides 'sticky' table headers, and is included by default.
- 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.