From 891868e77a429bbc7b5ec644671381c1accd3e57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20R=C5=AF=C5=BEi=C4=8Dka?= Date: Wed, 5 Mar 2025 14:16:08 +0100 Subject: [PATCH] Avoid update notifications in start-stop tests. Sometimes, update notification would pop up during the testing and prevent the needles from being matched correctly. The addition to the code makes the notifications go away for updates. --- tests/apps_gnome_preset.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/apps_gnome_preset.pm b/tests/apps_gnome_preset.pm index ae6c4d6e..20ffc32b 100644 --- a/tests/apps_gnome_preset.pm +++ b/tests/apps_gnome_preset.pm @@ -10,6 +10,8 @@ sub run { my $self = shift; # Change the background to black. solidify_wallpaper; + # Surpress the update notification + set_update_notification_timestamp(); } # If this test fails, the others will probably start failing too,