50 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.
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.
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.
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.
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.
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.
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.
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.
SearchIntegrationTest::testSearchIntegration in core/modules/views/tests/src/Functional/SearchIntegrationTest.php
Tests search integration.
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.