You are here

53 calls to AssertContentTrait::xpath() in Drupal 8

AggregatorTestBase::createFeed in core/modules/aggregator/src/Tests/AggregatorTestBase.php
Creates an aggregator feed.
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.
BrowserTest::testXPathEscaping in core/modules/simpletest/src/Tests/BrowserTest.php
Tests XPath escaping.
CommentUserNameTest::testUsername in core/modules/comment/tests/src/Kernel/Views/CommentUserNameTest.php
Test the username formatter.
ContentTranslationUITestBase::doTestAuthoringInfo in core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php
Tests the translation authoring information.
ContentTranslationUITestBase::doTestOutdatedStatus in core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php
Tests up-to-date status tracking.
ContentTranslationUITestBase::doTestTranslationOverview in core/modules/content_translation/src/Tests/ContentTranslationUITestBase.php
Tests that the translation overview shows the correct values.
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.
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.
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 Quick Edit doesn't make fields rendered with display options editable.
RelationshipTest::testRelationshipRender in core/modules/views/tests/src/Kernel/Plugin/RelationshipTest.php
Tests rendering of a view with a relationship.
SearchTestBase::submitGetForm in core/modules/search/src/Tests/SearchTestBase.php
Simulates submission of a form using GET instead of POST.
SimpleTestTest::getResultFieldSet in core/modules/simpletest/src/Tests/SimpleTestTest.php
Get the details containing the results for group this test is in.
StyleGridTest::assertGrid in core/modules/views/tests/src/Kernel/Plugin/StyleGridTest.php
Generates a grid and asserts that it is displaying correctly.
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.
TourTestBase::assertTourTips in core/modules/tour/src/Tests/TourTestBase.php
Assert function to determine if tips rendered to the page have a corresponding page element.
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 a view element, using the embed display plugin.
WebTestBase::checkForMetaRefresh in core/modules/simpletest/src/WebTestBase.php
Checks for meta refresh tag and if found call drupalGet() recursively.
WebTestBase::clickLinkHelper in core/modules/simpletest/src/WebTestBase.php
Provides a helper for ::clickLink() and ::clickLinkPartialName().
WebTestBase::drupalPostAjaxForm in core/modules/simpletest/src/WebTestBase.php
Executes an Ajax form submission.
WebTestBase::drupalPostForm in core/modules/simpletest/src/WebTestBase.php
Executes a form submission.
WebTestBase::findBlockInstance in core/modules/simpletest/src/WebTestBase.php
Find a block instance on the page.