From 45514ae98537ce6788cfe594464b07b928d28439 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 7 Mar 2022 13:40:30 -0800 Subject: [PATCH] Don't look for System tab on gnome-text-editor on Silverblue Silverblue has an older version of g-t-e which does not have this tab. Signed-off-by: Adam Williamson --- tests/applications/gnome-text-editor/about.pm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tests/applications/gnome-text-editor/about.pm b/tests/applications/gnome-text-editor/about.pm index 0cd3e0fa..d01ea431 100644 --- a/tests/applications/gnome-text-editor/about.pm +++ b/tests/applications/gnome-text-editor/about.pm @@ -26,8 +26,11 @@ sub run { assert_screen "gte_credits_shown"; # Check the System tab - assert_and_click "gte_system_tab"; - assert_screen "gte_system_shown"; + # This doesn't show up on Silverblue yet, it's on an older version + unless (get_var("CANNED")) { + assert_and_click "gte_system_tab"; + assert_screen "gte_system_shown"; + } } sub test_flags {