You are here

131 calls to BrowserTestBase::xpath() in Drupal 9

AreaTest::testRenderAreaToken in core/modules/views/tests/src/Functional/Handler/AreaTest.php
Tests global tokens.
BigPipeTest::assertBigPipePlaceholders in core/modules/big_pipe/tests/src/Functional/BigPipeTest.php
Asserts expected BigPipe placeholders are present and replaced.
BlockContentIntegrationTest::assertIds in core/modules/block_content/tests/src/Functional/Views/BlockContentIntegrationTest.php
Ensures that a list of block_contents appear on the page.
BlockHtmlTest::testHtml in core/modules/block/tests/src/Functional/BlockHtmlTest.php
Tests for valid HTML for a block.
BlockLanguageTest::testLanguageBlockVisibilityLanguageDelete in core/modules/block/tests/src/Functional/BlockLanguageTest.php
Tests if the visibility settings are removed if the language is deleted.
BlockSystemBrandingTest::testSystemBrandingSettings in core/modules/block/tests/src/Functional/BlockSystemBrandingTest.php
Tests system branding block configuration.
BlockUiTest::testBlockAdminUiPage in core/modules/block/tests/src/Functional/BlockUiTest.php
Tests block admin page exists and functions correctly.
BlockUiTest::testBlockValidateErrors in core/modules/block/tests/src/Functional/BlockUiTest.php
Tests if validation errors are passed plugin form to the parent form.
BlockUiTest::testCandidateBlockList in core/modules/block/tests/src/Functional/BlockUiTest.php
Tests the block categories on the listing page.
BlockUiTest::testContextAwareBlocks in core/modules/block/tests/src/Functional/BlockUiTest.php
Tests the behavior of context-aware blocks.
BookBreadcrumbTest::testBreadcrumbAccessUpdates in core/modules/book/tests/src/Functional/BookBreadcrumbTest.php
Tests that the breadcrumb is updated when book access changes.
BookBreadcrumbTest::testBreadcrumbTitleUpdates in core/modules/book/tests/src/Functional/BookBreadcrumbTest.php
Tests that the breadcrumb is updated when book content changes.
BreadcrumbTest::testBreadCrumbs in core/modules/system/tests/src/Functional/Menu/BreadcrumbTest.php
Tests breadcrumbs on node and administrative paths.
BrowserTestBaseTest::testAssertFieldsByValue in core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
Tests legacy assertFieldsByValue().
CheckboxTest::testFormCheckbox in core/modules/system/tests/src/Functional/Form/CheckboxTest.php
CommentCSSTest::testCommentClasses in core/modules/comment/tests/src/Functional/CommentCSSTest.php
Tests CSS classes on comments.
CommentInterfaceTest::testCommentInterface in core/modules/comment/tests/src/Functional/CommentInterfaceTest.php
Tests the comment interface.
CommentNewIndicatorTest::testCommentNewCommentsIndicator in core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php
Tests new comment marker.
CommentPagerTest::assertCommentOrder in core/modules/comment/tests/src/Functional/CommentPagerTest.php
Asserts that the comments are displayed in the correct order.
CommentPagerTest::clickLinkWithXPath in core/modules/comment/tests/src/Functional/CommentPagerTest.php
Follows a link found at a give xpath query.
CommentPreviewTest::testCommentPreviewDuplicateSubmission in core/modules/comment/tests/src/Functional/CommentPreviewTest.php
Tests comment preview.
CommentRowTest::testCommentRow in core/modules/comment/tests/src/Functional/Views/CommentRowTest.php
Tests comment row.
ConfigDraggableListBuilderTest::testDraggableList in core/modules/config/tests/src/Functional/ConfigDraggableListBuilderTest.php
Tests draggable lists.
ConfigImportUITest::testImportDiff in core/modules/config/tests/src/Functional/ConfigImportUITest.php
Tests the screen that shows differences between active and sync.
ConfirmFormTest::assertCancelLinkUrl in core/modules/system/tests/src/Functional/Form/ConfirmFormTest.php
Asserts that a cancel link is present pointing to the provided URL.
ContactSitewideTest::testSiteWideContact in core/modules/contact/tests/src/Functional/ContactSitewideTest.php
Tests configuration options and the site-wide contact form.
ContentTranslationLinkTagTest::testCanonicalAlternateTags in core/modules/content_translation/tests/src/Functional/ContentTranslationLinkTagTest.php
Tests alternate link tag found for entity types with canonical links.
ContentTranslationLinkTagTest::testCanonicalAlternateTagsMissing in core/modules/content_translation/tests/src/Functional/ContentTranslationLinkTagTest.php
Tests alternate link tag missing for entity types without canonical links.
ContentTranslationSettingsTest::testSettingsUI in core/modules/content_translation/tests/src/Functional/ContentTranslationSettingsTest.php
Tests that the settings UI works as expected.
ContentTranslationUITestBase::doTestOutdatedStatus in core/modules/content_translation/tests/src/Functional/ContentTranslationUITestBase.php
Tests up-to-date status tracking.
ContentTranslationUntranslatableFieldsTest::testHiddenWidgets in core/modules/content_translation/tests/src/Functional/ContentTranslationUntranslatableFieldsTest.php
Tests that hiding untranslatable field widgets works correctly.
DateRangeFieldTest::testDateStorageSettings in core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php
Tests that 'Date' field storage setting form is disabled if field has data.
DateTimeFieldTest::testDateStorageSettings in core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php
Tests that 'Date' field storage setting form is disabled if field has data.
DbLogTest::doUser in core/modules/dblog/tests/src/Functional/DbLogTest.php
Generates and then verifies some user events.
DbLogTest::getLogsEntriesTable in core/modules/dblog/tests/src/Functional/DbLogTest.php
Find the Logs table in the DOM.
DbLogTest::test403LogEventPage in core/modules/dblog/tests/src/Functional/DbLogTest.php
Tests that a 403 event is logged with the exception triggering it.
DbLogViewsTest::getLogsEntriesTable in core/modules/dblog/tests/src/Functional/DbLogViewsTest.php
Find the Logs table in the DOM.
DefaultMetatagsTest::testMetaTag in core/modules/system/tests/src/Functional/Page/DefaultMetatagsTest.php
Tests meta tags.
DefaultViewsTest::clickViewsOperationLink in core/modules/views_ui/tests/src/Functional/DefaultViewsTest.php
Click a link to perform an operation on a view.
DefaultViewsTest::testSplitListing in core/modules/views_ui/tests/src/Functional/DefaultViewsTest.php
Tests that enabling views moves them to the correct table.
DialogTest::testDialog in core/tests/Drupal/FunctionalJavascriptTests/Ajax/DialogTest.php
Tests sending non-JS and AJAX requests to open and manipulate modals.
DisabledDisplayTest::testDisabledDisplays in core/modules/views/tests/src/Functional/Plugin/DisabledDisplayTest.php
Tests that views displays can be disabled.
DisplayCRUDTest::testDefaultDisplay in core/modules/views_ui/tests/src/Functional/DisplayCRUDTest.php
Tests that the correct display is loaded by default.
DisplayFeedTest::checkFeedViewUi in core/modules/views_ui/tests/src/Functional/DisplayFeedTest.php
Checks views UI for a specific feed view.
DisplayFeedTest::testDisabledFeed in core/modules/views/tests/src/Functional/Plugin/DisplayFeedTest.php
Tests that nothing is output when the feed display is disabled.
DisplayTest::testDisplayPlugin in core/modules/views/tests/src/Functional/Plugin/DisplayTest.php
Tests the display test plugin.
DisplayTest::testReorderDisplay in core/modules/views_ui/tests/src/Functional/DisplayTest.php
Tests reordering of displays.
EditorLoadingTest::getThingsToCheck in core/modules/editor/tests/src/Functional/EditorLoadingTest.php
ElementsTableSelectTest::testMultipleFalse in core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php
Tests the display of radios when #multiple is FALSE.
ElementsTableSelectTest::testMultipleTrue in core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php
Tests the display of checkboxes when #multiple is TRUE.
ElementsTableSelectTest::testTableSelectColSpan in core/modules/system/tests/src/Functional/Form/ElementsTableSelectTest.php
Tests the display when #colspan is set.
ElementTest::testButtonClasses in core/modules/system/tests/src/Functional/Form/ElementTest.php
Tests button classes.
ElementTest::testOptions in core/modules/system/tests/src/Functional/Form/ElementTest.php
Tests expansion of #options for #type checkboxes and radios.
ElementTest::testWrapperIds in core/modules/system/tests/src/Functional/Form/ElementTest.php
Tests wrapper ids for checkboxes and radios.
ExposedFormTest::testExposedBlock in core/modules/views/tests/src/Functional/Plugin/ExposedFormTest.php
Tests the exposed block functionality.
FieldUITest::testFieldUI in core/modules/views_ui/tests/src/Functional/FieldUITest.php
Tests the UI of field handlers.
FieldWebTest::clickSortLoadIdsFromOutput in core/modules/views/tests/src/Functional/Handler/FieldWebTest.php
Small helper function to get all ids in the output.
FileFieldWidgetTest::testMultiValuedWidget in core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetTest.php
Tests upload and remove buttons for multiple multi-valued File fields.
FileFieldWidgetTest::testMultiValuedWidget in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Tests upload and remove buttons for multiple multi-valued File fields.
FileFieldWidgetTest::testWidgetElement in core/modules/file/tests/src/Functional/FileFieldWidgetTest.php
Tests file widget element.
FileListingTest::testFileListingPages in core/modules/file/tests/src/Functional/FileListingTest.php
Tests file overview with different user permissions.
FilterAdminTest::testFilterAdmin in core/modules/filter/tests/src/Functional/FilterAdminTest.php
Tests filter administration functionality.
FilterBooleanWebTest::testFilterBooleanUI in core/modules/views_ui/tests/src/Functional/FilterBooleanWebTest.php
Tests the filter boolean UI.
FilterHtmlImageSecureTest::testImageSource in core/modules/filter/tests/src/Functional/FilterHtmlImageSecureTest.php
Tests removal of images having a non-local source.
FilterNumericWebTest::testFilterNumericUI in core/modules/views_ui/tests/src/Functional/FilterNumericWebTest.php
Tests the filter numeric UI.
FormObjectTest::testObjectFormCallback in core/modules/system/tests/src/Functional/Form/FormObjectTest.php
Tests using an object as the form callback.
FormTest::testDisabledElements in core/modules/system/tests/src/Functional/Form/FormTest.php
Tests handling of disabled elements.
FormTest::testDisabledMarkup in core/modules/system/tests/src/Functional/Form/FormTest.php
Verify markup for disabled form elements.
FormTest::testFieldFormUnlimited in core/modules/field/tests/src/Functional/FormTest.php
FormTest::testFieldFormUnlimitedRequired in core/modules/field/tests/src/Functional/FormTest.php
Tests the position of the required label.
FormTest::testRequiredCheckboxesRadio in core/modules/system/tests/src/Functional/Form/FormTest.php
Tests validation for required checkbox, select, and radio elements.
ForumTest::doAdminTests in core/modules/forum/tests/src/Functional/ForumTest.php
Runs admin tests on the admin user.
ForumTest::testForum in core/modules/forum/tests/src/Functional/ForumTest.php
Tests forum functionality through the admin and user interfaces.
HandlerTest::assertNoDuplicateField in core/modules/views_ui/tests/src/Functional/HandlerTest.php
Asserts that fields only appear once.
HtmlAttributesTest::testThemeHtmlAttributes in core/modules/system/tests/src/Functional/Theme/HtmlAttributesTest.php
Tests that attributes in the 'html' and 'body' elements can be altered.
HtmlResponseAttachmentsTest::assertFeed in core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php
Helper function to make assertions about the presence of an RSS feed.
HtmlResponseAttachmentsTest::assertHead in core/modules/system/tests/src/Functional/Render/HtmlResponseAttachmentsTest.php
Helper function to make assertions about HTML head elements.
ImageAdminStylesTest::testEditEffect in core/modules/image/tests/src/Functional/ImageAdminStylesTest.php
Verifies that editing an image effect does not cause it to be duplicated.
ImageFieldDisplayTest::_testImageFieldFormatters in core/modules/image/tests/src/Functional/ImageFieldDisplayTest.php
Tests image formatters on node display.
LanguageSwitchingTest::doTestLanguageBlockAnonymous in core/modules/language/tests/src/Functional/LanguageSwitchingTest.php
For anonymous users, the "active" class is set by PHP.
LanguageSwitchingTest::doTestLanguageBlockAuthenticated in core/modules/language/tests/src/Functional/LanguageSwitchingTest.php
For authenticated users, the "active" class is set by JavaScript.
LanguageSwitchingTest::testLanguageBodyClass in core/modules/language/tests/src/Functional/LanguageSwitchingTest.php
Check the path-admin class, as same as on default language.
LocalActionTest::assertLocalAction in core/modules/system/tests/src/Functional/Menu/LocalActionTest.php
Asserts local actions in the page output.
LocalTasksTest::assertLocalTasks in core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php
Asserts local tasks in the page output.
LocalTasksTest::assertNoLocalTasks in core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php
Asserts that the local tasks on the specified level are not being printed.
LocalTasksTest::testPluginLocalTask in core/modules/system/tests/src/Functional/Menu/LocalTasksTest.php
Tests the plugin based local tasks.
ManageDisplayTest::assertFieldSelectOptions in core/modules/field_ui/tests/src/Functional/ManageDisplayTest.php
Checks if a select element contains the specified options.
ManageFieldsFunctionalTest::manageFieldsPage in core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php
Tests the manage fields page.
ManageFieldsFunctionalTest::testLockedField in core/modules/field_ui/tests/src/Functional/ManageFieldsFunctionalTest.php
Tests that Field UI respects locked fields.
MigrateControllerTest::clickViewsOperationsLink in core/modules/migrate_drupal_ui/tests/src/Functional/MigrateControllerTest.php
Clicks a view link to perform an operation.
ModeratedContentViewTest::testModeratedContentPage in core/modules/content_moderation/tests/src/Functional/ModeratedContentViewTest.php
Tests the moderated content page.
ModerationFormTest::testContentTranslationNodeForm in core/modules/content_moderation/tests/src/Functional/ModerationFormTest.php
Tests translated and moderated nodes.
ModerationLocaleTest::hasModerationForm in core/modules/content_moderation/tests/src/Functional/ModerationLocaleTest.php
Checks whether the page contains the moderation form.
NodeAccessBaseTableTest::assertTaxonomyPage in core/modules/node/tests/src/Functional/NodeAccessBaseTableTest.php
Checks taxonomy/term listings to ensure only accessible nodes are listed.
NodeAdminTest::testContentAdminPages in core/modules/node/tests/src/Functional/NodeAdminTest.php
Tests content overview with different user permissions.
NodeIntegrationTest::assertNids in core/modules/node/tests/src/Functional/Views/NodeIntegrationTest.php
Ensures that a list of nodes appear on the page.
NodeTranslationUITest::testTranslationRendering in core/modules/node/tests/src/Functional/NodeTranslationUITest.php
Tests that translations are rendered properly.
PagePreviewTest::testPagePreview in core/modules/node/tests/src/Functional/PagePreviewTest.php
Checks the node preview functionality.
PagerTest::assertPagerItems in core/modules/system/tests/src/Functional/Pager/PagerTest.php
Asserts pager items and links.
PagerTest::testPager in core/modules/views/tests/src/Functional/Wizard/PagerTest.php
Tests the pager option.
PageTitleTest::testRoutingTitle in core/modules/system/tests/src/Functional/System/PageTitleTest.php
Tests the page title of render arrays.
PathAliasTest::testNodeAlias in core/modules/path/tests/src/Functional/PathAliasTest.php
Tests alias functionality through the node interfaces.
PathTaxonomyTermTest::testTermAlias in core/modules/path/tests/src/Functional/PathTaxonomyTermTest.php
Tests alias functionality through the admin interfaces.
PreviewTest::testPreviewWithPagersUI in core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php
Tests pagers in the preview form.
RebuildTest::testPreserveFormActionAfterAJAX in core/modules/system/tests/src/FunctionalJavascript/Form/RebuildTest.php
Tests that a form's action is retained after an Ajax submission.
SearchBlockTest::testSearchFormBlock in core/modules/search/tests/src/Functional/SearchBlockTest.php
Tests that the search form block can be placed and works.
SearchConfigSettingsFormTest::testDefaultSearchPageOrdering in core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php
Tests the ordering of search pages on a clean install.
SearchConfigSettingsFormTest::testMultipleSearchPages in core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php
Tests multiple search pages of the same type.
SearchIntegrationTest::testSearchIntegration in core/modules/views/tests/src/Functional/SearchIntegrationTest.php
Tests search integration.
ShortcutLinksTest::assertShortcutQuickLink in core/modules/shortcut/tests/src/Functional/ShortcutLinksTest.php
Passes if a shortcut quick link with the specified label is found.
SiteMaintenanceTest::testSiteMaintenance in core/modules/system/tests/src/Functional/System/SiteMaintenanceTest.php
Verifies site maintenance mode functionality.
StyleTableTest::testAccessibilitySettings in core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php
Tests table caption/summary/description.
StyleTableTest::testEmptyColumn in core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php
Tests that empty columns are hidden when empty_column is set.
StyleTableTest::testFieldInColumns in core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php
Tests table fields in columns.
StyleTableTest::testGrouping in core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php
Tests grouping by a field.
StyleTableTest::testNumericFieldVisible in core/modules/views/tests/src/Functional/Plugin/StyleTableTest.php
Tests that a number with the value of "0" is displayed in the table.
SyslogTest::testSettings in core/modules/syslog/tests/src/Functional/SyslogTest.php
Tests the syslog settings page.
TaggedWithTest::testTaggedWithByViewReference in core/modules/views/tests/src/Functional/Wizard/TaggedWithTest.php
Tests that "tagged with" works with views entity reference.
TaxonomyFieldAllTermsTest::testViewsHandlerAllTermsField in core/modules/taxonomy/tests/src/Functional/Views/TaxonomyFieldAllTermsTest.php
Tests the "all terms" field handler.
ThemeInfoTest::testStylesheets in core/modules/system/tests/src/Functional/Theme/ThemeInfoTest.php
Tests stylesheets-remove.
ThemeTest::testPreprocessHtml in core/modules/system/tests/src/Functional/Theme/ThemeTest.php
Tests that the page variable is not prematurely flattened.
TrackerTest::assertHistoryMetadata in core/modules/tracker/tests/src/Functional/TrackerTest.php
Passes if the appropriate history metadata exists.
UpdatePathTestJavaScriptTest::doSelectionTest in core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestJavaScriptTest.php
Tests the selection page.
UserAccountLinksTest::testDisabledAccountLink in core/modules/user/tests/src/Functional/UserAccountLinksTest.php
Tests disabling the 'My account' link.
UserAdminListingTest::testUserListing in core/modules/user/tests/src/Functional/UserAdminListingTest.php
Tests the listing.
UserAdminTest::testUserAdmin in core/modules/user/tests/src/Functional/UserAdminTest.php
Registers a user and deletes it.
UserFieldsAccessChangeTest::testUserNameLink in core/modules/user/tests/src/Functional/Views/UserFieldsAccessChangeTest.php
Tests the user name formatter shows a link to the user when there is access but not otherwise.
UserPermissionsTest::testAccessContentPermission in core/modules/user/tests/src/Functional/UserPermissionsTest.php
Verify 'access content' is listed in the correct location.
ViewEditTest::testEditFormLanguageOptions in core/modules/views_ui/tests/src/Functional/ViewEditTest.php
Tests the language options on the views edit form.
ViewsListTest::testViewsListLimit in core/modules/views_ui/tests/src/Functional/ViewsListTest.php
Tests that the views list does not use a pager.
WorkflowUiTest::testSorting in core/modules/workflows/tests/src/Functional/WorkflowUiTest.php
Tests the sorting of states and transitions by weight and label.