function PreviewTest::testTaxonomyAJAX

Same name in other branches
  1. 8.9.x core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php \Drupal\Tests\views_ui\FunctionalJavascript\PreviewTest::testTaxonomyAJAX()
  2. 10 core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php \Drupal\Tests\views_ui\FunctionalJavascript\PreviewTest::testTaxonomyAJAX()
  3. 11.x core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php \Drupal\Tests\views_ui\FunctionalJavascript\PreviewTest::testTaxonomyAJAX()

Tests the taxonomy term preview AJAX.

This tests a specific regression in the taxonomy term view preview.

See also

https://www.drupal.org/node/2452659

File

core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php, line 117

Class

PreviewTest
Tests the UI preview functionality.

Namespace

Drupal\Tests\views_ui\FunctionalJavascript

Code

public function testTaxonomyAJAX() {
    \Drupal::service('module_installer')->install([
        'taxonomy',
    ]);
    $this->getPreviewAJAX('taxonomy_term', 'page_1', 0);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.