From 5b3776ceb42a89c3256539f934d9808c1aee81d9 Mon Sep 17 00:00:00 2001 From: Carlos Castillo Date: Tue, 3 Dec 2024 11:20:38 +0100 Subject: [PATCH] MDL-83593 theme_boost: Fix navbar site logo link --- theme/boost/templates/drawer.mustache | 9 ++++++++- theme/boost/tests/behat/primarynav.feature | 2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/theme/boost/templates/drawer.mustache b/theme/boost/templates/drawer.mustache index 9e8cc0008f0..ac005f71bad 100644 --- a/theme/boost/templates/drawer.mustache +++ b/theme/boost/templates/drawer.mustache @@ -47,7 +47,14 @@ > {{#pix}} e/cancel, core {{/pix}} - {{$drawerheading}}{{/drawerheading}} + + {{$drawerheading}}{{/drawerheading}} + diff --git a/theme/boost/tests/behat/primarynav.feature b/theme/boost/tests/behat/primarynav.feature index eaff9a624c5..f1fe69c07f2 100644 --- a/theme/boost/tests/behat/primarynav.feature +++ b/theme/boost/tests/behat/primarynav.feature @@ -54,6 +54,8 @@ Feature: Primary navigation And "Side panel" "button" should exist And I click on "Side panel" "button" And I should see "Home" in the "theme_boost-drawers-primary" "region" + And I click on "[data-region='site-home-link']" "css_element" + And I should see "Dashboard" in the "page-header" "region" @theme_boost Scenario: Guest users can only see the Home item in the primary navigation menu