diff --git a/core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php b/core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php
index b8d3c65..d88d5d4 100644
--- a/core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php
+++ b/core/modules/menu/lib/Drupal/menu/Tests/MenuTest.php
@@ -374,6 +374,9 @@ function testMenuQueryAndFragment() {
     // Make a path with query and fragment on.
     $path = 'test-page?arg1=value1&arg2=value2';
     $item = $this->addMenuLink(0, $path);
+    
+    $this->drupalGet('admin/structure/menu/manage/' . $item['menu_name']);
+    $this->assertLinkByHref($path, 0, 'Path with query and fragment generated.');    
 
     $this->drupalGet('admin/structure/menu/item/' . $item['mlid'] . '/edit');
     $this->assertFieldByName('link_path', $path, 'Path is found with both query and fragment.');
