You are here

public function IntegrationTest::testModule in Search API Autocomplete 8

Tests the complete functionality of the module via the UI.

File

tests/src/FunctionalJavascript/IntegrationTest.php, line 80

Class

IntegrationTest
Tests the functionality of the whole module from a user's perspective.

Namespace

Drupal\Tests\search_api_autocomplete\FunctionalJavascript

Code

public function testModule() {
  $this
    ->drupalLogin($this->adminUser);
  $this
    ->enableSearch();
  $this
    ->configureSearch();
  $this
    ->checkEntityDependencies();
  $this
    ->checkSearchAutocomplete();
  $this
    ->checkSearchAutocomplete(TRUE);
  $this
    ->checkLiveResultsAutocomplete();
  $this
    ->checkCustomAutocompleteScript();
  $this
    ->checkHooks();
  $this
    ->checkPluginCacheClear();
  $this
    ->checkAutocompleteAccess();
  $this
    ->checkAdminAccess();
}