30 calls to AssertLegacyTrait::assertOptionSelected()

AssertLegacyTraitTest::testAssertOptionSelected in core/tests/Drupal/Tests/Core/Assert/AssertLegacyTraitTest.php
@covers ::assertOptionSelected
AssertLegacyTraitTest::testAssertOptionSelectedFail in core/tests/Drupal/Tests/Core/Assert/AssertLegacyTraitTest.php
@covers ::assertOptionSelected
BlockUiTest::testBlockAdminUiPage in core/modules/block/tests/src/Functional/BlockUiTest.php
Test block admin page exists and functions correctly.
BookTest::testBookOutline in core/modules/book/tests/src/Functional/BookTest.php
Tests outline of a book.
BrowserTestBaseTest::testFieldAssertsForOptions in core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
Tests legacy field asserts for options field type.
DateRangeFieldTest::testDatelistWidget in core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php
Tests Date Range List Widget functionality.
DateRangeFieldTest::testDefaultValue in core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php
Test default value functionality.
DateTimeFieldTest::testDatelistWidget in core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php
Tests Date List Widget functionality.
DateTimeFieldTest::testDefaultValue in core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php
Test default value functionality.
ExposedFormTest::testExposedBlock in core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php
Tests the exposed block functionality.
FieldUITest::testHandlerUI in core/modules/field/tests/src/Functional/Views/FieldUITest.php
Tests basic field handler settings in the UI.
FilterFormTest::assertOptions in core/modules/filter/tests/src/Functional/FilterFormTest.php
Asserts that a select element has the correct options.
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.
HandlerTest::testRelationshipUI in core/modules/views/tests/src/Functional/Handler/HandlerTest.php
Tests the relationship ui for field/filter/argument/relationship.
LanguageConfigurationElementTest::testDefaultLangcode in core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php
Tests that the language_get_default_langcode() returns the correct values.
LanguageConfigurationElementTest::testLanguageConfigurationElement in core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php
Tests the language settings have been saved.
MenuLinkTest::testHierarchicalMenuLinkVisibility in core/modules/views/tests/src/Functional/Plugin/MenuLinkTest.php
Test that menu links using menu_link_content as parent are visible.
MenuUiLanguageTest::testMenuLanguage in core/modules/menu_ui/tests/src/Functional/MenuUiLanguageTest.php
Tests menu language settings and the defaults for menu link items.
NodeTypeInitialLanguageTest::testLanguageFieldVisibility in core/modules/node/tests/src/Functional/NodeTypeInitialLanguageTest.php
Tests language field visibility features.
NodeTypeInitialLanguageTest::testNodeTypeInitialLanguageDefaults in core/modules/node/tests/src/Functional/NodeTypeInitialLanguageTest.php
Tests the node type initial language defaults, and modifies them.
TermLanguageTest::testDefaultTermLanguage in core/modules/taxonomy/tests/src/Functional/TermLanguageTest.php
TermLanguageTest::testTermLanguage in core/modules/taxonomy/tests/src/Functional/TermLanguageTest.php
UpdatePathRC1TestBaseFilledTest::testUpdatedSite in core/modules/system/tests/src/Functional/Update/UpdatePathRC1TestBaseFilledTest.php
Tests that the content and configuration were properly updated.
UpdatePathTestBaseFilledTest::testUpdatedSite in core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php
Tests that the content and configuration were properly updated.
UserLanguageCreationTest::testLocalUserCreation in core/modules/user/tests/src/Functional/UserLanguageCreationTest.php
Functional test for language handling during user creation.
UserLanguageTest::testUserLanguageConfiguration in core/modules/user/tests/src/Functional/UserLanguageTest.php
Test if user can change their default language.
UserPermissionsTest::testAdministratorRole in core/modules/user/tests/src/Functional/UserPermissionsTest.php
Test assigning of permissions for the administrator role.
VocabularyLanguageTest::testVocabularyDefaultLanguageForTerms in core/modules/taxonomy/tests/src/Functional/VocabularyLanguageTest.php
Tests term language settings for vocabulary terms are saved and updated.
VocabularyLanguageTest::testVocabularyLanguage in core/modules/taxonomy/tests/src/Functional/VocabularyLanguageTest.php
Tests language settings for vocabularies.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.