You are here

public function MediaLibraryContext::assertNameFilter in Lightning Media 8.3

Same name and namespace in other branches
  1. 8.2 tests/contexts/MediaLibraryContext.behat.inc \Acquia\LightningExtension\Context\MediaLibraryContext::assertNameFilter()

Asserts that the media overview can filter by media name.

@Then I should be able to filter media by name

File

tests/contexts/MediaLibraryContext.behat.inc, line 124

Class

MediaLibraryContext
Contains step definitions to interact with the administrative media library.

Namespace

Acquia\LightningExtension\Context

Code

public function assertNameFilter() {
  $this
    ->assertSession()
    ->fieldExists('Media name');
}