public function StyleSlideshowTest::testSlideshow in Views Slideshow 8.4
Test slideshow display.
File
- src/
Tests/ Plugin/ StyleSlideshowTest.php, line 51
Class
- StyleSlideshowTest
- Tests the slideshow style views plugin.
Namespace
Drupal\views_slideshow\Tests\PluginCode
public function testSlideshow() {
$this
->drupalGet('test-style-slideshow');
$result = $this
->cssSelect('.views_slideshow_main');
$this
->assertEqual(count($result), 1, 'Slideshow displayed on page');
}