diff --git a/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php b/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php
index e7261628722875dfc498235ab59aff2557b25d31..adb048586a1e65e745297e8b1ed67272e40c4b00 100644
--- a/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php
+++ b/core/modules/views/lib/Drupal/views/Tests/UI/DisplayTest.php
@@ -19,6 +19,13 @@ class DisplayTest extends UITestBase {
    */
   public static $testViews = array('test_display');
 
+  /**
+   * Modules to enable
+   *
+   * @var array
+   */
+  public static $modules = array('contextual');
+
   public static function getInfo() {
     return array(
       'name' => 'Display tests',
@@ -209,7 +216,7 @@ public function testDisplayPluginsAlter() {
 
     $expected = array(
       'parent path' => 'admin/structure/views/view',
-      'argument properties' => array('name'),
+      'argument properties' => array('id'),
     );
 
     // Test the expected views_ui array exists on each definition.
@@ -268,4 +275,15 @@ public function testLinkDisplay() {
     $this->assertLink(t('Custom URL'), 0, 'The link option has custom url as summary.');
   }
 
+  /**
+   * Tests contextual links on Views page displays.
+   */
+  public function testPageContextualLinks() {
+    $this->drupalLogin($this->drupalCreateUser(array('administer views', 'access contextual links')));
+    $view = entity_load('view', 'test_display');
+    $view->enable();
+    $this->drupalGet('test-display');
+    $this->assertLinkByHref("admin/structure/views/view/{$view->id()}/edit/page_1");
+  }
+
 }
diff --git a/core/modules/views/views_ui/views_ui.module b/core/modules/views/views_ui/views_ui.module
index 51571951d4948d0ae441a362a98e4150dd5a585f..8ab01be0c970fcb4bf57f2785702381702a3768d 100644
--- a/core/modules/views/views_ui/views_ui.module
+++ b/core/modules/views/views_ui/views_ui.module
@@ -495,7 +495,7 @@ function views_ui_views_plugins_display_alter(&$plugins) {
   foreach ($plugins as &$display) {
     $display['contextual links']['views_ui'] = array(
       'parent path' => 'admin/structure/views/view',
-      'argument properties' => array('name'),
+      'argument properties' => array('id'),
     );
   }
 }