Disable automatic reporting during the initial setup

This commit is contained in:
Lukáš Růžička 2026-04-21 13:47:36 +02:00
commit f151f974d8
2 changed files with 6 additions and 4 deletions

View file

@ -53,6 +53,10 @@ sub handle_privacy {
record_soft_failure("Autoreporting is not enabled by default which was expected.");
assert_and_click("gis_radio_reporting_enable");
}
# Disable automatic reporting to test that we can turn options off
assert_and_click("gis_radio_reporting_disable");
assert_and_click("next_button");
}

View file

@ -90,12 +90,10 @@ sub run {
qr/^LANG=cs_CZ\.UTF-8$/m
);
# Check that automatic reporting is enabled.
# This is the most likely key. If this ever fails because the key changed,
# replace it with the exact key confirmed by a one-time gsettings diff.
# Check that automatic reporting is disabled.
assert_as_user_eq($user,
q{gsettings get org.gnome.desktop.privacy report-technical-problems},
'true'
'false'
);
}