3 namespace Drupal\Tests\taxonomy\Functional\Views;
5 use Drupal\views\Tests\ViewTestData;
6 use Drupal\Tests\views_ui\Functional\UITestBase;
9 * Tests views taxonomy parent plugin UI.
12 * @see Drupal\taxonomy\Plugin\views\access\Role
14 class TaxonomyParentUITest extends UITestBase {
17 * Views used by this test.
21 public static $testViews = ['test_taxonomy_parent'];
28 public static $modules = ['taxonomy', 'taxonomy_test_views'];
33 protected function setUp($import_test_views = TRUE) {
34 parent::setUp($import_test_views);
36 ViewTestData::createTestViews(get_class($this), ['taxonomy_test_views']);
40 * Tests the taxonomy parent plugin UI.
42 public function testTaxonomyParentUI() {
43 $this->drupalGet('admin/structure/views/nojs/handler/test_taxonomy_parent/default/relationship/parent');
44 $this->assertNoText('The handler for this item is broken or missing.');