You are here

public function ExtraFieldDisplayViewTest::testAllNodeTypesView in Extra Field 8.2

Same name and namespace in other branches
  1. 8 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\Functional

Code

public function testAllNodeTypesView() {
  $url = $this->content
    ->toUrl();
  $this
    ->drupalGet($url);
  $this
    ->assertSession()
    ->pageTextContains('Output from AllNodeTypesTest');
}