83 calls to BrowserTestBase::getSession()
- AdminTest::testCompactMode in core/
modules/ system/ tests/ src/ Functional/ System/ AdminTest.php - Tests compact mode.
- 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 - Tests that AJAX loaded libraries are not retained between requests.
- AjaxTest::testGlobalEvents in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ AjaxTest.php - Tests that jQuery's global Ajax events are triggered at the correct time.
- AssetOptimizationTest::assertAggregate in core/
tests/ Drupal/ FunctionalTests/ Asset/ AssetOptimizationTest.php - Asserts the aggregate header.
- AssetOptimizationTest::assertInvalidAggregates in core/
tests/ Drupal/ FunctionalTests/ Asset/ AssetOptimizationTest.php - Asserts the aggregate when it is invalid.
- AssetOptimizationTest::doTestAggregation in core/
tests/ Drupal/ FunctionalTests/ Asset/ AssetOptimizationTest.php - Helper to test aggregate file URLs.
- BlockDragTest::testDragAndDropBlocks in core/
modules/ block/ tests/ src/ FunctionalJavascript/ BlockDragTest.php - Tests drag and drop blocks.
- 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 - BulkFormTest::testConfirmRouteWithParameters in core/
modules/ views/ tests/ src/ Functional/ BulkFormTest.php - Tests that route parameters are passed to the confirmation form route.
- CKEditor5FragmentLinkTest::testFragmentLink in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ CKEditor5FragmentLinkTest.php - Tests if the fragment link to a textarea works with CKEditor 5 enabled.
- CommandsTest::testAjaxCommands in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ CommandsTest.php - Tests the various Ajax Commands.
- CommandsTest::testLegacyAjaxCommands in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ CommandsTest.php - Tests the various Ajax Commands with legacy parameters. @group legacy
- 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 - Tests 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::testExposedFilteringWithButtonElement in core/
modules/ views/ tests/ src/ FunctionalJavascript/ ExposedFilterAJAXTest.php - Tests exposed filtering via AJAX with a button element.
- 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.
- FilterCriteriaTest::testOperatorLabels in core/
modules/ views_ui/ tests/ src/ FunctionalJavascript/ FilterCriteriaTest.php - Tests operator labels.
- FilterOptionsTest::testFilterOptionsAddFields in core/
modules/ views_ui/ tests/ src/ FunctionalJavascript/ FilterOptionsTest.php - Tests filtering options in the 'Add fields' dialog.
- FormErrorHandlerCKEditor5Test::testFragmentLink in core/
modules/ inline_form_errors/ tests/ src/ FunctionalJavascript/ FormErrorHandlerCKEditor5Test.php - Tests if the fragment link to a textarea works with CKEditor 5 enabled.
- 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.
- FormValuesTest::testSimpleInvalidCallbacksAjaxFormValue in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ FormValuesTest.php - Tests that AJAX elements with invalid callbacks return error code 500.
- 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 - Tests that the glossary also works on a language prefixed URL.
- JSWebAssertTest::testJsWebAssert in core/
tests/ Drupal/ FunctionalJavascriptTests/ Tests/ JSWebAssertTest.php - Tests that JSWebAssert assertions work correctly.
- ManageDisplayTest::assertOrderInPage in core/
modules/ field_ui/ tests/ src/ Functional/ ManageDisplayTest.php - Asserts that several pieces of markup are in a given order in the page.
- 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.
- ManageFieldsTest::testFilterInReuseForm in core/
modules/ field_ui/ tests/ src/ FunctionalJavascript/ ManageFieldsTest.php - Tests filter results in the re-use form.
- 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 - Tests 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 - Tests that a security warning appears if iFrame domain is not set.
- MediaSourceTestBase::doTestCreateMediaType in core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaSourceTestBase.php - Tests 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 - Tests 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.
- ModuleFilterTest::testModuleFilter in core/
modules/ system/ tests/ src/ FunctionalJavascript/ ModuleFilterTest.php - Tests that filter results announcement has correct pluralization.
- ModuleUninstallFilterTest::testModuleUninstallFilter in core/
modules/ system/ tests/ src/ FunctionalJavascript/ ModuleUninstallFilterTest.php - Tests that correct module count is returned when list filtered.
- MultiFormTest::testMultiForm in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ MultiFormTest.php - Tests that pages with the 'node_page_form' included twice work correctly.
- PermissionFilterTest::testPermissionFilter in core/
modules/ user/ tests/ src/ FunctionalJavascript/ PermissionFilterTest.php - Tests that filter results announcement has correct pluralization.
- 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 - Tests 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.
- UnversionedAssetTest::testUnversionedAssets in core/
tests/ Drupal/ FunctionalTests/ Asset/ UnversionedAssetTest.php - Tests that unversioned assets cause a new filename when changed.
- 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.