1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-20 13:03:09 +00:00
os-autoinst-distri-fedora/needles
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
..
anaconda update some iscsi needles for current f25 (and rawhide) 2016-10-27 00:35:42 -07:00
browser add QA:Testcase_desktop_browser test 2016-08-03 13:22:29 -07:00
cockpit add a bunch of variant needles for cockpit and freeipa webuis 2016-09-08 09:48:23 -07:00
console Force GNOME to notify updates, re-enable test on Workstation 2016-10-27 16:23:59 -07:00
firefox add a few more needle updates for font rendering changes 2016-08-29 15:23:24 -07:00
freeipa some more variant needles for freeipa webui 2016-09-08 10:57:04 -07:00
gnome Force GNOME to notify updates, re-enable test on Workstation 2016-10-27 16:23:59 -07:00
kde tweak kde installer icon a bit more 2016-10-10 09:34:36 -07:00
.keep Decoupled tools from tests 2015-01-26 14:43:01 +01:00