You are here

public function PreviewTest::testTaxonomyAJAX in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views_ui/tests/src/FunctionalJavascript/PreviewTest.php \Drupal\Tests\views_ui\FunctionalJavascript\PreviewTest::testTaxonomyAJAX()
  2. 9 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);
}