3 namespace Drupal\comment\Tests\Views;
6 * Tests the comment row plugin.
10 class CommentRowTest extends CommentTestBase {
13 * Views used by this test.
17 public static $testViews = ['test_comment_row'];
22 public function testCommentRow() {
23 $this->drupalGet('test-comment-row');
25 $result = $this->xpath('//article[contains(@class, "comment")]');
26 $this->assertEqual(1, count($result), 'One rendered comment found.');