You are here

protected function DeveloperAppFieldTest::formRegionTest in Apigee Edge 8

Tests form regions.

1 call to DeveloperAppFieldTest::formRegionTest()
DeveloperAppFieldTest::testFieldableDeveloperApp in tests/src/Functional/DeveloperAppFieldTest.php
Tests fieldable developer app entity.

File

tests/src/Functional/DeveloperAppFieldTest.php, line 426

Class

DeveloperAppFieldTest
Fieldable developer app test.

Namespace

Drupal\Tests\apigee_edge\Functional

Code

protected function formRegionTest() {
  $this
    ->assertFieldVisibleOnEntityForm('Callback URL');
  $this
    ->submitFormDisplay([
    'callbackUrl' => 'hidden',
  ]);
  $this
    ->assertFieldVisibleOnEntityForm('Callback URL', FALSE);
  $this
    ->submitFormDisplay([
    'callbackUrl' => 'content',
  ]);
  $this
    ->assertFieldVisibleOnEntityForm('Callback URL');
}