90 calls to WebDriverTestBase::assertSession()
- AdminAjaxTest::testAjaxRebuild in core/
modules/ views_ui/ tests/ src/ FunctionalJavascript/ AdminAjaxTest.php - Confirms that form_alter is triggered after AJAX rebuilds.
- 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.
- AjaxInGroupTest::testSimpleAjaxFormValue in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ AjaxInGroupTest.php - Submits forms with select and checkbox elements via Ajax.
- AjaxTest::testAjaxWithAdminRoute in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ AjaxTest.php - 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.
- BigPipeRegressionTest::testMessages_2712935 in core/
modules/ big_pipe/ tests/ src/ FunctionalJavascript/ BigPipeRegressionTest.php - Ensure messages set in placeholders always appear.
- BlockAddTest::testBlockAddThemeSelector in core/
modules/ block/ tests/ src/ FunctionalJavascript/ BlockAddTest.php - Tests the AJAX for the theme selector.
- BlockFilterTest::testBlockFilter in core/
modules/ block/ tests/ src/ FunctionalJavascript/ BlockFilterTest.php - Tests block filter.
- BrowserWithJavascriptTest::testEscapingAssertions in core/
tests/ Drupal/ FunctionalJavascriptTests/ BrowserWithJavascriptTest.php - Tests assertEscaped() and assertUnescaped().
- CKEditor5CKEditor4Compatibility::testCkeCompatibility in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ CKEditor5CKEditor4Compatibility.php - Ensures that CKEditor 5 and CKEditor 4 can be used on the same page.
- CKEditor5IntegrationTest::testArticleNode in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ CKEditor5IntegrationTest.php - Tests if an article node can be in-place edited with Quick Edit.
- CKEditor5IntegrationTest::testDiscard in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ CKEditor5IntegrationTest.php - Tests that changes can be discarded.
- CKEditorIntegrationTest::testDrupalImageCaptionDialog in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ CKEditorIntegrationTest.php - Tests if the Drupal Image Caption plugin appears and works as expected.
- 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.
- CKEditorIntegrationTest::testOffCanvasStyles in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ CKEditorIntegrationTest.php - Tests if CKEditor is properly styled inside an off-canvas dialog.
- ClaroViewsUiTest::testViewsUiDropButtonCssClasses in core/
tests/ Drupal/ FunctionalJavascriptTests/ Theme/ ClaroViewsUiTest.php - Tests Views UI dropbutton CSS classes.
- ClaroViewsUiTest::testViewsUiTabsCssClasses in core/
tests/ Drupal/ FunctionalJavascriptTests/ Theme/ ClaroViewsUiTest.php - Tests Views UI display menu tabs CSS classes.
- DateFormatTest::testDateFormatXss in core/
modules/ system/ tests/ src/ FunctionalJavascript/ System/ DateFormatTest.php - Tests XSS via date format configuration.
- DialogPositionTest::testDialogOpenAndClose in core/
tests/ Drupal/ FunctionalJavascriptTests/ Dialog/ DialogPositionTest.php - Tests if the dialog UI works properly with block layout page.
- EditModeTest::assertAnnounceEditMode in core/
modules/ contextual/ tests/ src/ FunctionalJavascript/ EditModeTest.php - Asserts that the correct message was announced when entering edit mode.
- EditModeTest::assertAnnounceLeaveEditMode in core/
modules/ contextual/ tests/ src/ FunctionalJavascript/ EditModeTest.php - Assert that the correct message was announced when leaving edit mode.
- EditModeTest::testEditModeEnableDisable in core/
modules/ contextual/ tests/ src/ FunctionalJavascript/ EditModeTest.php - Tests enabling and disabling edit mode.
- EditorAdminTest::testEditorCreation in core/
modules/ editor/ tests/ src/ FunctionalJavascript/ EditorAdminTest.php - Tests that editor creation works fine while switching text editor field.
- EditorAdminTest::testEditorSelection in core/
modules/ editor/ tests/ src/ FunctionalJavascript/ EditorAdminTest.php - Tests that editor selection can be toggled without breaking ajax.
- ElementValidationTest::testAjaxElementValidation in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ ElementValidationTest.php - Tries to post an Ajax change to a form that has a validated element.
- EntityReferenceAutocompleteWidgetTest::testEntityReferenceAutocompleteWidget in core/
tests/ Drupal/ FunctionalJavascriptTests/ EntityReference/ EntityReferenceAutocompleteWidgetTest.php - Tests that the default autocomplete widget return the correct results.
- FieldTest::testFieldWithCkeditor in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ FieldTest.php - Tests that quickeditor works correctly for field with CKEditor.
- FilterCriteriaTest::openFilterDialog in core/
modules/ views_ui/ tests/ src/ FunctionalJavascript/ FilterCriteriaTest.php - Uses the 'And/Or Rearrange' link for filters to open a dialog.
- 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.
- FocusFirstCommandTest::testFocusFirst in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ FocusFirstCommandTest.php - Tests AjaxFocusFirstCommand on a page.
- FormErrorHandlerCKEditorTest::testFragmentLink in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ FormErrorHandlerCKEditorTest.php - Tests if the fragment link to a textarea works with CKEditor 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.
- FormGroupingElementsTest::testVerticalTabValidationVisibility in core/
tests/ Drupal/ FunctionalJavascriptTests/ Core/ Form/ FormGroupingElementsTest.php - Confirms tabs containing a field with a validation error are open.
- FormValuesTest::testSimpleAjaxFormValue in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ FormValuesTest.php - Submits forms with select and checkbox elements via Ajax.
- FrameworkTest::testCurrentPathChange in core/
modules/ system/ tests/ src/ FunctionalJavascript/ FrameworkTest.php - Tests that drupalSettings.currentPath is not updated on AJAX requests.
- FrameworkTest::testLazyLoad in core/
modules/ system/ tests/ src/ FunctionalJavascript/ FrameworkTest.php - Tests that new JavaScript and CSS files are lazy-loaded on an AJAX request.
- FrameworkTest::testLazyLoadOverriddenCSS in core/
modules/ system/ tests/ src/ FunctionalJavascript/ FrameworkTest.php - Tests that overridden CSS files are not added during lazy load.
- ImageAdminStylesTest::testAjaxEnabledEffectForm in core/
modules/ image/ tests/ src/ FunctionalJavascript/ ImageAdminStylesTest.php - Tests editing Ajax-enabled image effect forms.
- InlineFormErrorsIntegrationTest::testDisabledInlineFormErrors in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ InlineFormErrorsIntegrationTest.php - Tests that the inline form errors are not visible for Quick Edit forms.
- JsMessageTest::testAddRemoveMessages in core/
tests/ Drupal/ FunctionalJavascriptTests/ Core/ JsMessageTest.php - Tests click on links to show messages and remove messages.
- JSWebAssertTest::testJsWebAssert in core/
tests/ Drupal/ FunctionalJavascriptTests/ Tests/ JSWebAssertTest.php - Tests that JSWebAssert assertions work correctly.
- LayoutBuilderIntegrationTest::testArticleNode in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ LayoutBuilderIntegrationTest.php - Tests if an article node can be in-place edited with Quick Edit.
- LayoutBuilderIntegrationTest::testCustomBlock in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ LayoutBuilderIntegrationTest.php - Tests if a custom can be in-place edited with Quick Edit.
- LayoutBuilderQuickEditTest::createLayoutOverride in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ LayoutBuilderQuickEditTest.php - Creates a layout override.
- LayoutBuilderQuickEditTest::revertLayoutToDefaults in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ LayoutBuilderQuickEditTest.php - Reverts a layout override.
- LayoutBuilderQuickEditTest::testQuickEditIgnoresDuplicateFields in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ LayoutBuilderQuickEditTest.php - Tests that Quick Edit still works even when there are duplicate fields.
- MachineNameTest::testMachineName in core/
tests/ Drupal/ FunctionalJavascriptTests/ Core/ MachineNameTest.php - Tests that machine name field functions.
- MediaLibraryTest::testAllowedMediaTypes in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ MediaLibraryTest.php - Tests the allowed media types setting on the MediaEmbed filter.
- MediaLibraryTest::testButton in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ MediaLibraryTest.php - Tests using DrupalMediaLibrary button to embed media into CKEditor.
- MediaLibraryTest::testConfigurationValidation in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ MediaLibraryTest.php - Tests validation that DrupalMediaLibrary requires media_embed filter.
- MediaTest::testAlignment in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ MediaTest.php - Tests alignment integration.
- MediaTest::testAlt in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ MediaTest.php - Tests the EditorMediaDialog can set the alt attribute.
- MediaTest::testDialogAccess in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ MediaTest.php - Tests the EditorMediaDialog's form elements' #access logic.
- MediaTest::testEditableCaption in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ MediaTest.php - Tests caption editing in the CKEditor widget.
- MediaTest::testEmbedPreviewAccess in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ MediaTest.php - Tests preview route access.
- MediaTest::testErrorMessages in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ MediaTest.php - Tests that failed media embed preview requests inform the end user.
- MediaTest::testLinkability in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ MediaTest.php - Tests linkability of the CKEditor widget.
- MediaTest::testOnlyDrupalMediaTagProcessed in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ MediaTest.php - Tests that only <drupal-media> tags are processed.
- MediaTest::testPreviewUsesDefaultThemeAndIsClientCacheable in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ MediaTest.php - The CKEditor Widget must load a preview generated using the default theme.
- MediaTest::testTranslationAlt in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ MediaTest.php - Tests that dialog loads appropriate translation's alt text.
- MediaTest::testViewMode in core/
modules/ ckeditor/ tests/ src/ FunctionalJavascript/ MediaTest.php - Tests the EditorMediaDialog can set the data-view-mode attribute.
- MessageCommandTest::assertAnnounceContains in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ MessageCommandTest.php - Checks for inclusion of text in #drupal-live-announce.
- MessageCommandTest::assertAnnounceNotContains in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ MessageCommandTest.php - Checks for absence of the given text from #drupal-live-announce.
- MessageCommandTest::testMessageCommand in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ MessageCommandTest.php - Tests AJAX MessageCommand use in a form.
- ModalRendererTest::testModalRenderer in core/
modules/ system/ tests/ src/ FunctionalJavascript/ ModalRendererTest.php - Tests that links respect 'data-dialog-renderer' attribute.
- OffCanvasTest::assertOffCanvasDialog in core/
modules/ system/ tests/ src/ FunctionalJavascript/ OffCanvasTest.php - @internal
- OffCanvasTest::testNarrowWidth in core/
modules/ system/ tests/ src/ FunctionalJavascript/ OffCanvasTest.php - Tests the body displacement behaves differently at a narrow width.
- OffCanvasTest::testOffCanvasLinks in core/
modules/ system/ tests/ src/ FunctionalJavascript/ OffCanvasTest.php - Tests that non-contextual links will work with the off-canvas dialog.
- OliveroMessagesTest::testDataDrupalSelectors in core/
tests/ Drupal/ FunctionalJavascriptTests/ Theme/ OliveroMessagesTest.php - Tests data-drupal-selector="messages" exists.
- PasswordConfirmWidgetTest::setUp in core/
modules/ user/ tests/ src/ FunctionalJavascript/ PasswordConfirmWidgetTest.php - PasswordWidgetThemeFunctionTest::setUp in core/
modules/ user/ tests/ src/ FunctionalJavascript/ PasswordWidgetThemeFunctionTest.php - PasswordWidgetThemeFunctionTest::testPasswordConfirmWidgetJsComponents in core/
modules/ user/ tests/ src/ FunctionalJavascript/ PasswordWidgetThemeFunctionTest.php - Tests password widget theme functions and its deprecations.
- QuickEditAutocompleteTermTest::testAutocompleteQuickEdit in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ QuickEditAutocompleteTermTest.php - Tests Quick Edit autocomplete term behavior.
- QuickEditFileTest::testRemove in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ QuickEditFileTest.php - Tests if a file can be in-place removed with Quick Edit.
- QuickEditLoadingTest::testConcurrentEdit in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ QuickEditLoadingTest.php - Tests concurrent node edit.
- QuickEditLoadingTest::testImageField in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ QuickEditLoadingTest.php - Tests that Quick Edit can handle an image field.
- QuickEditLoadingTest::testTitleBaseField in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ QuickEditLoadingTest.php - Tests the loading of Quick Edit for the title base field.
- QuickEditLoadingTest::testUserPermissions in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ QuickEditLoadingTest.php - Tests the loading of Quick Edit with different permissions.
- RegistrationWithUserFieldsTest::setUp in core/
modules/ user/ tests/ src/ FunctionalJavascript/ RegistrationWithUserFieldsTest.php - SettingsTest::testCredentialForm in core/
modules/ migrate_drupal_ui/ tests/ src/ FunctionalJavascript/ SettingsTest.php - Test the Credential form with defaults in settings.php.
- SettingsTrayIntegrationTest::testQuickEditLinks in core/
modules/ quickedit/ tests/ src/ FunctionalJavascript/ SettingsTrayIntegrationTest.php - Tests QuickEdit links behavior.
- ThemeSettingsFormTest::testFormSettingsSubmissionHandler in core/
modules/ system/ tests/ src/ FunctionalJavascript/ ThemeSettingsFormTest.php - Tests that submission handler works correctly.
- ThrobberTest::testThemingThrobberElement in core/
tests/ Drupal/ FunctionalJavascriptTests/ Ajax/ ThrobberTest.php - Tests theming throbber element.
- TriggeringElementTest::testNoButtonInfoInPost in core/
modules/ system/ tests/ src/ FunctionalJavascript/ Form/ TriggeringElementTest.php - Tests the triggering element when no button information is included.
- ViewsListingTest::testFilterViewsListing in core/
modules/ views_ui/ tests/ src/ FunctionalJavascript/ ViewsListingTest.php - Tests the filtering on the Views listing page.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.