Skip to content
Snippets Groups Projects

Draft: Resolve #2634854 "Add admin toolbar"

Open ressa requested to merge issue/drupal-2634854:2634854-add-admin-toolbar into 9.4.x
3 files
+ 88
1
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -168,11 +168,15 @@ public function testShortcutQuickLink() {
$this->clickLink('Cron');
$this->clickLink('Remove from Default shortcuts');
$this->assertSession()->pageTextContains('The shortcut Cron has been deleted.');
$this->drupalLogin($this->drupalCreateUser([
'access toolbar', 'access shortcuts', 'administer site configuration',
]));
$this->assertSession()->linkNotExists('Cron', 'Shortcut link removed from page');
$this->drupalGet('admin/structure');
$this->assertSession()->linkNotExists('Cron', 'Shortcut link removed from different page');
$this->drupalLogin($this->rootUser);
$this->drupalGet('admin/people');
// Test the "Add to shortcuts" link for a page generated by views.
Loading