function ContentTranslationViewsUITest::testViewsUI

Same name in other branches
  1. 8.9.x core/modules/content_translation/tests/src/Functional/Views/ContentTranslationViewsUITest.php \Drupal\Tests\content_translation\Functional\Views\ContentTranslationViewsUITest::testViewsUI()
  2. 10 core/modules/content_translation/tests/src/Functional/Views/ContentTranslationViewsUITest.php \Drupal\Tests\content_translation\Functional\Views\ContentTranslationViewsUITest::testViewsUI()
  3. 11.x core/modules/content_translation/tests/src/Functional/Views/ContentTranslationViewsUITest.php \Drupal\Tests\content_translation\Functional\Views\ContentTranslationViewsUITest::testViewsUI()

Tests the views UI.

File

core/modules/content_translation/tests/src/Functional/Views/ContentTranslationViewsUITest.php, line 36

Class

ContentTranslationViewsUITest
Tests the views UI when content_translation is enabled.

Namespace

Drupal\Tests\content_translation\Functional\Views

Code

public function testViewsUI() {
    $this->drupalGet('admin/structure/views/view/test_view/edit');
    $this->assertSession()
        ->titleEquals('Test view (Views test data) | Drupal');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.