public function CKEditorMediaBrowserTest::assertSession in Lightning Media 8.3
Returns WebAssert object.
Parameters
string $name: (optional) Name of the session. Defaults to the active session.
Return value
\Drupal\Tests\WebAssert A new web-assert option for asserting the presence of elements with.
Overrides WebDriverTestBase::assertSession
3 calls to CKEditorMediaBrowserTest::assertSession()
- CKEditorMediaBrowserTest::testExposedFilters in tests/
src/ FunctionalJavascript/ CKEditorMediaBrowserTest.php - Tests exposed filters in the media browser.
- CKEditorMediaBrowserTest::testImageEmbed in tests/
src/ FunctionalJavascript/ CKEditorMediaBrowserTest.php - Tests that the image embed plugin is used to embed an image.
- CKEditorMediaBrowserTest::testUnlimitedCardinality in tests/
src/ FunctionalJavascript/ CKEditorMediaBrowserTest.php - Tests that cardinality is never enforced in the media browser.
File
- tests/
src/ FunctionalJavascript/ CKEditorMediaBrowserTest.php, line 318
Class
- CKEditorMediaBrowserTest
- Tests the media browser's integration with CKEditor.
Namespace
Drupal\Tests\lightning_media\FunctionalJavascriptCode
public function assertSession($name = NULL) {
return new WebDriverWebAssert($this
->getSession($name), $this->baseUrl);
}