Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
WebTestBase.php
»
WebTestBase
»
WebTestBase::buildXPathQuery
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
11 calls to WebTestBase::buildXPathQuery()
BlockTest::moveBlockToRegion
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockTest.php
Moves a block to a given region via the UI and confirms the result.
BlockTest::testBlock
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockTest.php
Test configuring and moving a module-define block to specific regions.
BlockTest::testBlockModuleDisable
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockTest.php
Tests blocks belonging to disabled modules.
BlockTestBase::moveBlockToRegion
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockTestBase.php
Moves a block to a given region via the UI and confirms the result.
EntityReferenceAdminTest::assertFieldSelectOptions
in drupal/
core/
modules/
entity_reference/
lib/
Drupal/
entity_reference/
Tests/
EntityReferenceAdminTest.php
FieldWebTest::xpathContent
in drupal/
core/
modules/
views/
lib/
Drupal/
views/
Tests/
Handler/
FieldWebTest.php
Performs an xpath search on a certain content.
ForumTest::testForum
in drupal/
core/
modules/
forum/
lib/
Drupal/
forum/
Tests/
ForumTest.php
Tests forum functionality through the admin and user interfaces.
MenuTestBase::assertBreadcrumb
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Menu/
MenuTestBase.php
Assert that a given path shows certain breadcrumb links.
RenderTest::assertRenderedElement
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
RenderTest.php
Tests that elements are rendered properly.
WebTestBase::constructFieldXpath
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Helper function: construct an XPath for the given set of attributes and value.
WebTestBase::xpath
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Perform an xpath search on the contents of the internal browser. The search is relative to the root element (HTML tag normally) of the page.