diff --git a/core/modules/views/src/Tests/Handler/AreaTitleWebTest.php b/core/modules/views/src/Tests/Handler/AreaTitleWebTest.php
new file mode 100644
index 0000000..3f009e2
--- /dev/null
+++ b/core/modules/views/src/Tests/Handler/AreaTitleWebTest.php
@@ -0,0 +1,66 @@
+<?php
+
+/**
+ * @file
+ * Contains \Drupal\views\Tests\Handler\AreaTitleWebTest.
+ */
+
+namespace Drupal\views\Tests\Handler;
+
+use Drupal\views\Entity\View;
+use Drupal\views\Tests\ViewTestBase;
+use Drupal\views\Views;
+use Symfony\Component\HttpFoundation\Request;
+
+/**
+ * Tests the title area handler with a web test.
+ *
+ * @group views
+ * @see \Drupal\views\Plugin\views\area\Title
+ */
+class AreaTitleWebTest extends ViewTestBase {
+
+  /**
+   * Views used by this test.
+   *
+   * @var array
+   */
+  public static $testViews = ['test_area_title'];
+
+  /**
+   * {@inheritdoc}
+   */
+  protected function setUp() {
+    parent::setUp();
+
+    $this->enableViewsTestModule();
+  }
+
+  /**
+   * Tests the title area handler.
+   */
+  public function testTitleText() {
+    $this->drupalGet('test-area-title');
+    $this->assertTitle('test_title_header | Drupal');
+
+    // Check the view to return no result.
+    /** @var \Drupal\views\Entity\View $view */
+    $view = View::load('test_area_title');
+    $display =& $view->getDisplay('default');
+    $display['display_options']['filters']['id'] = [
+      'field' => 'id',
+      'id' => 'id',
+      'table' => 'views_test_data',
+      'relationship' => 'none',
+      'plugin_id' => 'numeric',
+      'provider' => 'views_test_data',
+      'value' => 1000,
+    ];
+    $view->save();
+
+    $this->drupalGet('test-area-title');
+    $this->assertTitle('test_title_empty | Drupal');
+  }
+
+}
+
diff --git a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_area_title.yml b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_area_title.yml
index 219bc95..d5eb231 100644
--- a/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_area_title.yml
+++ b/core/modules/views/tests/modules/views_test_config/test_views/views.view.test_area_title.yml
@@ -46,8 +46,8 @@ display:
     position: 0
   page_1:
     display_options:
+      path: test-area-title
       defaults:
-        empty: '0'
         header: '0'
       header:
         title:
