diff --git a/core/modules/views/src/Tests/Plugin/MiniPagerTest.php b/core/modules/views/src/Tests/Plugin/MiniPagerTest.php
index f39a9d6..69d7334b 100644
--- a/core/modules/views/src/Tests/Plugin/MiniPagerTest.php
+++ b/core/modules/views/src/Tests/Plugin/MiniPagerTest.php
@@ -70,6 +70,12 @@ public function testMiniPagerRender() {
     $this->assertText($this->nodes[18]->label());
     $this->assertText($this->nodes[19]->label());
 
+    // Test @total value in result summary
+    $this->drupalGet('test_mini_pager_total', array('query' => array('page' => 1)));
+    $this->assertText('of ' . count($this->nodes), 'The first page shows the total row count.');
+    $this->drupalGet('test_mini_pager_total', array('query' => array('page' => 6)));
+    $this->assertText('of ' . count($this->nodes), 'The last page shows the total row count.');
+
     // Test a mini pager with just one item per page.
     $this->drupalGet('test_mini_pager_one');
     $this->assertText('››');
diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_mini_pager.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_mini_pager.yml
index e65ea4a..289f83d 100644
--- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_mini_pager.yml
+++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_mini_pager.yml
@@ -118,3 +118,26 @@ display:
         type: mini
         options:
           items_per_page: 0
+  page_4:
+    display_plugin: page
+    id: page_4
+    display_title: 'Page 4'
+    position: 4
+    display_options:
+      display_extenders: {  }
+      path: test_mini_pager_total
+      empty: {  }
+      defaults:
+        empty: false
+        header: false
+      header:
+        result:
+          id: result
+          table: views
+          field: result
+          relationship: none
+          group_type: group
+          admin_label: ''
+          empty: false
+          content: 'Displaying @start - @end of @total'
+          plugin_id: result
