public function MediaEntityContext::assertSlideshow in Lightning Media 8.3
Asserts that a slideshow of media assets is present on the page.
@Then I should see a slideshow of media assets
File
- tests/
contexts/ MediaEntityContext.behat.inc, line 180
Class
- MediaEntityContext
- Contains step definitions for interacting with media entities.
Namespace
Acquia\LightningExtension\ContextCode
public function assertSlideshow() {
$assert = $this
->assertSession();
$assert
->elementExists('css', 'button.slick-prev.slick-arrow');
$assert
->elementExists('css', 'button.slick-next.slick-arrow');
}