From 030260869107fcd33222c4896178eb51e3c12263 Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Mon, 25 Nov 2024 19:39:59 -0500 Subject: [PATCH] Fix tests --- qa/t/lib/QA/Util.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/qa/t/lib/QA/Util.pm b/qa/t/lib/QA/Util.pm index 5635a357d6..128caf4915 100644 --- a/qa/t/lib/QA/Util.pm +++ b/qa/t/lib/QA/Util.pm @@ -329,6 +329,10 @@ sub go_to_bug { $sel->click_ok('mode-btn-readonly', 'Click Edit Bug') if !$no_edit; $sel->click_ok('action-menu-btn', 'Expand action menu'); $sel->click_ok('action-expand-all', 'Expand all modal panels'); + + # Remove the blue New Changes link because the sticky banner causes a click interception issue in + # Selenium that cannot be reproduced in real browser environments + $sel->driver->execute_script('document.querySelector(\'.new-changes-link\')?.remove();'); } # Go to admin.cgi.