You are here

public function MediaLibraryContext::assertStatusFilter in Lightning Media 8.3

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

Asserts that the media overview can filter by publishing status.

@Then I should be able to filter media by publishing status

File

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

Class

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

Namespace

Acquia\LightningExtension\Context

Code

public function assertStatusFilter() {
  $this
    ->assertSession()
    ->fieldExists('Published status');
}