diff --git a/core/modules/views/lib/Drupal/views/Tests/UI/OverrideDisplaysTest.php b/core/modules/views/lib/Drupal/views/Tests/UI/OverrideDisplaysTest.php
index b60f9d4..dd45683 100644
--- a/core/modules/views/lib/Drupal/views/Tests/UI/OverrideDisplaysTest.php
+++ b/core/modules/views/lib/Drupal/views/Tests/UI/OverrideDisplaysTest.php
@@ -96,7 +96,6 @@ function testWizardMixedDefaultOverriddenDisplays() {
     $view['block[title]'] = $this->randomName(16);
     $this->drupalPost('admin/structure/views/add', $view, t('Save and edit'));
 
-
     // Add a node that will appear in the view, so that the block will actually
     // be displayed.
     $this->drupalCreateNode();
@@ -116,8 +115,18 @@ function testWizardMixedDefaultOverriddenDisplays() {
     $this->drupalGet('admin/structure/block/list/block_plugin_ui:' . variable_get('theme_default', 'stark') . '/add');
     $this->assertText('View: ' . $view['human_name']);
 
-    // Place the block.
-    $this->drupalPlaceBlock("views_block:{$view['id']}-block_1");
+    // Put the block into the first sidebar region, and make sure it will not
+    // display on the view's page display (since we will be searching for the
+    // presence/absence of the view's title in both the page and the block).
+    $this->drupalPlaceBlock("views_block:{$view['id']}-block_1", array(
+      'visibility' => array(
+        'path' => array(
+          'visibility' => BLOCK_VISIBILITY_NOTLISTED,
+          'pages' => $view['page[path]'],
+        ),
+      ),
+    ));
+
     $this->drupalGet('');
     $this->assertText($view['block[title]']);
     $this->assertNoText($view['page[title]']);
@@ -132,6 +141,7 @@ function testWizardMixedDefaultOverriddenDisplays() {
     $this->assertResponse(200);
     $this->assertText($new_default_title);
     $this->assertNoText($view['page[title]']);
+    $this->assertNoText($view['block[title]']);
     $this->drupalGet($view['page[feed_properties][path]']);
     $this->assertResponse(200);
     $this->assertText($new_default_title);
@@ -151,6 +161,7 @@ function testWizardMixedDefaultOverriddenDisplays() {
     $this->drupalGet($view['page[path]']);
     $this->assertResponse(200);
     $this->assertText($new_default_title);
+    $this->assertNoText($new_block_title);
     $this->drupalGet($view['page[feed_properties][path]']);
     $this->assertResponse(200);
     $this->assertText($new_default_title);
