/**
* Tests the taxonomy term preview AJAX.
*
* This tests a specific regression in the taxonomy term view preview.
*
* @see https://www.drupal.org/node/2452659
*/
public function testTaxonomyAJAX() { \Drupal::
service('module_installer'
)->
install(['taxonomy'
]);
$this->
getPreviewAJAX('taxonomy_term', 'page_1', 0
);
} /**
* Tests pagers in the preview form.
*/
public function testPreviewWithPagersUI() { // Create 11 nodes and make sure that everyone is returned.
$this->
drupalCreateContentType(['type' => 'page'
]);
for ($i = 0;
$i < 11;
$i++
) { $this->
drupalCreateNode();
}