function WebDriverTestBase::assertSession
Same name in other branches
- 9 core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php \Drupal\FunctionalJavascriptTests\WebDriverTestBase::assertSession()
- 8.9.x core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php \Drupal\FunctionalJavascriptTests\WebDriverTestBase::assertSession()
- 10 core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php \Drupal\FunctionalJavascriptTests\WebDriverTestBase::assertSession()
Overrides UiHelperTrait::assertSession
306 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.
- AdminUiTest::testFilterCheckboxesToggleSettings in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ AdminUiTest.php - Test that filter settings are only visible when the filter is enabled.
- AdminUiTest::testImageUploadSettingsAreValidated in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ AdminUiTest.php - Tests that image upload settings (stored out of band) are validated too.
- AdminUiTest::testLanguageConfigForm in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ AdminUiTest.php - Tests the language config form.
- AdminUiTest::testMessagesDoNotAccumulate in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ AdminUiTest.php - Ensure CKEditor 5 admin UI's real-time validation errors do not accumulate.
File
-
core/
tests/ Drupal/ FunctionalJavascriptTests/ WebDriverTestBase.php, line 209
Class
- WebDriverTestBase
- Runs a browser test using a driver that supports JavaScript.
Namespace
Drupal\FunctionalJavascriptTestsCode
public function assertSession($name = NULL) {
return new WebDriverWebAssert($this->getSession($name), $this->baseUrl);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.