You are here

public function UiDialogTest::testNodeAddPageReachable in Editor Advanced Image 8

Same name and namespace in other branches
  1. 8.2 tests/src/FunctionalJavascript/UiDialogTest.php \Drupal\Tests\editor_advanced_image\FunctionalJavascript\UiDialogTest::testNodeAddPageReachable()

Tests the node add page is reachable.

File

tests/src/FunctionalJavascript/UiDialogTest.php, line 126

Class

UiDialogTest
Tests event info pages and links.

Namespace

Drupal\Tests\editor_advanced_image\FunctionalJavascript

Code

public function testNodeAddPageReachable() {
  $this
    ->drupalLogin($this->adminUser);
  $this
    ->drupalGet('node/add/page');
  $this
    ->assertSession()
    ->elementExists('css', 'form.node-page-form');
}