diff --git a/core/modules/shortcut/src/Tests/ShortcutLinksTest.php b/core/modules/shortcut/src/Tests/ShortcutLinksTest.php index 494b473..056a6a7 100644 --- a/core/modules/shortcut/src/Tests/ShortcutLinksTest.php +++ b/core/modules/shortcut/src/Tests/ShortcutLinksTest.php @@ -163,6 +163,9 @@ public function testShortcutQuickLink() { $this->drupalGet('node/add/article'); $link = $this->xpath('//a[normalize-space()=:label]', array(':label' => 'Remove from Default shortcuts')); $this->assertTrue(empty($link), 'Link Remove to Default shortcuts not found for Create Article page.'); + // Add Shortcut for Article. + $this->clickLink('Add to Default shortcuts'); + $this->assertText('Added a shortcut for Create Article.'); } /**