public function MediaLibraryContext::visitLibrary in Lightning Media 8.2
Same name and namespace in other branches
- 8.3 tests/contexts/MediaLibraryContext.behat.inc \Acquia\LightningExtension\Context\MediaLibraryContext::visitLibrary()
Visits the media overview (library).
@When I visit the media library
1 call to MediaLibraryContext::visitLibrary()
- MediaLibraryContext::assertMediaInLibrary in tests/
contexts/ MediaLibraryContext.behat.inc - Asserts that a media item is in the media library.
File
- tests/
contexts/ MediaLibraryContext.behat.inc, line 65
Class
Namespace
Acquia\LightningExtension\ContextCode
public function visitLibrary() {
/** @var MinkContext $context */
$context = $this
->getContext(MinkContext::class);
$context
->assertAtPath('/admin/content/media');
}