1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-15 19:23:10 +00:00
os-autoinst-distri-fedora/needles/gnome
Adam Williamson 7b31b8263e Force GNOME to notify updates, re-enable test on Workstation
Summary:
GNOME's update notification criteria are pretty braindead: it
fires the update check timer once on login then once every hour
thereafter, but only actually checks for and notifies of updates
once a day if it's after 6am(?!?!?!). So we have to do a bunch
of fiddling around to ensure we reliably get a notification.
Move the clock to 6am if it's earlier than that, and reset the
'last update check' timer to 48 hours ago, then log in to GNOME
after that.

Note: I thought this still wasn't fully reliable, but I've looked
into all the recent failures of either test on staging and
there's only one which was really 'no update notification came
up', and the logs clearly indicate PK did run an update check,
so I don't think that was a test bug (I think something went
wrong with the update check). The other failures are all 'GNOME
did something wacky', plus one case where the needle didn't quite
match because I think the match area is slightly too tall; I'll
fix that in a second.

Test Plan:
Run the tests on both KDE and GNOME and check they
work properly now (assuming nothing unrelated breaks, like KDE
crashing...)

Reviewers: jskladan, garretraziel

Reviewed By: garretraziel

Subscribers: tflink

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D1039
2016-10-27 16:23:59 -07:00
..
desktop_clean-20160901.json add new font rendering needles for GNOME login 2016-09-01 10:41:22 -07:00
desktop_clean-20160901.png add new font rendering needles for GNOME login 2016-09-01 10:41:22 -07:00
desktop_clean-cantarell18.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_clean-cantarell18.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_clean-cantarell20.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_clean-cantarell20.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_clean-cantarell21.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_clean-cantarell21.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_clean-fedora25.json add new graphical_desktop_clean needle 2016-08-09 12:39:10 +02:00
desktop_clean-fedora25.png add new graphical_desktop_clean needle 2016-08-09 12:39:10 +02:00
desktop_clean-freetype262.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_clean-freetype262.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_clean.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_clean.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_no_notifications.json add a desktop notifications test 2016-09-23 16:03:13 -07:00
desktop_no_notifications.png add a desktop notifications test 2016-09-23 16:03:13 -07:00
desktop_package_tool_update_apply.json add a desktop_update_graphical test 2016-09-22 11:38:51 -07:00
desktop_package_tool_update_apply.png add a desktop_update_graphical test 2016-09-22 11:38:51 -07:00
desktop_package_tool_update_refresh.json add a desktop_update_graphical test 2016-09-22 11:38:51 -07:00
desktop_package_tool_update_refresh.png add a desktop_update_graphical test 2016-09-22 11:38:51 -07:00
desktop_package_tool_update.json add a desktop_update_graphical test 2016-09-22 11:38:51 -07:00
desktop_package_tool_update.png add a desktop_update_graphical test 2016-09-22 11:38:51 -07:00
desktop_runner-cantarell17.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_runner-cantarell17.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_runner.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_runner.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
desktop_update_notification_only.json Force GNOME to notify updates, re-enable test on Workstation 2016-10-27 16:23:59 -07:00
desktop_update_notification_only.png add a desktop notifications test 2016-09-23 16:03:13 -07:00
getting_started-20160901.json add new font rendering needles for GNOME login 2016-09-01 10:41:22 -07:00
getting_started-20160901.png add new font rendering needles for GNOME login 2016-09-01 10:41:22 -07:00
getting_started.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
getting_started.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
gnome_reboot_confirm.json add a desktop_update_graphical test 2016-09-22 11:38:51 -07:00
gnome_reboot_confirm.png add a desktop_update_graphical test 2016-09-22 11:38:51 -07:00
gnome_software_welcome.json add a desktop_update_graphical test 2016-09-22 11:38:51 -07:00
gnome_software_welcome.png add a desktop_update_graphical test 2016-09-22 11:38:51 -07:00
live_initial-20151204-lighter.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
live_initial-20151204-lighter.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
live_initial-20160409.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
live_initial-20160409.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
live_initial-gtk3195.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
live_initial-gtk3195.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
live_initial.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
live_initial.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
login_gdm_input-20160601.json add new GNOME login input 2016-06-27 12:17:45 +02:00
login_gdm_input-20160601.png add new GNOME login input 2016-06-27 12:17:45 +02:00
login_gdm_input-20160823.json tweak name of that last needle 2016-08-23 13:27:52 -07:00
login_gdm_input-20160823.png tweak name of that last needle 2016-08-23 13:27:52 -07:00
login_gdm_input.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
login_gdm_input.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
login_gdm.json consolidate login waits, use postinstall not entrypoint for base 2016-09-27 11:48:15 -07:00
login_gdm.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
next_button-20160823.json add a bunch of needles for changed font rendering 2016-08-25 16:01:26 -07:00
next_button-20160823.png add a bunch of needles for changed font rendering 2016-08-25 16:01:26 -07:00
next_button-20160824.json add changed font rendering next_button variant 2016-08-23 22:14:47 -07:00
next_button-20160824.png add changed font rendering next_button variant 2016-08-23 22:14:47 -07:00
next_button.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
next_button.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
skip_button.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
skip_button.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00