function MediaLibraryTestBase::assertMediaLibraryTable
Asserts that the table display of the widget view is visible.
1 call to MediaLibraryTestBase::assertMediaLibraryTable()
- MediaLibraryTestBase::switchToMediaLibraryTable in core/modules/ media_library/ tests/ src/ FunctionalJavascript/ MediaLibraryTestBase.php 
- Switches to the table display of the widget view.
File
- 
              core/modules/ media_library/ tests/ src/ FunctionalJavascript/ MediaLibraryTestBase.php, line 438 
Class
- MediaLibraryTestBase
- Base class for functional tests of Media Library functionality.
Namespace
Drupal\Tests\media_library\FunctionalJavascriptCode
protected function assertMediaLibraryTable() {
  $this->assertSession()
    ->elementExists('css', '.js-media-library-view[data-view-display-id="widget_table"]');
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
