You are here

public function ProcessorIntegrationTest::testSortingWidgets in Facets 8

Tests the for sorting processors in the frontend with a 'keywords' facet.

File

tests/src/Functional/ProcessorIntegrationTest.php, line 322

Class

ProcessorIntegrationTest
Tests the processor functionality.

Namespace

Drupal\Tests\facets\Functional

Code

public function testSortingWidgets() {
  $facet_name = "Huacaya alpaca";
  $facet_id = "huacaya_alpaca";
  $this->editForm = 'admin/config/search/facets/' . $facet_id . '/edit';
  $this
    ->createFacet($facet_name, $facet_id, 'keywords');
  $this
    ->checkSortByActive();
  $this
    ->checkSortByCount();
  $this
    ->checkSortByDisplay();
  $this
    ->checkSortByRaw();
}