50 calls to AssertLegacyTrait::assertFieldByXPath() in Drupal 8
- 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.
- 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.
- 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.
- 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.
- 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::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.
- 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.
- 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.
- 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.