public function ExtraFieldDisplayViewTest::testAllNodeTypesView in Extra Field 8
Same name and namespace in other branches
- 8.2 tests/src/Functional/ExtraFieldDisplayViewTest.php \Drupal\Tests\extra_field\Functional\ExtraFieldDisplayViewTest::testAllNodeTypesView()
Test if AllNodeTypes plugin is displayed on node page.
File
- tests/
src/ Functional/ ExtraFieldDisplayViewTest.php, line 40
Class
- ExtraFieldDisplayViewTest
- Tests the view of extra field Displays.
Namespace
Drupal\Tests\extra_field\FunctionalCode
public function testAllNodeTypesView() {
$url = $this->content
->toUrl();
$this
->drupalGet($url);
$this
->assertSession()
->pageTextContains('Output from AllNodeTypesTest');
}