106 calls to AssertLegacyTrait::assertFieldByName() in Drupal 8
- AggregatorAdminTest::testSettingsPage in core/
modules/ aggregator/ tests/ src/ Functional/ AggregatorAdminTest.php - Tests the settings form to ensure the correct default values are used.
- ArbitraryRebuildTest::testUserRegistrationMultipleField in core/
modules/ system/ tests/ src/ Functional/ Form/ ArbitraryRebuildTest.php - Tests a rebuild caused by a multiple value field.
- ArbitraryRebuildTest::testUserRegistrationRebuild in core/
modules/ system/ tests/ src/ Functional/ Form/ ArbitraryRebuildTest.php - Tests a basic rebuild with the user registration form.
- AreaEntityUITest::testUI in core/
modules/ views_ui/ tests/ src/ Functional/ AreaEntityUITest.php - BlockContentListViewsTest::testListing in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentListViewsTest.php - Tests the custom block listing page.
- BlockUiTest::testMachineNameSuggestion in core/
modules/ block/ tests/ src/ Functional/ BlockUiTest.php - Tests that the BlockForm populates machine name correctly.
- BooleanFieldTest::testBooleanField in core/
modules/ field/ tests/ src/ Functional/ Boolean/ BooleanFieldTest.php - Tests boolean field.
- BooleanFieldTest::testFormAccess in core/
modules/ field/ tests/ src/ Functional/ Boolean/ BooleanFieldTest.php - Test field access.
- BrowserTestBaseTest::testFieldAssertsForButton in core/
tests/ Drupal/ FunctionalTests/ BrowserTestBaseTest.php - Tests legacy field asserts for button field type.
- BrowserTestBaseTest::testFieldAssertsForCheckbox in core/
tests/ Drupal/ FunctionalTests/ BrowserTestBaseTest.php - Tests legacy field asserts for checkbox field type.
- BrowserTestBaseTest::testFieldAssertsForTextfields in core/
tests/ Drupal/ FunctionalTests/ BrowserTestBaseTest.php - Tests legacy field asserts using textfields.
- 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.
- CommentAnonymousTest::testAnonymous in core/
modules/ comment/ tests/ src/ Functional/ CommentAnonymousTest.php - Tests anonymous comment functionality.
- CommentNonNodeTest::postComment in core/
modules/ comment/ tests/ src/ Functional/ CommentNonNodeTest.php - Posts a comment.
- CommentNonNodeTest::testCommentFunctionality in core/
modules/ comment/ tests/ src/ Functional/ CommentNonNodeTest.php - Tests anonymous comment functionality.
- CommentPreviewTest::testCommentEditPreviewSave in core/
modules/ comment/ tests/ src/ Functional/ CommentPreviewTest.php - Tests comment edit, preview, and save.
- CommentPreviewTest::testCommentPreview in core/
modules/ comment/ tests/ src/ Functional/ CommentPreviewTest.php - Tests comment preview.
- CommentPreviewTest::testCommentPreviewDuplicateSubmission in core/
modules/ comment/ tests/ src/ Functional/ CommentPreviewTest.php - Tests comment preview.
- CommentTestBase::postComment in core/
modules/ comment/ tests/ src/ Functional/ CommentTestBase.php - Posts a comment.
- ConfigEntityTest::testCRUDUI in core/
modules/ config/ tests/ src/ Functional/ ConfigEntityTest.php - Tests CRUD operations through the UI.
- ConfigExportImportUITest::testExportImport in core/
modules/ config/ tests/ src/ Functional/ ConfigExportImportUITest.php - Tests a simple site export import case.
- ConfigTest::testFileConfigurationPage in core/
modules/ system/ tests/ src/ Functional/ File/ ConfigTest.php - Tests file configuration page.
- ConfigTranslationUiTest::testContactConfigEntityTranslation in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationUiTest.php - Tests the contact form translation.
- ConfigTranslationUiTest::testPluralConfigStrings in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationUiTest.php - Test translation of plural strings with multiple plural forms in config.
- ConfigTranslationUiTest::testSiteInformationTranslationUi in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationUiTest.php - Tests the site information translation interface.
- ConfigTranslationUiTest::testViewsTranslationUI in core/
modules/ config_translation/ tests/ src/ Functional/ ConfigTranslationUiTest.php - Tests the views translation interface.
- ContactSitewideTest::testSiteWideContact in core/
modules/ contact/ tests/ src/ Functional/ ContactSitewideTest.php - Tests configuration options and the site-wide contact form.
- ContentTranslationSettingsTest::testAccountLanguageSettingsUI in core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationSettingsTest.php - Tests the language settings checkbox on account settings page.
- DateRangeFieldTest::testAlldayRangeField in core/
modules/ datetime_range/ tests/ src/ Functional/ DateRangeFieldTest.php - Tests all-day field.
- 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.
- DateRangeFieldTest::testDefaultValue in core/
modules/ datetime_range/ tests/ src/ Functional/ DateRangeFieldTest.php - Test default value functionality.
- DateRangeFieldTest::testInvalidField in core/
modules/ datetime_range/ tests/ src/ Functional/ DateRangeFieldTest.php - Test that invalid values are caught and marked as invalid.
- DateTimeFieldTest::testDateField in core/
modules/ datetime/ tests/ src/ Functional/ DateTimeFieldTest.php - Tests date field functionality.
- DateTimeFieldTest::testDatetimeField in core/
modules/ datetime/ tests/ src/ Functional/ DateTimeFieldTest.php - Tests date and time field.
- DateTimeFieldTest::testDefaultValue in core/
modules/ datetime/ tests/ src/ Functional/ DateTimeFieldTest.php - Test default value functionality.
- DateTimeFieldTest::testInvalidField in core/
modules/ datetime/ tests/ src/ Functional/ DateTimeFieldTest.php - Test that invalid values are caught and marked as invalid.
- DisplayTest::testLinkDisplay in core/
modules/ views_ui/ tests/ src/ Functional/ DisplayTest.php - Tests the link-display setting.
- EmailFieldTest::testEmailField in core/
modules/ field/ tests/ src/ Functional/ Email/ EmailFieldTest.php - Tests email field.
- EntityReferenceAdminTest::testFieldAdminHandler in core/
modules/ field/ tests/ src/ FunctionalJavascript/ EntityReference/ EntityReferenceAdminTest.php - Tests the Entity Reference Admin UI.
- EntityReferenceIntegrationTest::testSupportedEntityTypesAndWidgets in core/
modules/ field/ tests/ src/ Functional/ EntityReference/ EntityReferenceIntegrationTest.php - Tests the entity reference field with all its supported field widgets.
- ExposedFormTest::testExposedFilterPagination in core/
modules/ views/ tests/ src/ Functional/ Plugin/ ExposedFormTest.php - Tests the exposed form with a pager.
- ExposedFormUITest::testExposedAdminUi in core/
modules/ views_ui/ tests/ src/ Functional/ ExposedFormUITest.php - Tests the admin interface of exposed filter and sort items.
- FieldDefaultValueCallbackTest::testDefaultValueCallbackForm in core/
modules/ field/ tests/ src/ Functional/ FieldDefaultValueCallbackTest.php - FieldUITest::testHandlerUI in core/
modules/ field/ tests/ src/ Functional/ Views/ FieldUITest.php - Tests basic field handler settings in the UI.
- FilterAdminTest::testFilterAdmin in core/
modules/ filter/ tests/ src/ Functional/ FilterAdminTest.php - Tests filter administration functionality.
- FilterAdminTest::testFormatAdmin in core/
modules/ filter/ tests/ src/ Functional/ FilterAdminTest.php - Tests the format administration functionality.
- FilterBooleanWebTest::testFilterBooleanUI in core/
modules/ views_ui/ tests/ src/ Functional/ FilterBooleanWebTest.php - Tests the filter boolean UI.
- FilterDateTest::_testFilterDateUI in core/
modules/ views/ tests/ src/ Functional/ Handler/ FilterDateTest.php - Test date filter UI.
- FilterNumericWebTest::testFilterNumericUI in core/
modules/ views_ui/ tests/ src/ Functional/ FilterNumericWebTest.php - Tests the filter numeric UI.
- FilterUITest::testFilterInOperatorUi in core/
modules/ views_ui/ tests/ src/ Functional/ FilterUITest.php - Tests that an option for a filter is saved as expected from the UI.
- FormTest::testFieldFormMultipleWidget in core/
modules/ field/ tests/ src/ Functional/ FormTest.php - Tests widgets handling multiple values.
- FormTest::testFieldFormMultivalueWithRequiredRadio in core/
modules/ field/ tests/ src/ Functional/ FormTest.php - Tests widget handling of multiple required radios.
- FormTest::testFieldFormSingle in core/
modules/ field/ tests/ src/ Functional/ FormTest.php - FormTest::testFieldFormUnlimited in core/
modules/ field/ tests/ src/ Functional/ FormTest.php - FormTest::testHiddenField in core/
modules/ field/ tests/ src/ Functional/ FormTest.php - Tests hiding a field in a form.
- 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::testRequiredCheckboxesRadio in core/
modules/ system/ tests/ src/ Functional/ Form/ FormTest.php - Tests validation for required checkbox, select, and radio elements.
- ForumTest::testForumWithNewPost in core/
modules/ forum/ tests/ src/ Functional/ ForumTest.php - Tests a forum with a new post displays properly.
- ForumUninstallTest::testForumUninstallWithField in core/
modules/ forum/ tests/ src/ Functional/ ForumUninstallTest.php - Tests if forum module uninstallation properly deletes the field.
- HandlerTest::testRelationshipUI in core/
modules/ views/ tests/ src/ Functional/ Handler/ HandlerTest.php - Tests the relationship ui for field/filter/argument/relationship.
- HandlerTest::testUICRUD in core/
modules/ views_ui/ tests/ src/ Functional/ HandlerTest.php - Tests UI CRUD.
- ImageFieldDisplayTest::testImageFieldSettings in core/
modules/ image/ tests/ src/ Functional/ ImageFieldDisplayTest.php - Tests for image field settings.
- ImageStyleDeleteTest::testDelete in core/
modules/ image/ tests/ src/ Functional/ ImageStyleDeleteTest.php - Tests image style deletion.
- InstallerSiteConfigProfileTest::setUpSite in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerSiteConfigProfileTest.php - Final installer step: Configure site.
- LanguageNegotiationInfoTest::testInfoAlterations in core/
modules/ language/ tests/ src/ Functional/ LanguageNegotiationInfoTest.php - Tests alterations to language types/negotiation info.
- LinkFieldTest::testLinkTitle in core/
modules/ link/ tests/ src/ Functional/ LinkFieldTest.php - Tests the link title settings of a link field.
- LinkFieldTest::testURLValidation in core/
modules/ link/ tests/ src/ Functional/ LinkFieldTest.php - Tests link field URL validation.
- LocaleContentTest::testContentTypeLanguageConfiguration in core/
modules/ locale/ tests/ src/ Functional/ LocaleContentTest.php - Test if a content type can be set to multilingual and language is present.
- LocaleFileSystemFormTest::testFileConfigurationPage in core/
modules/ locale/ tests/ src/ Functional/ LocaleFileSystemFormTest.php - Tests translation directory settings on the file settings form.
- ManageDisplayTest::testNonInitializedFields in core/
modules/ field_ui/ tests/ src/ Functional/ ManageDisplayTest.php - Tests that fields with no explicit display settings do not break.
- MenuUiTest::doMenuLinkFormDefaultsTest in core/
modules/ menu_ui/ tests/ src/ Functional/ MenuUiTest.php - Ensures that the proper default values are set when adding a menu link
- MenuUiTest::doMenuTests in core/
modules/ menu_ui/ tests/ src/ Functional/ MenuUiTest.php - Tests menu functionality.
- MenuUiTest::testMenuQueryAndFragment in core/
modules/ menu_ui/ tests/ src/ Functional/ MenuUiTest.php - Adds and removes a menu link with a query string and fragment.
- ModerationFormTest::testModerationForm in core/
modules/ content_moderation/ tests/ src/ Functional/ ModerationFormTest.php - Tests the moderation form that shows on the latest version page.
- NestedFormTest::testNestedFieldForm in core/
modules/ field/ tests/ src/ Functional/ NestedFormTest.php - Tests Field API form integration within a subform.
- NodeEditFormTest::checkVariousAuthoredByValues in core/
modules/ node/ tests/ src/ Functional/ NodeEditFormTest.php - Checks that the "authored by" works correctly with various values.
- NodeEditFormTest::testNodeEdit in core/
modules/ node/ tests/ src/ Functional/ NodeEditFormTest.php - Checks node edit functionality.
- NumberFieldTest::testNumberDecimalField in core/
modules/ field/ tests/ src/ Functional/ Number/ NumberFieldTest.php - Test decimal field.
- NumberFieldTest::testNumberFloatField in core/
modules/ field/ tests/ src/ Functional/ Number/ NumberFieldTest.php - Test float field.
- NumberFieldTest::testNumberIntegerField in core/
modules/ field/ tests/ src/ Functional/ Number/ NumberFieldTest.php - Test integer field.
- NumericFormatPluralTest::testNumericFormatPlural in core/
modules/ views/ tests/ src/ Functional/ Plugin/ NumericFormatPluralTest.php - Test plural formatting setting on a numeric views handler.
- PageEditTest::testPageEdit in core/
modules/ block_content/ tests/ src/ Functional/ PageEditTest.php - Checks block edit functionality.
- PagePreviewTest::testPagePreview in core/
modules/ node/ tests/ src/ Functional/ PagePreviewTest.php - Checks the node preview functionality.
- PagePreviewTest::testPagePreviewWithRevisions in core/
modules/ node/ tests/ src/ Functional/ PagePreviewTest.php - Checks the node preview functionality, when using revisions.
- PagePreviewTest::testSimultaneousPreview in core/
modules/ node/ tests/ src/ Functional/ PagePreviewTest.php - Checks the node preview accessible for simultaneous node editing.
- PagerTest::testStorePagerSettings in core/
modules/ views/ tests/ src/ Functional/ Plugin/ PagerTest.php - Pagers was sometimes not stored.
- PreviewTest::testPreviewContextual in core/
modules/ views_ui/ tests/ src/ Functional/ PreviewTest.php - Tests contextual links in the preview form.
- PreviewTest::testPreviewUI in core/
modules/ views_ui/ tests/ src/ Functional/ PreviewTest.php - Tests arguments in the preview form.
- ReEnableModuleFieldTest::testReEnabledField in core/
modules/ field/ tests/ src/ Functional/ ReEnableModuleFieldTest.php - Test the behavior of a field module after being disabled and re-enabled.
- ResponsiveImageAdminUITest::testResponsiveImageAdmin in core/
modules/ responsive_image/ tests/ src/ Functional/ ResponsiveImageAdminUITest.php - Test responsive image administration functionality.
- RowUITest::testRowUI in core/
modules/ views_ui/ tests/ src/ Functional/ RowUITest.php - Tests changing the row plugin and changing some options of a row.
- ShortcutSetsTest::testShortcutSetEdit in core/
modules/ shortcut/ tests/ src/ Functional/ ShortcutSetsTest.php - Tests editing a shortcut set.
- StandardTest::testStandard in core/
profiles/ standard/ tests/ src/ Functional/ StandardTest.php - Tests Standard installation profile.
- StringFieldTest::_testTextfieldWidgets in core/
modules/ field/ tests/ src/ Functional/ String/ StringFieldTest.php - Helper function for testTextfieldWidgets().
- StyleUITest::testStyleUI in core/
modules/ views_ui/ tests/ src/ Functional/ StyleUITest.php - Tests changing the style plugin and changing some options of a style.
- TelephoneFieldTest::testTelephoneWidget in core/
modules/ telephone/ tests/ src/ Functional/ TelephoneFieldTest.php - Test to confirm the widget is setup.
- TextFieldTest::_testTextfieldWidgetsFormatted in core/
modules/ text/ tests/ src/ Functional/ TextFieldTest.php - Helper function for testTextfieldWidgetsFormatted().
- ThemeTest::testThemeSettings in core/
modules/ system/ tests/ src/ Functional/ System/ ThemeTest.php - Test the theme settings form.
- ThemeTest::testThemeSettingsLogo in core/
modules/ system/ tests/ src/ Functional/ System/ ThemeTest.php - Test the theme settings logo form.
- ToolkitSetupFormTest::testToolkitSetupForm in core/
tests/ Drupal/ FunctionalTests/ Image/ ToolkitSetupFormTest.php - Test Image toolkit setup form.
- UserEditTest::testUserEdit in core/
modules/ user/ tests/ src/ Functional/ UserEditTest.php - Test user edit page.
- UserPasswordResetTest::testUserResetPasswordTextboxFilled in core/
modules/ user/ tests/ src/ Functional/ UserPasswordResetTest.php - Prefill the text box on incorrect login via link to password reset page.
- ValidationTest::testValidate in core/
modules/ system/ tests/ src/ Functional/ Form/ ValidationTest.php - Tests #element_validate and #validate.
- ViewEditTest::testEditFormLanguageOptions in core/
modules/ views_ui/ tests/ src/ Functional/ ViewEditTest.php - Tests the language options on the views edit form.