You are here

protected function TestBase::openSettingsForm in Double Field 4.x

Same name and namespace in other branches
  1. 8.3 tests/src/FunctionalJavascript/TestBase.php \Drupal\Tests\double_field\FunctionalJavascript\TestBase::openSettingsForm()

Opens formatter form.

10 calls to TestBase::openSettingsForm()
FormatterTest::testAllowedValues in tests/src/FunctionalJavascript/FormatterTest.php
Test callback.
FormatterTest::testBooleanAndString in tests/src/FunctionalJavascript/FormatterTest.php
Test callback.
FormatterTest::testDateAndUri in tests/src/FunctionalJavascript/FormatterTest.php
Test callback.
FormatterTest::testDetailsFormatter in tests/src/FunctionalJavascript/FormatterTest.php
Test callback.
FormatterTest::testEmailAndTelephone in tests/src/FunctionalJavascript/FormatterTest.php
Test callback.

... See full list

File

tests/src/FunctionalJavascript/TestBase.php, line 218

Class

TestBase
Base class for Double Field JavaScript tests.

Namespace

Drupal\Tests\double_field\FunctionalJavascript

Code

protected function openSettingsForm() : void {
  $this
    ->getSession()
    ->getPage()
    ->pressButton($this->fieldName . '_settings_edit');
  $this
    ->assertSession()
    ->assertWaitOnAjaxRequest();
}