You are here

protected function MediaBrowserEmbedCodeWidgetTest::chooseWidget in Lightning Media 8.3

Overrides MediaBrowserWidgetTestBase::chooseWidget

1 call to MediaBrowserEmbedCodeWidgetTest::chooseWidget()
MediaBrowserEmbedCodeWidgetTest::testDisambiguation in tests/src/Functional/MediaBrowserEmbedCodeWidgetTest.php

File

tests/src/Functional/MediaBrowserEmbedCodeWidgetTest.php, line 33

Class

MediaBrowserEmbedCodeWidgetTest
@group lightning_media

Namespace

Drupal\Tests\lightning_media\Functional

Code

protected function chooseWidget() {
  $this
    ->getSession()
    ->getPage()
    ->pressButton('Create embed');
  $this
    ->assertSession()
    ->fieldExists('input');
}