diff -u b/tests/search_api_test_excerpt/config/install/views.view.search_api_test_search_excerpt.yml b/tests/search_api_test_excerpt/config/install/views.view.search_api_test_search_excerpt.yml
--- b/tests/search_api_test_excerpt/config/install/views.view.search_api_test_search_excerpt.yml
+++ b/tests/search_api_test_excerpt/config/install/views.view.search_api_test_search_excerpt.yml
@@ -166,7 +166,7 @@
             preserve_tags: ''
             html: false
           element_type: ''
-          element_class: ''
+          element_class: 'excerpt'
           element_label_type: ''
           element_label_class: ''
           element_label_colon: false
diff -u b/tests/src/Functional/EmptyQueryStringExcerptTest.php b/tests/src/Functional/EmptyQueryStringExcerptTest.php
--- b/tests/src/Functional/EmptyQueryStringExcerptTest.php
+++ b/tests/src/Functional/EmptyQueryStringExcerptTest.php
@@ -15,7 +15,7 @@
 use Symfony\Component\DependencyInjection\ContainerInterface;
 
 /**
- * Tests the option to get excerpts when there is an empty query string
+ * Tests the option to get excerpts when there is an empty query string.
  *
  * @group search_api
  */
@@ -24,11 +24,15 @@
   use ExampleContentTrait;
 
   /**
+   * The test server.
+   *
    * @var \Drupal\search_api\ServerInterface
    */
   protected $server;
 
   /**
+   * The index mock used for the tests.
+   *
    * @var \Drupal\search_api\IndexInterface
    */
   protected $index;
@@ -69,17 +73,33 @@
   }
 
   /**
-   * Tests the functionality with excerpt_always disabled
+   * Tests the functionality with excerpt_always disabled.
    */
   public function testExcerptAlwaysDisabled() {
-    // @TODO
+    // Ensure that 'excerpt_always' is off.
+    $this->drupalGet('admin/config/search/search-api/index/' . $this->index->id() . '/processors');
+    $editForm = 'admin/config/search/search-api/index/' . $this->index->id() . '/processors';
+    $form = [
+      'status[highlight]' => 0,
+      'processors[highlight][settings][excerpt_always]' => 0,
+    ];
+    $this->drupalPostForm($editForm, $form, 'Save');
+
+    $this->index->indexItems();
+    $this->drupalGet('admin/config/search/search-api/index/' . $this->indexId);
+
+    // Get the output of the view created in search_api_test_excerpt module.
+    $this->drupalGet('search-api-test-search-excerpt');
+
+    // The text is one of the body text from ExampleContentTrait.
+    $this->assertSession()->pageTextNotContains('bar test casE');
   }
 
   /**
-   * Tests the functionality with excerpt_always enabled
+   * Tests the functionality with excerpt_always enabled.
    */
   public function testExcerptAlwaysEnabled() {
-    // Set the 'excerpt_always' setting
+    // Set the 'excerpt_always' setting.
     $this->drupalGet('admin/config/search/search-api/index/' . $this->index->id() . '/processors');
     $editForm = 'admin/config/search/search-api/index/' . $this->index->id() . '/processors';
     $form = [
@@ -90,10 +110,12 @@
 
-    // Reindex
     $this->index->indexItems();
     $this->drupalGet('admin/config/search/search-api/index/' . $this->indexId);
 
-    // Get the output of the view created in search_api_test_excerpt module
+    // Get the output of the view created in search_api_test_excerpt module.
     $this->drupalGet('search-api-test-search-excerpt');
-  }
 
+    // The text is one of the body text from ExampleContentTrait.
+    $this->assertSession()->pageTextContains('bar test casE');
+  }
+  
 }
