You are here

public function FormModeManagerUiTest::testEntityFormModeManagerExcludeMalFormedEntities in Form mode manager 8

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/FormModeManagerUiTest.php \Drupal\Tests\form_mode_manager\Functional\FormModeManagerUiTest::testEntityFormModeManagerExcludeMalFormedEntities()

Tests the Form Mode Manager user interface.

File

tests/src/Functional/FormModeManagerUiTest.php, line 79

Class

FormModeManagerUiTest
Tests the Form mode manager user interfaces.

Namespace

Drupal\Tests\form_mode_manager\Functional

Code

public function testEntityFormModeManagerExcludeMalFormedEntities() {
  $this
    ->drupalLogin($this->adminUser);
  $this
    ->drupalGet('admin/config/content/form_mode_manager');
  $this
    ->assertSession()
    ->elementNotExists('xpath', '//select[contains(@name, "element_entity_test[]")]');
}