65 calls to AssertLegacyTrait::assertFieldByXPath()
- AssertLegacyTrait::assertField in core/
tests/ Drupal/ FunctionalTests/ AssertLegacyTrait.php - Asserts that a field exists with the given name or ID.
- AssertLegacyTrait::assertFieldById in core/
tests/ Drupal/ FunctionalTests/ AssertLegacyTrait.php - Asserts that a field exists with the given ID and value.
- AssertLegacyTrait::assertFieldByName in core/
tests/ Drupal/ FunctionalTests/ AssertLegacyTrait.php - Asserts that a field exists with the given name and value.
- BlockContentCreationTest::testBlockContentCreationMultipleViewModes in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentCreationTest.php - Creates a "Basic page" block with multiple view modes.
- BlockContentListTest::testListing in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentListTest.php - Tests the custom block listing page.
- BlockContentListViewsTest::testListing in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentListViewsTest.php - Tests the custom block listing page.
- BlockHtmlTest::testHtml in core/
modules/ block/ tests/ src/ Functional/ BlockHtmlTest.php - Tests for valid HTML for a block.
- BlockTest::moveBlockToRegion in core/
modules/ block/ tests/ src/ Functional/ BlockTest.php - Moves a block to a given region via the UI and confirms the result.
- BrowserTestBaseTest::testXpathAsserts in core/
tests/ Drupal/ FunctionalTests/ BrowserTestBaseTest.php - Tests legacy field asserts which use xpath directly.
- CKEditorAdminTest::testExistingFormat in core/
modules/ ckeditor/ tests/ src/ Functional/ CKEditorAdminTest.php - Tests configuring a text editor for an existing text format.
- CKEditorAdminTest::testNewFormat in core/
modules/ ckeditor/ tests/ src/ Functional/ CKEditorAdminTest.php - Tests configuring a text editor for a new text format.
- CommentPreviewTest::testCommentPreview in core/
modules/ comment/ tests/ src/ Functional/ CommentPreviewTest.php - Tests comment preview.
- CommentThreadingTest::assertParentLink in core/
modules/ comment/ tests/ src/ Functional/ CommentThreadingTest.php - Asserts that the link to the specified parent comment is present.
- ConfigEntityListTest::testListUI in core/
modules/ config/ tests/ src/ Functional/ ConfigEntityListTest.php - Tests the listing UI.
- ConfigSingleImportExportTest::testExport in core/
modules/ config/ tests/ src/ Functional/ ConfigSingleImportExportTest.php - Tests exporting a single configuration file.
- ConfigTranslationUiTest::testAccountSettingsConfigurationTranslation in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationUiTest.php - Tests the account settings translation interface.
- ConfirmFormTest::testConfirmForm in core/
modules/ system/ tests/ src/ Functional/ Form/ ConfirmFormTest.php - ContentTranslationSettingsTest::testFieldTranslatableSettingsUI in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationSettingsTest.php - Tests that field setting depends on bundle translatability.
- ContentTranslationStandardFieldsTest::testFieldTranslatableArticle in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationStandardFieldsTest.php - Tests that translatable fields are being rendered.
- ContentTranslationUITestBase::doTestBasicTranslation in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationUITestBase.php - Tests the basic translation workflow.
- ContentTranslationUITestBase::doTestOutdatedStatus in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationUITestBase.php - Tests up-to-date status tracking.
- ContentTranslationUITestBase::doTestPublishedStatus in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationUITestBase.php - Tests the translation publishing status.
- DateRangeFieldTest::testAlldayRangeField in core/
modules/ datetime_range/ tests/ src/ Functional/ DateRangeFieldTest.php - Tests all-day field.
- DateRangeFieldTest::testDatelistWidget in core/
modules/ datetime_range/ tests/ src/ Functional/ DateRangeFieldTest.php - Tests Date Range List Widget functionality.
- DateRangeFieldTest::testDateRangeField in core/
modules/ datetime_range/ tests/ src/ Functional/ DateRangeFieldTest.php - Tests date field functionality.
- DateRangeFieldTest::testDatetimeRangeField in core/
modules/ datetime_range/ tests/ src/ Functional/ DateRangeFieldTest.php - Tests date and time field.
- DateTimeFieldTest::testDateField in core/
modules/ datetime/ tests/ src/ Functional/ DateTimeFieldTest.php - Tests date field functionality.
- DateTimeFieldTest::testDatelistWidget in core/
modules/ datetime/ tests/ src/ Functional/ DateTimeFieldTest.php - Tests Date List Widget functionality.
- DateTimeFieldTest::testDatetimeField in core/
modules/ datetime/ tests/ src/ Functional/ DateTimeFieldTest.php - Tests date and time field.
- DisplayFeedTest::checkFeedViewUi in core/
modules/ views_ui/ tests/ src/ Functional/ DisplayFeedTest.php - Checks views UI for a specific feed view.
- DisplayTest::testActionLinks in core/
modules/ views_ui/ tests/ src/ Functional/ DisplayTest.php - Tests the action links on the edit display UI.
- EditorLoadingTest::testLoading in core/
modules/ editor/ tests/ src/ Functional/ EditorLoadingTest.php - Tests loading of text editors.
- EntityReferenceAdminTest::testFieldAdminHandler in core/
modules/ field/ tests/ src/ FunctionalJavascript/ EntityReference/ EntityReferenceAdminTest.php - Tests the Entity Reference Admin UI.
- EntityReferenceAdminTest::testMultipleTargetBundles in core/
modules/ field/ tests/ src/ Functional/ EntityReference/ EntityReferenceAdminTest.php - Tests field settings for an entity reference field when the field has multiple target bundles and is set to auto-create the target entity.
- EntityReferenceAutoCreateTest::testAutoCreate in core/
modules/ field/ tests/ src/ Functional/ EntityReference/ EntityReferenceAutoCreateTest.php - Tests that the autocomplete input element appears and the creation of a new entity.
- ExposedFormUITest::testExposedAdminUi in core/
modules/ views_ui/ tests/ src/ Functional/ ExposedFormUITest.php - Tests the admin interface of exposed filter and sort items.
- FileFieldDisplayTest::testDefaultFileFieldDisplay in core/
modules/ file/ tests/ src/ Functional/ FileFieldDisplayTest.php - Tests default display of File Field.
- FileFieldDisplayTest::testDescriptionDefaultFileFieldDisplay in core/
modules/ file/ tests/ src/ Functional/ FileFieldDisplayTest.php - Tests description display of File Field.
- FileFieldWidgetTest::testPrivateFileSetting in core/
modules/ file/ tests/ src/ Functional/ FileFieldWidgetTest.php - Tests a file field with a "Private files" upload destination setting.
- FileFieldWidgetTest::testSingleValuedWidget in core/
modules/ file/ tests/ src/ Functional/ FileFieldWidgetTest.php - Tests upload and remove buttons for a single-valued File field.
- FileManagedFileElementTest::testManagedFile in core/
modules/ file/ tests/ src/ Functional/ FileManagedFileElementTest.php - Tests the managed_file element type.
- FilterFormatAccessTest::testFormatWidgetPermissions in core/
modules/ filter/ tests/ src/ Functional/ FilterFormatAccessTest.php - Tests editing a page using a disallowed text format.
- FormTest::testEmptySelect in core/
modules/ system/ tests/ src/ Functional/ Form/ FormTest.php - Tests a select element when #options is not set.
- FormTest::testFieldFormDefaultValue in core/
modules/ field/ tests/ src/ Functional/ FormTest.php - Tests field widget default values on entity forms.
- FormTest::testInputWithInvalidToken in core/
modules/ system/ tests/ src/ Functional/ Form/ FormTest.php - Tests that input is retained for safe elements even with an invalid token.
- FormTest::testRange in core/
modules/ system/ tests/ src/ Functional/ Form/ FormTest.php - Tests default value handling of #type 'range' elements.
- FormTest::testRequiredTextfieldNoTitle in core/
modules/ system/ tests/ src/ Functional/ Form/ FormTest.php - Tests validation for required textfield element without title.
- ImageFieldDefaultImagesTest::testDefaultImages in core/
modules/ image/ tests/ src/ Functional/ ImageFieldDefaultImagesTest.php - Tests CRUD for fields and field storages with default images.
- LanguageBlockSettingsVisibilityTest::testUnnecessaryLanguageSettingsVisibility in core/
modules/ language/ tests/ src/ Functional/ LanguageBlockSettingsVisibilityTest.php - LanguageBlockSettingsVisibilityTest::testUnnecessaryLanguageSettingsVisibility in core/
modules/ language/ tests/ src/ Functional/ LanguageBlockSettingsVisibilityTest.php - LanguageConfigurationTest::testLanguageConfiguration in core/
modules/ language/ tests/ src/ Functional/ LanguageConfigurationTest.php - Functional tests for adding, editing and deleting languages.
- LocaleContentTest::testMachineNameLTR in core/
modules/ locale/ tests/ src/ Functional/ LocaleContentTest.php - Verifies that machine name fields are always LTR.
- ManageFieldsFunctionalTest::cardinalitySettings in core/
modules/ field_ui/ tests/ src/ Functional/ ManageFieldsFunctionalTest.php - Tests the cardinality settings of a field.
- ManageFieldsFunctionalTest::testHiddenFields in core/
modules/ field_ui/ tests/ src/ Functional/ ManageFieldsFunctionalTest.php - Tests that Field UI respects the 'no_ui' flag in the field type definition.
- ModulesListFormWebTest::testModuleListForm in core/
modules/ system/ tests/ src/ Functional/ Form/ ModulesListFormWebTest.php - Tests the module list form.
- NodeSyndicateBlockTest::testSyndicateBlock in core/
modules/ node/ tests/ src/ Functional/ NodeSyndicateBlockTest.php - Tests that the "Syndicate" block is shown when enabled.
- NumberFieldTest::testNumberIntegerField in core/
modules/ field/ tests/ src/ Functional/ Number/ NumberFieldTest.php - Test integer field.
- PagerTest::testStorePagerSettings in core/
modules/ views/ tests/ src/ Functional/ Plugin/ PagerTest.php - Pagers was sometimes not stored.
- PathAliasTest::testDuplicateNodeAlias in core/
modules/ path/ tests/ src/ Functional/ PathAliasTest.php - Tests that duplicate aliases fail validation.
- PrepareUninstallTest::testUninstall in core/
modules/ system/ tests/ src/ Functional/ Module/ PrepareUninstallTest.php - Tests that Node and Taxonomy can be uninstalled.
- ShortcutSetsTest::testShortcutSetSwitchNoSetName in core/
modules/ shortcut/ tests/ src/ Functional/ ShortcutSetsTest.php - Tests switching a user's shortcut set without providing a new set name.
- TaggedWithTest::testTaggedWithByNodeType in core/
modules/ views/ tests/ src/ Functional/ Wizard/ TaggedWithTest.php - Tests that the "tagged with" form element only shows for node types that support it.
- UserAdminLanguageTest::testUserAdminLanguageConfigurationAvailableIfAdminLanguageNegotiationIsEnabled in core/
modules/ user/ tests/ src/ Functional/ UserAdminLanguageTest.php - Tests that the admin language is configurable only for administrators.
- UserAdminLanguageTest::testUserAdminLanguageConfigurationAvailableWithAdminLanguageNegotiation in core/
modules/ user/ tests/ src/ Functional/ UserAdminLanguageTest.php - Tests that admin language negotiation is configurable only if enabled.
- UserCreateTest::testUserAdd in core/
modules/ user/ tests/ src/ Functional/ UserCreateTest.php - Create a user through the administration interface and ensure that it displays in the user list.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.