72 calls to BrowserTestBase::xpath()
- BlockContentIntegrationTest::assertIds in core/
modules/ block_content/ tests/ src/ Functional/ Views/ BlockContentIntegrationTest.php - Ensures that a list of block_contents appear on the page.
- BlockContentListViewsTest::testListing in core/
modules/ block_content/ tests/ src/ Functional/ BlockContentListViewsTest.php - Tests the content block listing page.
- BlockTest::testBlockTitle in core/
modules/ block/ tests/ src/ Functional/ BlockTest.php - Tests block title.
- BlockUiTest::testBlockDemoUiPage in core/
modules/ block/ tests/ src/ Functional/ BlockUiTest.php - Tests block demo page exists and functions correctly.
- 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.
- CheckboxTest::testFormCheckbox in core/
modules/ system/ tests/ src/ Functional/ Form/ CheckboxTest.php - ClaroTest::testPagerAttribute in core/
tests/ Drupal/ FunctionalTests/ Theme/ ClaroTest.php - Tests pager attribute is present using pager_test.
- 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.
- ConfigDraggableListBuilderTest::testDraggableList in core/
modules/ config/ tests/ src/ Functional/ ConfigDraggableListBuilderTest.php - Tests draggable lists.
- ContactSitewideTest::testSiteWideContact in core/
modules/ contact/ tests/ src/ Functional/ ContactSitewideTest.php - Tests configuration options and the site-wide contact form.
- 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.
- 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.
- DisplayFeedTest::checkFeedViewUi in core/
modules/ views_ui/ tests/ src/ Functional/ DisplayFeedTest.php - Checks views UI for a specific feed view.
- DisplayTest::testDisplayPlugin in core/
modules/ views/ tests/ src/ Functional/ Plugin/ DisplayTest.php - Tests the display test plugin.
- ElementTest::testOptions in core/
modules/ system/ tests/ src/ Functional/ Form/ ElementTest.php - Tests expansion of #options for #type checkboxes and radios.
- 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/ Functional/ FileFieldWidgetTest.php - Tests upload and remove buttons for multiple multi-valued File fields.
- FileFieldWidgetTest::testMultiValuedWidget in core/
modules/ file/ tests/ src/ FunctionalJavascript/ FileFieldWidgetTest.php - Tests upload and remove buttons for multiple multi-valued File fields.
- 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.
- FormTest::testDisabledElements in core/
modules/ system/ tests/ src/ Functional/ Form/ FormTest.php - Tests handling of disabled elements.
- FormTest::testRequiredCheckboxesRadio in core/
modules/ system/ tests/ src/ Functional/ Form/ FormTest.php - Tests validation for required checkbox, select, and radio elements.
- 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.
- JavascriptStatesTest::doCheckboxTriggerTests in core/
tests/ Drupal/ FunctionalJavascriptTests/ Core/ Form/ JavascriptStatesTest.php - Tests states of elements triggered by a checkbox element.
- LanguageSwitchingTest::doTestHomePageLinks in core/
modules/ language/ tests/ src/ Functional/ LanguageSwitchingTest.php - The home page link should be "/" or "/{language_prefix}".
- LanguageSwitchingTest::doTestLanguageBlock404 in core/
modules/ language/ tests/ src/ Functional/ LanguageSwitchingTest.php - Tests the language switcher block on 404 pages.
- 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.
- 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::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::testLockedField in core/
modules/ field_ui/ tests/ src/ Functional/ ManageFieldsFunctionalTest.php - Tests that Field UI respects locked fields.
- ManageFieldsLifecycleTest::manageFieldsPage in core/
modules/ field_ui/ tests/ src/ Functional/ ManageFieldsLifecycleTest.php - Tests the manage fields page.
- MediaTypeCreationTest::testMediaTypeCreationFormWithDefaultField in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaTypeCreationTest.php - Tests the media type creation form.
- MenuUiTest::addCustomMenuCRUD in core/
modules/ menu_ui/ tests/ src/ Functional/ MenuUiTest.php - Adds a custom menu using CRUD functions.
- MenuUiTest::doMenuTests in core/
modules/ menu_ui/ tests/ src/ Functional/ MenuUiTest.php - Tests menu functionality.
- MenuUiTest::verifyAddChildLink in core/
modules/ menu_ui/ tests/ src/ Functional/ MenuUiTest.php - Verifies that the "Add child" link selects the correct parent item.
- MigrateControllerTest::clickViewsOperationsLink in core/
modules/ migrate_drupal_ui/ tests/ src/ Functional/ MigrateControllerTest.php - Clicks a view link to perform an operation.
- MigrateMessageFormTest::getMessages in core/
modules/ migrate/ tests/ src/ Functional/ MigrateMessageFormTest.php - Gets the migrate messages.
- ModeratedContentViewTest::testModeratedContentPage in core/
modules/ content_moderation/ tests/ src/ Functional/ ModeratedContentViewTest.php - Tests the moderated content page.
- 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.
- NodeAccessJoinTest::testNodeAccessJoin in core/
modules/ node/ tests/ src/ Functional/ NodeAccessJoinTest.php - Tests the accessibility of joined nodes.
- 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.
- OliveroTest::testPagerAttribute in core/
tests/ Drupal/ FunctionalTests/ Theme/ OliveroTest.php - Tests pager attribute is present using pager_test.
- PagerTest::assertPagerItems in core/
modules/ system/ tests/ src/ Functional/ Pager/ PagerTest.php - Asserts pager items and links.
- PreviewTest::testPreviewTitle in core/
modules/ views_ui/ tests/ src/ Functional/ PreviewTest.php - Tests HTML is filtered from the view title when previewing.
- 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.
- RequirementsTest::testIsolationLevelWarningNotDisplaying in core/
modules/ mysql/ tests/ src/ Functional/ RequirementsTest.php - Test the isolation level warning message on status page.
- 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.
- StatusTest::testStatusPage in core/
modules/ system/ tests/ src/ Functional/ System/ StatusTest.php - Tests that the status page returns.
- TaxonomyFieldAllTermsTest::testViewsHandlerAllTermsField in core/
modules/ taxonomy/ tests/ src/ Functional/ Views/ TaxonomyFieldAllTermsTest.php - Tests the "all terms" field handler.
- 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.
- 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.
- WorkflowUiTest::testSorting in core/
modules/ workflows/ tests/ src/ Functional/ WorkflowUiTest.php - Tests the sorting of states and transitions by weight and label.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.