You are here

private function CkEditorMediaBrowserTest::applyFilters in Lightning Media 8.2

Applies exposed Views filters.

3 calls to CkEditorMediaBrowserTest::applyFilters()
CkEditorMediaBrowserTest::testDocumentEmbed in tests/src/ExistingSiteJavascript/CkEditorMediaBrowserTest.php
Tests that the image embed plugin is not used to embed a document.
CkEditorMediaBrowserTest::testExposedFilters in tests/src/ExistingSiteJavascript/CkEditorMediaBrowserTest.php
Tests exposed filters in the media browser.
CkEditorMediaBrowserTest::testImageEmbed in tests/src/ExistingSiteJavascript/CkEditorMediaBrowserTest.php
Tests that the image embed plugin is used to embed an image.

File

tests/src/ExistingSiteJavascript/CkEditorMediaBrowserTest.php, line 302

Class

CkEditorMediaBrowserTest
@group lightning @group lightning_media

Namespace

Drupal\Tests\lightning_media\ExistingSiteJavascript

Code

private function applyFilters() {
  $this->assert
    ->elementExists('css', '.views-exposed-form .form-actions input[type = "submit"]')
    ->press();
  $this->assert
    ->assertWaitOnAjaxRequest();
  sleep(2);
}