You are here

private function EmbeddedMediaTest::open in Lightning Media 8.3

Opens the media browser.

2 calls to EmbeddedMediaTest::open()
EmbeddedMediaTest::testEmbedCodeBasedEmbeddedMedia in tests/src/FunctionalJavascript/EmbeddedMediaTest.php
Tests embedding embed code-based media, with no image options.
EmbeddedMediaTest::testEmbedImageMedia in tests/src/FunctionalJavascript/EmbeddedMediaTest.php
Tests embedding image media with custom alt and title text.

File

tests/src/FunctionalJavascript/EmbeddedMediaTest.php, line 207

Class

EmbeddedMediaTest
Tests embedding media items in CKEditor using the media browser.

Namespace

Drupal\Tests\lightning_media\FunctionalJavascript

Code

private function open() {
  $this
    ->executeEditorCommand('editdrupalentity', NULL, [
    'id' => 'media_browser',
  ]);
  $this
    ->waitForEntityBrowser('ckeditor_media_browser');
}