3 namespace Drupal\taxonomy\Tests\Views;
5 use Drupal\views\Tests\ViewTestData;
6 use Drupal\views_ui\Tests\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() {
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.');