3 namespace Drupal\views_ui\Tests;
4 use Drupal\simpletest\WebTestBase;
7 * Tests existence of the views plugin report.
11 class ReportTest extends WebTestBase {
18 public static $modules = ['views', 'views_ui'];
21 * Stores an admin user used by the different tests.
23 * @var \Drupal\user\User
27 protected function setUp() {
29 $this->adminUser = $this->drupalCreateUser(['administer views']);
33 * Tests the existence of the views plugin report.
35 public function testReport() {
36 $this->drupalLogin($this->adminUser);
38 // Test the report page.
39 $this->drupalGet('admin/reports/views-plugins');
40 $this->assertResponse(200, "Views report page exists");