73 calls to BrowserTestBase::getSession()

AdminTest::testCompactMode in core/modules/system/tests/src/Functional/System/AdminTest.php
Test compact mode.
AjaxCssTest::testCkeditorAjaxAddCss in core/modules/ckeditor/tests/src/FunctionalJavascript/AjaxCssTest.php
Tests adding style sheets dynamically to CKEditor.
AjaxFormCacheTest::testBlockForms in core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxFormCacheTest.php
Tests AJAX forms in blocks.
AjaxFormCacheTest::testQueryString in core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxFormCacheTest.php
Tests AJAX forms on pages with a query string.
AjaxFormImageButtonTest::testAjaxImageButtonKeypressEnter in core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxFormImageButtonTest.php
Tests image buttons can be operated with the keyboard ENTER key.
AjaxFormImageButtonTest::testAjaxImageButtonKeypressSpace in core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxFormImageButtonTest.php
Tests image buttons can be operated with the keyboard SPACE key.
AjaxFormPageCacheTest::testSimpleAJAXFormValue in core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxFormPageCacheTest.php
Create a simple form, then submit the form via AJAX to change to it.
AjaxInGroupTest::testSimpleAjaxFormValue in core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxInGroupTest.php
Submits forms with select and checkbox elements via Ajax.
AjaxTest::testDrupalSettingsCachingRegression in core/tests/Drupal/FunctionalJavascriptTests/Ajax/AjaxTest.php
Test that AJAX loaded libraries are not retained between requests.
BasicAuthTest::testCacheabilityOf401Response in core/modules/basic_auth/tests/src/Functional/BasicAuthTest.php
Tests the cacheability of Basic Auth's 401 response.
BlockFilterTest::testBlockFilter in core/modules/block/tests/src/FunctionalJavascript/BlockFilterTest.php
Tests block filter.
BlockFilterTest::testBlockFilter in core/modules/layout_builder/tests/src/FunctionalJavascript/BlockFilterTest.php
Tests block filter.
BookJavascriptTest::assertOrderInPage in core/modules/book/tests/src/FunctionalJavascript/BookJavascriptTest.php
Asserts that several pieces of markup are in a given order in the page.
BookJavascriptTest::testBookAddOutline in core/modules/book/tests/src/FunctionalJavascript/BookJavascriptTest.php
Tests book outline AJAX request.
BrowserTestBase::initFrontPage in core/tests/Drupal/Tests/BrowserTestBase.php
Visits the front page when initializing Mink.
BrowserTestBaseUserAgentTest::prepareRequest in core/tests/Drupal/FunctionalTests/BrowserTestBaseUserAgentTest.php
Prepare for a request to testing site.
BrowserWithJavascriptTest::drupalGetWithAlert in core/tests/Drupal/FunctionalJavascriptTests/BrowserWithJavascriptTest.php
Retrieves a Drupal path or an absolute path.
BrowserWithJavascriptTest::testAssertJsCondition in core/tests/Drupal/FunctionalJavascriptTests/BrowserWithJavascriptTest.php
BrowserWithJavascriptTest::testJavascript in core/tests/Drupal/FunctionalJavascriptTests/BrowserWithJavascriptTest.php
CKEditorIntegrationTest::testDrupalImageDialog in core/modules/ckeditor/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php
Tests if the Image button appears and works as expected.
CKEditorIntegrationTest::testFragmentLink in core/modules/ckeditor/tests/src/FunctionalJavascript/CKEditorIntegrationTest.php
Tests if the fragment link to a textarea works with CKEditor enabled.
CommandsTest::testAjaxCommands in core/tests/Drupal/FunctionalJavascriptTests/Ajax/CommandsTest.php
Tests the various Ajax Commands.
ContentPreviewToggleTest::assertOrderInPage in core/modules/layout_builder/tests/src/FunctionalJavascript/ContentPreviewToggleTest.php
Asserts that blocks in a given order in the page.
DestinationTest::testDestination in core/modules/system/tests/src/Functional/Routing/DestinationTest.php
Tests that $_GET/$_REQUEST['destination'] only contain internal URLs.
DialogPositionTest::testDialogOpenAndClose in core/tests/Drupal/FunctionalJavascriptTests/Dialog/DialogPositionTest.php
Tests if the dialog UI works properly with block layout page.
ElementsTableSelectTest::testAjax in core/modules/system/tests/src/FunctionalJavascript/Form/ElementsTableSelectTest.php
Test the presence of ajax functionality for all options.
EntityReferenceWidgetTest::testWidget in core/modules/media_library/tests/src/FunctionalJavascript/EntityReferenceWidgetTest.php
Tests that the Media library's widget works as expected.
ExposedFilterAJAXTest::testExposedFiltering in core/modules/views/tests/src/FunctionalJavascript/ExposedFilterAJAXTest.php
Tests if exposed filtering via AJAX works for the "Content" View.
ExposedFilterAJAXTest::testExposedFiltersInModal in core/modules/views/tests/src/FunctionalJavascript/ExposedFilterAJAXTest.php
Tests if exposed filtering via AJAX works in a modal.
FilterCriteriaTest::testFilterCriteriaDialog in core/modules/views_ui/tests/src/FunctionalJavascript/FilterCriteriaTest.php
Tests dialog for filter criteria.
FilterOptionsTest::testFilterOptionsAddFields in core/modules/views_ui/tests/src/FunctionalJavascript/FilterOptionsTest.php
Tests filtering options in the 'Add fields' dialog.
FormErrorHandlerCKEditorTest::testFragmentLink in core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerCKEditorTest.php
Tests if the fragment link to a textarea works with CKEditor enabled.
FormErrorHandlerQuickEditTest::testDisabledInlineFormErrors in core/modules/inline_form_errors/tests/src/FunctionalJavascript/FormErrorHandlerQuickEditTest.php
Tests that the inline form errors are not visible for Quick Edit forms.
FormGroupingElementsTest::testDetailsChildVisibility in core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php
Tests that details element children become visible.
FormGroupingElementsTest::testVerticalTabChildVisibility in core/tests/Drupal/FunctionalJavascriptTests/Core/Form/FormGroupingElementsTest.php
Tests that vertical tab children become visible.
FormValuesTest::testSimpleAjaxFormValue in core/tests/Drupal/FunctionalJavascriptTests/Ajax/FormValuesTest.php
Submits forms with select and checkbox elements via Ajax.
GlossaryViewTest::testGlossaryDefault in core/modules/views/tests/src/FunctionalJavascript/GlossaryViewTest.php
Tests the AJAX callbacks for the glossary view.
GlossaryViewTest::testGlossaryLanguagePrefix in core/modules/views/tests/src/FunctionalJavascript/GlossaryViewTest.php
Test that the glossary also works on a language prefixed URL.
JavascriptTestBase::assertSession in core/tests/Drupal/FunctionalJavascriptTests/JavascriptTestBase.php
Returns WebAssert object.
JSWebAssertTest::testJsWebAssert in core/tests/Drupal/FunctionalJavascriptTests/Tests/JSWebAssertTest.php
Tests that JSWebAssert assertions work correctly.
ManageDisplayTest::fieldUIAddNewField in core/modules/field_ui/tests/src/FunctionalJavascript/ManageDisplayTest.php
Creates a new field through the Field UI.
ManageDisplayTest::testFormatterUI in core/modules/field_ui/tests/src/FunctionalJavascript/ManageDisplayTest.php
Tests formatter settings.
ManageDisplayTest::testWidgetUI in core/modules/field_ui/tests/src/FunctionalJavascript/ManageDisplayTest.php
Tests widget settings.
MaximumFileSizeExceededUploadTest::testUploadFileExceedingMaximumFileSize in core/modules/file/tests/src/FunctionalJavascript/MaximumFileSizeExceededUploadTest.php
Tests that uploading files exceeding maximum size are handled correctly.
MediaBulkFormTest::testBulkForm in core/modules/media/tests/src/Functional/MediaBulkFormTest.php
Tests the media bulk form.
MediaOverviewTest::testAdministrationPage in core/modules/media_library/tests/src/FunctionalJavascript/MediaOverviewTest.php
Tests that the Media Library's administration page works as expected.
MediaSourceFileTest::testMediaFileSource in core/modules/media/tests/src/FunctionalJavascript/MediaSourceFileTest.php
Tests the file media source.
MediaSourceFileTest::testSourceFieldSettingsEditing in core/modules/media/tests/src/Functional/MediaSourceFileTest.php
Test that it's possible to change the allowed file extensions.
MediaSourceImageTest::testMediaImageSource in core/modules/media/tests/src/FunctionalJavascript/MediaSourceImageTest.php
Tests the image media source.
MediaSourceOEmbedVideoTest::testMediaOEmbedVideoSource in core/modules/media/tests/src/FunctionalJavascript/MediaSourceOEmbedVideoTest.php
Tests the oembed media source.
MediaSourceOEmbedVideoTest::testOEmbedSecurityWarning in core/modules/media/tests/src/FunctionalJavascript/MediaSourceOEmbedVideoTest.php
Test that a security warning appears if iFrame domain is not set.
MediaSourceTestBase::doTestCreateMediaType in core/modules/media/tests/src/FunctionalJavascript/MediaSourceTestBase.php
Test generic media type creation.
MediaTypeCreationTest::testMediaTypeCreationFormWithDefaultField in core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php
Tests the media type creation form.
MediaTypeCreationTest::testMediaTypeCreationReuseSourceField in core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php
Test creation of media type, reusing an existing source field.
MediaTypeCreationTest::testSourceChangeOnMediaTypeCreationForm in core/modules/media/tests/src/FunctionalJavascript/MediaTypeCreationTest.php
Tests the source field behavior on the add media type form.
MediaUiFunctionalTest::testMediaCreateRedirect in core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php
Tests the redirect URL after creating a media item.
MediaUiFunctionalTest::testMediaWithOnlyOneMediaType in core/modules/media/tests/src/Functional/MediaUiFunctionalTest.php
Tests the media actions (add/edit/delete).
MediaUiJavascriptTest::testMediaTypes in core/modules/media/tests/src/FunctionalJavascript/MediaUiJavascriptTest.php
Tests a media type administration.
MediaViewsWizardTest::testMediaRevisionWizard in core/modules/media/tests/src/FunctionalJavascript/MediaViewsWizardTest.php
Tests adding a view of media revisions.
MediaViewsWizardTest::testMediaWizard in core/modules/media/tests/src/FunctionalJavascript/MediaViewsWizardTest.php
Tests adding a view of media.
MultiFormTest::testMultiForm in core/tests/Drupal/FunctionalJavascriptTests/Ajax/MultiFormTest.php
Tests that pages with the 'node_page_form' included twice work correctly.
RegistrationWithUserFieldsTest::testRegistrationWithUserFields in core/modules/user/tests/src/FunctionalJavascript/RegistrationWithUserFieldsTest.php
Tests Field API fields on user registration forms.
ResourceTestBase::decorateWithXdebugCookie in core/modules/rest/tests/src/Functional/ResourceTestBase.php
Adds the Xdebug cookie to the request options.
RouterTest::testFinishResponseSubscriber in core/modules/system/tests/src/Functional/Routing/RouterTest.php
Confirms that our FinishResponseSubscriber logic works properly.
SessionAuthenticationTest::testSessionFromBasicAuthenticationDoesNotLeak in core/modules/system/tests/src/Functional/Session/SessionAuthenticationTest.php
Check that a basic authentication session does not leak.
SessionTest::testDataPersistence in core/modules/system/tests/src/Functional/Session/SessionTest.php
Test data persistence via the session_test module callbacks.
TableDragTest::assertOrder in core/tests/Drupal/FunctionalJavascriptTests/TableDrag/TableDragTest.php
Asserts that several pieces of markup are in a given order in the page.
TableDragTest::testDragAndDrop in core/tests/Drupal/FunctionalJavascriptTests/TableDrag/TableDragTest.php
Tests draggable table drag'n'drop.
TableDragTest::testRowWeightSwitch in core/tests/Drupal/FunctionalJavascriptTests/TableDrag/TableDragTest.php
Tests row weight switch.
ThrobberTest::testThemingThrobberElement in core/tests/Drupal/FunctionalJavascriptTests/Ajax/ThrobberTest.php
Tests theming throbber element.
WebDriverTestBase::assertSession in core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php
Returns WebAssert object.
WebDriverTestBase::createScreenshot in core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php
Creates a screenshot.
WidgetAccessTest::testWidgetAccess in core/modules/media_library/tests/src/FunctionalJavascript/WidgetAccessTest.php
Tests that the widget access works as expected.

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