From 82dc0f3c2e4f208ffaae4fab29c9f979b7221207 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Sat, 4 Jan 2025 13:58:53 -0500 Subject: [PATCH] Bug 1939789 - Add icon next to the 'Cookies' choice in the user drop down to be consistent with other menu choices --- qa/t/1_test_cookie_consent.t | 2 +- template/en/default/global/header.html.tmpl | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/qa/t/1_test_cookie_consent.t b/qa/t/1_test_cookie_consent.t index d87d6cebec..e66de42822 100644 --- a/qa/t/1_test_cookie_consent.t +++ b/qa/t/1_test_cookie_consent.t @@ -52,7 +52,7 @@ ok($last_order_cookie, 'Last order cookie set properly'); # Change cookie preferences to reject $sel->click_ok('header-account-menu-button'); -$sel->click_ok('link=Cookies'); +$sel->click_ok('//a[./span[@data-icon="cookie"]]'); $sel->wait_for_page_to_load(WAIT_TIME); $sel->title_is('Cookie Settings'); $sel->click_ok('cookie-radio-preference-no'); diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index cd423210b3..2663e8a6de 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -348,8 +348,11 @@ [% IF Param('cookie_consent_enabled') && Bugzilla.cgi.cookie_consent_required %] -
  • - Cookies +
  • + + + Cookies +
  • [% END %]