You are here

public function ToggleEditableFieldsUiTest::assertDefaultFieldSettings in Toggle Editable fields 8

Assert default field settings are correctly set.

Throws

\Behat\Mink\Exception\ResponseTextException

1 call to ToggleEditableFieldsUiTest::assertDefaultFieldSettings()
ToggleEditableFieldsUiTest::testFieldUi in tests/src/Functional/ToggleEditableFieldsUiTest.php
Tests the boolean formatter field UI.

File

tests/src/Functional/ToggleEditableFieldsUiTest.php, line 140

Class

ToggleEditableFieldsUiTest
Tests the Form mode manager user interfaces.

Namespace

Drupal\Tests\toggle_editable_fields\Functional

Code

public function assertDefaultFieldSettings() {
  foreach (ToggleEditableFormatter::defaultSettings() as $value) {
    $this
      ->assertSession()
      ->pageTextContains($value);
  }
}