function PreviewTest::testTaxonomyAJAX

Same name in other branches
  1. 9 core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php \Drupal\Tests\views_ui\FunctionalJavascript\PreviewTest::testTaxonomyAJAX()
  2. 8.9.x core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php \Drupal\Tests\views_ui\FunctionalJavascript\PreviewTest::testTaxonomyAJAX()
  3. 10 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 119

Class

PreviewTest
Tests the UI preview functionality.

Namespace

Drupal\Tests\views_ui\FunctionalJavascript

Code

public function testTaxonomyAJAX() : void {
    \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.