function DialogTest::testDialog

Ensure elements with #ajax['dialog'] render correctly.

File

drupal/core/modules/system/lib/Drupal/system/Tests/Ajax/DialogTest.php, line 25
Definition of Drupal\system\Tests\Ajax\DialogTest.

Class

DialogTest
Tests use of dialogs as wrappers for Ajax responses.

Namespace

Drupal\system\Tests\Ajax

Code

function testDialog() {

  // Ensure the elements render without notices or exceptions.
  $this
    ->drupalGet('ajax-test/dialog');

  // @todo What else should we assert?
}