Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
WebTestBase.php
»
WebTestBase
»
WebTestBase::assertFieldByXPath
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
31 calls to WebTestBase::assertFieldByXPath()
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::testCustomBlockFormat
in drupal/
core/
modules/
block/
lib/
Drupal/
block/
Tests/
BlockTest.php
Test creating custom block using Full HTML.
CommentPreviewTest::testCommentPreview
in drupal/
core/
modules/
comment/
lib/
Drupal/
comment/
Tests/
CommentPreviewTest.php
Tests comment preview.
ElementsTableSelectTest::testAdvancedSelect
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
ElementsTableSelectTest.php
Test the #js_select property.
ElementsTableSelectTest::testMultipleFalse
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
ElementsTableSelectTest.php
Test the display of radios when #multiple is FALSE.
ElementsTableSelectTest::testMultipleTrue
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
ElementsTableSelectTest.php
Test the display of checkboxes when #multiple is TRUE.
EntityTranslationUITest::testTranslationUI
in drupal/
core/
modules/
translation_entity/
lib/
Drupal/
translation_entity/
Tests/
EntityTranslationUITest.php
Tests the basic translation UI.
FieldUiTestBase::fieldUIAddExistingField
in drupal/
core/
modules/
field_ui/
lib/
Drupal/
field_ui/
Tests/
FieldUiTestBase.php
Adds an existing field through the Field UI.
FieldUiTestBase::fieldUIAddNewField
in drupal/
core/
modules/
field_ui/
lib/
Drupal/
field_ui/
Tests/
FieldUiTestBase.php
Creates a new field through the Field UI.
FilterFormatAccessTest::testFormatWidgetPermissions
in drupal/
core/
modules/
filter/
lib/
Drupal/
filter/
Tests/
FilterFormatAccessTest.php
Tests editing a page using a disallowed text format.
FormTest::testRange
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
FormTest.php
Tests default value handling of #type 'range' elements.
FormTest::testRequiredTextfieldNoTitle
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Form/
FormTest.php
Tests validation for required textfield element without title.
ForumTest::testForum
in drupal/
core/
modules/
forum/
lib/
Drupal/
forum/
Tests/
ForumTest.php
Tests forum functionality through the admin and user interfaces.
LanguageConfigurationTest::testLanguageConfiguration
in drupal/
core/
modules/
language/
lib/
Drupal/
language/
Tests/
LanguageConfigurationTest.php
Functional tests for adding, editing and deleting languages.
LanguageNegotiationInfoTest::testInfoAlterations
in drupal/
core/
modules/
language/
lib/
Drupal/
language/
Tests/
LanguageNegotiationInfoTest.php
Tests alterations to language types/negotiation info.
ManageFieldsTest::cardinalitySettings
in drupal/
core/
modules/
field_ui/
lib/
Drupal/
field_ui/
Tests/
ManageFieldsTest.php
Tests the cardinality settings of a field.
ManageFieldsTest::testHiddenFields
in drupal/
core/
modules/
field_ui/
lib/
Drupal/
field_ui/
Tests/
ManageFieldsTest.php
Tests that Field UI respects the 'no_ui' option in
hook_field_info
().
MultiFormTest::testMultiForm
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Ajax/
MultiFormTest.php
Tests that pages with the 'page_node_form' included twice work correctly.
OptionsWidgetsTest::testOnOffCheckbox
in drupal/
core/
modules/
field/
modules/
options/
lib/
Drupal/
options/
Tests/
OptionsWidgetsTest.php
Tests the 'options_onoff' widget.
PathAliasTest::testDuplicateNodeAlias
in drupal/
core/
modules/
path/
lib/
Drupal/
path/
Tests/
PathAliasTest.php
Tests that duplicate aliases fail validation.
RenderTest::assertRenderedElement
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Common/
RenderTest.php
Tests that elements are rendered properly.
RequiredTest::testDisableRequired
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Tests/
Module/
RequiredTest.php
Assert that core required modules cannot be disabled.
SearchLanguageTest::testLanguages
in drupal/
core/
modules/
search/
lib/
Drupal/
search/
Tests/
SearchLanguageTest.php
TextTranslationTest::testTextField
in drupal/
core/
modules/
field/
modules/
text/
lib/
Drupal/
text/
Tests/
TextTranslationTest.php
Test that a plaintext textfield widget is correctly populated.
TextTranslationTest::testTextFieldFormatted
in drupal/
core/
modules/
field/
modules/
text/
lib/
Drupal/
text/
Tests/
TextTranslationTest.php
Check that user that does not have access the field format cannot see the source value when creating a translation.
TranslationTest::createTranslation
in drupal/
core/
modules/
translation/
lib/
Drupal/
translation/
Tests/
TranslationTest.php
Creates a translation for a basic page in the specified language.
TranslationTest::testContentTranslation
in drupal/
core/
modules/
translation/
lib/
Drupal/
translation/
Tests/
TranslationTest.php
Creates, modifies, and updates a basic page with a translation.
UserCreateTest::testUserAdd
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Tests/
UserCreateTest.php
Create a user through the administration interface and ensure that it displays in the user list.
WebTestBase::assertField
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Asserts that a field exists with the given name or id.
WebTestBase::assertFieldById
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Asserts that a field exists in the current page with the given id and value.
WebTestBase::assertFieldByName
in drupal/
core/
modules/
simpletest/
lib/
Drupal/
simpletest/
WebTestBase.php
Asserts that a field exists in the current page with the given name and value.