Same name and namespace in other branches
- 8.x-4.x tests/src/Functional/Plugin/StyleSlideshowTest.php \Drupal\Tests\views_slideshow\Functional\Plugin\StyleSlideshowTest::testSlideshow()
Test slideshow display.
File
-
tests/
src/ Functional/ Plugin/ StyleSlideshowTest.php, line 58
Class
- StyleSlideshowTest
- Tests the slideshow style views plugin.
Namespace
Drupal\Tests\views_slideshow\Functional\PluginCode
public function testSlideshow() {
$this->drupalGet('test-style-slideshow');
$result = $this->cssSelect('.views_slideshow_main');
$this->assertEquals(count($result), 1, 'Slideshow displayed on page');
}