139 calls to WebTestBase::xpath()

AggregatorRenderingTest::testBlockLinks in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorRenderingTest.php
Add a feed block to the page and checks its links.
AggregatorRenderingTest::testFeedPage in drupal/core/modules/aggregator/lib/Drupal/aggregator/Tests/AggregatorRenderingTest.php
Create a feed and check that feed's page.
AreaTest::testRenderAreaToken in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/AreaTest.php
Tests global tokens.
BlockTest::testCustomBlock in drupal/core/modules/block/lib/Drupal/block/Tests/BlockTest.php
Test creating custom block, moving it to a specific region and then deleting it.
BookTest::checkBookNode in drupal/core/modules/book/lib/Drupal/book/Tests/BookTest.php
Check the outline of sub-pages; previous, up, and next; and printer friendly version.
BreadcrumbTest::testBreadCrumbs in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/BreadcrumbTest.php
Tests breadcrumbs on node and administrative paths.
BrowserTest::testXPathEscaping in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/BrowserTest.php
Tests XPath escaping.
CascadingStylesheetsTest::testModuleInfo in drupal/core/modules/system/lib/Drupal/system/Tests/Common/CascadingStylesheetsTest.php
Tests that stylesheets in module .info files are loaded.
CheckboxTest::testFormCheckbox in drupal/core/modules/system/lib/Drupal/system/Tests/Form/CheckboxTest.php
CommentAttributesTest::testCommentRdfaMarkup in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/CommentAttributesTest.php
Tests if RDFa markup for meta information is present in comments.
CommentAttributesTest::testCommentReplyOfRdfaMarkup in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/CommentAttributesTest.php
Tests RDF comment replies.
CommentAttributesTest::testNumberOfCommentsRdfaMarkup in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/CommentAttributesTest.php
Tests the presence of the RDFa markup for the number of comments.
CommentAttributesTest::_testBasicCommentRdfaMarkup in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/CommentAttributesTest.php
Helper function for testCommentRdfaMarkup().
CommentCSSTest::testCommentClasses in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentCSSTest.php
Tests CSS classes on comments.
CommentLinksTest::assertCommentLinks in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentLinksTest.php
Asserts that comment links appear according to the passed environment.
CommentNewIndicatorTest::testCommentNewCommentsIndicator in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentNewIndicatorTest.php
Tests new comment marker.
CommentPagerTest::assertCommentOrder in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentPagerTest.php
Asserts that the comments are displayed in the correct order.
CommentPreviewTest::testCommentEditPreviewSave in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentPreviewTest.php
Tests comment edit, preview, and save.
ConfigEntityListTest::testListUI in drupal/core/modules/config/lib/Drupal/config/Tests/ConfigEntityListTest.php
Tests the listing UI.
ContactAuthenticatedUserTest::testContactSiteWideTextfieldsLoggedInTestCase in drupal/core/modules/contact/lib/Drupal/contact/Tests/ContactAuthenticatedUserTest.php
Tests that name and email fields are not present for authenticated users.
DBLogTest::doUser in drupal/core/modules/dblog/lib/Drupal/dblog/Tests/DBLogTest.php
Generates and then verifies some user events.
DBLogTest::getLogEntries in drupal/core/modules/dblog/lib/Drupal/dblog/Tests/DBLogTest.php
Gets the database log event information from the browser page.
DefaultViewsTest::clickViewsOperationLink in drupal/core/modules/views/lib/Drupal/views/Tests/UI/DefaultViewsTest.php
Click a link to perform an operation on a view.
DefaultViewsTest::testSplitListing in drupal/core/modules/views/lib/Drupal/views/Tests/UI/DefaultViewsTest.php
Tests that enabling views moves them to the correct table.
DependencyTest::testIncompatibleCoreVersionDependency in drupal/core/modules/system/lib/Drupal/system/Tests/Module/DependencyTest.php
Tests enabling a module that depends on a module with an incompatible core version.
DependencyTest::testIncompatibleModuleVersionDependency in drupal/core/modules/system/lib/Drupal/system/Tests/Module/DependencyTest.php
Tests enabling a module that depends on an incompatible version of a module.
DependencyTest::testMissingModules in drupal/core/modules/system/lib/Drupal/system/Tests/Module/DependencyTest.php
Attempts to enable a module with a missing dependency.
DependencyTest::testUninstallDependents in drupal/core/modules/system/lib/Drupal/system/Tests/Module/DependencyTest.php
Tests attempting to uninstall a module that has installed dependents.
DisplayFeedTest::testFeedUI in drupal/core/modules/views/lib/Drupal/views/Tests/Plugin/DisplayFeedTest.php
Tests feed display admin ui.
DisplayTest::testDefaultDisplay in drupal/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php
Tests that the correct display is loaded by default.
DisplayTest::testDisableDisplay in drupal/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php
Tests disabling of a display.
DisplayTest::testDisplayAreas in drupal/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php
Tests display areas.
DisplayTest::testRemoveDisplay in drupal/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php
Tests removing a display.
DisplayTest::testReorderDisplay in drupal/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php
Tests reordering of displays.
ElementsLabelsTest::testFormLabels in drupal/core/modules/system/lib/Drupal/system/Tests/Form/ElementsLabelsTest.php
Test form elements, labels, title attibutes and required marks output correctly and have the correct label option class if needed.
ElementsTableSelectTest::testTableselectColSpan in drupal/core/modules/system/lib/Drupal/system/Tests/Form/ElementsTableSelectTest.php
Tests the display when #colspan is set.
ElementsVerticalTabsTest::testWrapperNotShownWhenEmpty in drupal/core/modules/system/lib/Drupal/system/Tests/Form/ElementsVerticalTabsTest.php
Ensures that vertical tab markup is not shown if user has no tab access.
ElementTest::testButtonClasses in drupal/core/modules/system/lib/Drupal/system/Tests/Form/ElementTest.php
Tests button classes.
ElementTest::testOptions in drupal/core/modules/system/lib/Drupal/system/Tests/Form/ElementTest.php
Tests expansion of #options for #type checkboxes and radios.
ElementTest::testPlaceHolderText in drupal/core/modules/system/lib/Drupal/system/Tests/Form/ElementTest.php
Tests placeholder text for elements that support placeholders.
EnableDisableTest::testEnableDisable in drupal/core/modules/system/lib/Drupal/system/Tests/Module/EnableDisableTest.php
Tests that all core modules can be enabled, disabled and uninstalled.
FieldWebTest::clickSortLoadIdsFromOutput in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/FieldWebTest.php
Small helper function to get all ids in the output.
FileFieldWidgetTest::testMultiValuedWidget in drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldWidgetTest.php
Tests upload and remove buttons for multiple multi-valued File fields.
FileFieldWidgetTest::testSingleValuedWidget in drupal/core/modules/file/lib/Drupal/file/Tests/FileFieldWidgetTest.php
Tests upload and remove buttons for a single-valued File field.
FilterAdminTest::testFilterAdmin in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterAdminTest.php
Tests filter administration functionality.
FilterFormatAccessTest::testFormatPermissions in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterFormatAccessTest.php
FilterHtmlImageSecureTest::testImageSource in drupal/core/modules/filter/lib/Drupal/filter/Tests/FilterHtmlImageSecureTest.php
Tests removal of images having a non-local source.
FormTest::testDisabledElements in drupal/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php
Test handling of disabled elements.
FormTest::testDisabledMarkup in drupal/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php
Verify markup for disabled form elements.
FormTest::testInputForgery in drupal/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php
Test Form API protections against input forgery.
FormTest::testNestedFieldForm in drupal/core/modules/field/lib/Drupal/field/Tests/FormTest.php
Tests Field API form integration within a subform.
FormTest::testRequiredAttribute in drupal/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php
Tests required attribute.
FormTest::testRequiredCheckboxesRadio in drupal/core/modules/system/lib/Drupal/system/Tests/Form/FormTest.php
Tests validation for required checkbox, select, and radio elements.
ForumTest::doAdminTests in drupal/core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
Runs admin tests on the admin user.
ForumTest::testForum in drupal/core/modules/forum/lib/Drupal/forum/Tests/ForumTest.php
Tests forum functionality through the admin and user interfaces.
GetNamespacesTest::testGetRdfNamespaces in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/GetNamespacesTest.php
Tests RDF namespaces.
HandlerTest::testRelationshipUI in drupal/core/modules/views/lib/Drupal/views/Tests/Handler/HandlerTest.php
Tests the relationship ui for field/filter/argument/relationship.
HtmlTplPhpAttributesTest::testThemeHtmlTplPhpAttributes in drupal/core/modules/system/lib/Drupal/system/Tests/Theme/HtmlTplPhpAttributesTest.php
Tests that modules and themes can alter variables in html.tpl.php.
LanguageSelectElementTest::_testLanguageSelectElementOptions in drupal/core/modules/system/lib/Drupal/system/Tests/Form/LanguageSelectElementTest.php
Helper function to check the options of a language select form element.
LanguageSwitchingTest::testLanguageBlock in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageSwitchingTest.php
Functional tests for the language switcher block.
LanguageUILanguageNegotiationTest::testUILanguageNegotiation in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php
Tests for language switching by URL path.
LanguageUILanguageNegotiationTest::testUrlLanguageFallback in drupal/core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php
Test URL language detection when the requested URL has no language.
LanguageUpgradePathTest::testLanguageUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/LanguageUpgradePathTest.php
Tests a successful upgrade.
LocalePathTest::testPathLanguageConfiguration in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocalePathTest.php
Test if a language can be associated with a path alias.
LocaleTranslationTest::testJavaScriptTranslation in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationTest.php
LocaleTranslationTest::testStringSearch in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationTest.php
Tests translation search form.
LocaleTranslationTest::testStringTranslation in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationTest.php
Adds a language and tests string translation by users with the appropriate permissions.
LocaleTranslationTest::testStringValidation in drupal/core/modules/locale/lib/Drupal/locale/Tests/LocaleTranslationTest.php
Tests the validation of the translation input.
ManageFieldsTest::addExistingField in drupal/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php
Tests adding an existing field in another content type.
ManageFieldsTest::createField in drupal/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php
Tests adding a new field.
ManageFieldsTest::testHiddenFields in drupal/core/modules/field_ui/lib/Drupal/field_ui/Tests/ManageFieldsTest.php
Tests that Field UI respects the 'no_ui' option in hook_field_info().
MappingDefinitionTest::testAttributesInMarkup1 in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/MappingDefinitionTest.php
Create a node of type article and test whether the RDF mapping defined for this node type in rdf_test.module is used in the node page.
MappingDefinitionTest::testAttributesInMarkup2 in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/MappingDefinitionTest.php
Tests if RDF mapping defined in rdf_test.install is used.
MappingDefinitionTest::testAttributesInMarkup3 in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/MappingDefinitionTest.php
Tests if the default mapping for a node is being used.
MappingDefinitionTest::testTaxonomyTermRdfaAttributes in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/MappingDefinitionTest.php
Creates a random term and ensures the right RDFa markup is used.
MappingDefinitionTest::testUserAttributesInMarkup in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/MappingDefinitionTest.php
Tests if default mapping for user is being used.
MenuTestBase::assertBreadcrumb in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/MenuTestBase.php
Assert that a given path shows certain breadcrumb links.
MenuTestBase::getParts in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/MenuTestBase.php
Returns the breadcrumb contents of the current page in the internal browser.
MultiFormTest::testMultiForm in drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/MultiFormTest.php
Tests that pages with the 'page_node_form' included twice work correctly.
NodeAccessBaseTableTest::assertTaxonomyPage in drupal/core/modules/node/lib/Drupal/node/Tests/NodeAccessBaseTableTest.php
Checks taxonomy/term listings to ensure only accessible nodes are listed.
NodeAdminTest::testContentAdminSort in drupal/core/modules/node/lib/Drupal/node/Tests/NodeAdminTest.php
Tests that the table sorting works on the content admin pages.
NodeBlockFunctionalTest::testRecentNodeBlock in drupal/core/modules/node/lib/Drupal/node/Tests/NodeBlockFunctionalTest.php
Tests the recent comments block.
NodeFieldMultilingualTestCase::testMultilingualDisplaySettings in drupal/core/modules/node/lib/Drupal/node/Tests/NodeFieldMultilingualTestCase.php
NodePostSettingsTest::testPagePostInfo in drupal/core/modules/node/lib/Drupal/node/Tests/NodePostSettingsTest.php
Confirms "Basic page" content type and post information is on a new node.
NodeQueryAlterTest::testNodeQueryAlterWithUI in drupal/core/modules/node/lib/Drupal/node/Tests/NodeQueryAlterTest.php
Tests that node access permissions are followed.
NodeTitleTest::testNodeTitle in drupal/core/modules/node/lib/Drupal/node/Tests/NodeTitleTest.php
Creates one node and tests if the node title has the correct value.
NodeTypeInitialLanguageTest::testLanguageFieldVisibility in drupal/core/modules/node/lib/Drupal/node/Tests/NodeTypeInitialLanguageTest.php
Tests language field visibility features.
NodeTypeInitialLanguageTest::testNodeTypeInitialLanguageDefaults in drupal/core/modules/node/lib/Drupal/node/Tests/NodeTypeInitialLanguageTest.php
Tests the node type initial language defaults, and modifies them.
OptionsSelectDynamicValuesTest::testSelectListDynamic in drupal/core/modules/field/modules/options/lib/Drupal/options/Tests/OptionsSelectDynamicValuesTest.php
Tests the 'options_select' widget (single select).
OptionsWidgetsTest::testSelectListMultiple in drupal/core/modules/field/modules/options/lib/Drupal/options/Tests/OptionsWidgetsTest.php
Tests the 'options_select' widget (multiple select).
OptionsWidgetsTest::testSelectListSingle in drupal/core/modules/field/modules/options/lib/Drupal/options/Tests/OptionsWidgetsTest.php
Tests the 'options_select' widget (single select).
PagerTest::assertPagerItems in drupal/core/modules/system/lib/Drupal/system/Tests/Pager/PagerTest.php
Asserts pager items and links.
PagerTest::testActiveClass in drupal/core/modules/system/lib/Drupal/system/Tests/Pager/PagerTest.php
Tests markup and CSS classes of pager links.
PollCreateTest::testPollClose in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollCreateTest.php
Tests creating, editing, and closing a poll.
PollCreateTest::testPollCreate in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollCreateTest.php
Tests creating, listing, editing a new poll.
PollExpirationTest::testAutoExpire in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollExpirationTest.php
Tests the expiration of a poll.
PollTestBase::assertPollChoiceOrder in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollTestBase.php
Asserts correct poll choice order in the node form after submission.
PollVoteCheckHostnameTest::testHostnamePollVote in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollVoteCheckHostnameTest.php
Checks that anonymous users with the same IP address can only vote once.
PollVoteTest::testPollVote in drupal/core/modules/poll/lib/Drupal/poll/Tests/PollVoteTest.php
Tests voting on a poll.
PreviewTest::testPreviewUI in drupal/core/modules/views/lib/Drupal/views/Tests/UI/PreviewTest.php
Tests arguments in the preview form.
RdfaMarkupTest::testAttributesInMarkupFile in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/RdfaMarkupTest.php
Tests if file fields in teasers have correct resources.
RebuildTest::testPreserveFormActionAfterAJAX in drupal/core/modules/system/lib/Drupal/system/Tests/Form/RebuildTest.php
Tests that a form's action is retained after an Ajax submission.
SearchPageTextTest::testSearchText in drupal/core/modules/search/lib/Drupal/search/Tests/SearchPageTextTest.php
Tests the failed search text, and various other text on the search page.
SessionHttpsTest::testHttpsSession in drupal/core/modules/system/lib/Drupal/system/Tests/Session/SessionHttpsTest.php
SettingsTest::testEditUI in drupal/core/modules/views/lib/Drupal/views/Tests/UI/SettingsTest.php
Tests the settings for the edit ui.
SimpleTestTest::getResultFieldSet in drupal/core/modules/simpletest/lib/Drupal/simpletest/Tests/SimpleTestTest.php
Get the details containing the results for group this test is in.
SyslogTest::testSettings in drupal/core/modules/syslog/lib/Drupal/syslog/Tests/SyslogTest.php
Tests the syslog settings page.
ThemeTest::testThemeSettings in drupal/core/modules/system/lib/Drupal/system/Tests/System/ThemeTest.php
Test the theme settings form.
TrackerAttributesTest::_testBasicTrackerRdfaMarkup in drupal/core/modules/rdf/lib/Drupal/rdf/Tests/TrackerAttributesTest.php
Helper function for testAttributesInTracker().
TranslationTest::findContentByXPath in drupal/core/modules/translation/lib/Drupal/translation/Tests/TranslationTest.php
Searches for elements matching the given xpath and value.
TriggeringElementTest::testAttemptAccessControlBypass in drupal/core/modules/system/lib/Drupal/system/Tests/Form/TriggeringElementTest.php
Test that $form_state['triggering_element'] does not get set to a button with #access=FALSE.
UpgradePathTestBase::performUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/UpgradePathTestBase.php
Perform the upgrade.
UrlTest::testLActiveClass in drupal/core/modules/system/lib/Drupal/system/Tests/Common/UrlTest.php
Tests for active class in l() function.
UserAccountLinksTests::testAccountPageTitles in drupal/core/modules/user/lib/Drupal/user/Tests/UserAccountLinksTests.php
Tests page title is set correctly on user account tabs.
UserAccountLinksTests::testDisabledAccountLink in drupal/core/modules/user/lib/Drupal/user/Tests/UserAccountLinksTests.php
Tests disabling the 'My account' link.
UserAccountLinksTests::testSecondaryMenu in drupal/core/modules/user/lib/Drupal/user/Tests/UserAccountLinksTests.php
Tests the secondary menu.
ValidationTest::testValidateLimitErrors in drupal/core/modules/system/lib/Drupal/system/Tests/Form/ValidationTest.php
Tests partial form validation through #limit_validation_errors.
VersionTest::testModuleVersions in drupal/core/modules/system/lib/Drupal/system/Tests/Module/VersionTest.php
Test version dependencies.
ViewElementTest::testViewElement in drupal/core/modules/views/lib/Drupal/views/Tests/ViewElementTest.php
Tests the rendered output and form output of a view element.
WebTestBase::assertFieldByXPath in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that a field exists in the current page by the given XPath.
WebTestBase::assertFieldChecked in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that a checkbox field in the current page is checked.
WebTestBase::assertLink in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Pass if a link with the specified label is found, and optional with the specified index.
WebTestBase::assertLinkByHref in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Pass if a link containing a given href (part) is found.
WebTestBase::assertNoDuplicateIds in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that each HTML ID is used for just a single element.
WebTestBase::assertNoFieldByXPath in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that a field does not exist in the current page by the given XPath.
WebTestBase::assertNoFieldChecked in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that a checkbox field in the current page is not checked.
WebTestBase::assertNoLink in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Pass if a link with the specified label is not found.
WebTestBase::assertNoLinkByHref in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Pass if a link containing a given href (part) is not found.
WebTestBase::assertNoOption in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that a select option in the current page does not exist.
WebTestBase::assertNoOptionSelected in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that a select option in the current page is not checked.
WebTestBase::assertNoTitle in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Pass if the page title is not the given string.
WebTestBase::assertOption in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that a select option in the current page exists.
WebTestBase::assertOptionSelected in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Asserts that a select option in the current page is checked.
WebTestBase::assertTitle in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Pass if the page title is the given string.
WebTestBase::checkForMetaRefresh in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Check for meta refresh tag and if found call drupalGet() recursively. This function looks for the http-equiv attribute to be set to "Refresh" and is case-sensitive.
WebTestBase::clickLink in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Follows a link by name.
WebTestBase::drupalPost in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Execute a POST request on a Drupal page. It will be done as usual POST request with SimpleBrowser.
WebTestBase::drupalPostAJAX in drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php
Execute an Ajax submission.
WizardTest::testCommentWizard in drupal/core/modules/views/lib/Drupal/views/Tests/Comment/WizardTest.php
Tests adding a view of comments.