os-autoinst-distri-rocky/needles/console
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
..
french Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
anaconda_install_text_done.json add anaconda text UI test 2016-09-07 10:34:54 +02:00
anaconda_install_text_done.png add anaconda text UI test 2016-09-07 10:34:54 +02:00
anaconda_main_hub_text.json add anaconda text UI test 2016-09-07 10:34:54 +02:00
anaconda_main_hub_text.png add anaconda text UI test 2016-09-07 10:34:54 +02:00
anaconda_main_hub_text_unfinished.json add anaconda text UI test 2016-09-07 10:34:54 +02:00
anaconda_main_hub_text_unfinished.png add anaconda text UI test 2016-09-07 10:34:54 +02:00
anaconda_rescue_enter_password.json add anaconda rescue test on encrypted disk 2016-09-16 14:44:03 +02:00
anaconda_rescue_enter_password.png add anaconda rescue test on encrypted disk 2016-09-16 14:44:03 +02:00
anaconda_rescue_mounted.json add anaconda rescue test on encrypted disk 2016-09-16 14:44:03 +02:00
anaconda_rescue_mounted.png add anaconda rescue test on encrypted disk 2016-09-16 14:44:03 +02:00
anaconda_select_rescue.json add anaconda rescue test on encrypted disk 2016-09-16 14:44:03 +02:00
anaconda_select_rescue.png add anaconda rescue test on encrypted disk 2016-09-16 14:44:03 +02:00
anaconda_text_error.json add anaconda text UI test 2016-09-07 10:34:54 +02:00
anaconda_text_error.png add anaconda text UI test 2016-09-07 10:34:54 +02:00
anaconda_use_text_mode.json add anaconda text UI test 2016-09-07 10:34:54 +02:00
anaconda_use_text_mode.png add anaconda text UI test 2016-09-07 10:34:54 +02:00
boot_enter_passphrase-20160705.json add encrypted workstation upgrade tests (current and previous) 2016-07-08 08:56:57 -07:00
boot_enter_passphrase-20160705.png add encrypted workstation upgrade tests (current and previous) 2016-07-08 08:56:57 -07:00
boot_enter_passphrase-graphical.json add encrypted workstation upgrade tests (current and previous) 2016-07-08 08:56:57 -07:00
boot_enter_passphrase-graphical.png add encrypted workstation upgrade tests (current and previous) 2016-07-08 08:56:57 -07:00
boot_enter_passphrase.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
boot_enter_passphrase.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
boot_enter_passphrase2.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
boot_enter_passphrase2.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
bootloader_bios_installed.json make sure we get logs from failed kickstart installs 2016-09-20 10:51:51 -07:00
bootloader_bios_installed.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
bootloader_bios_live.json make sure we get logs from failed kickstart installs 2016-09-20 10:51:51 -07:00
bootloader_bios_live.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
bootloader_bios_offline.json make sure we get logs from failed kickstart installs 2016-09-20 10:51:51 -07:00
bootloader_bios_offline.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
bootloader_uefi.json make sure we get logs from failed kickstart installs 2016-09-20 10:51:51 -07:00
bootloader_uefi.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
console_initial_setup.json add ARM initial-setup test 2016-05-18 14:04:45 +02:00
console_initial_setup.png add ARM initial-setup test 2016-05-18 14:04:45 +02:00
console_initial_setup_done.json tweak initial_setup_done match for change in Rawhide 2016-09-28 13:41:33 -07:00
console_initial_setup_done.png add ARM initial-setup test 2016-05-18 14:04:45 +02:00
console_password_required.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
console_password_required.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
console_password_required2.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
console_password_required2.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
login_permission_denied.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
login_permission_denied.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
root_logged_in.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
root_logged_in.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
root_logged_in_biosfont.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
root_logged_in_biosfont.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
text_console_login.json consolidate login waits, use postinstall not entrypoint for base 2016-09-27 11:48:15 -07:00
text_console_login.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
upgrade_fail.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
upgrade_fail.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
user_logged_in-biosfont.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
user_logged_in-biosfont.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
user_logged_in-noprofile.json Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
user_logged_in-noprofile.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
user_logged_in.json Force GNOME to notify updates, re-enable test on Workstation 2016-10-27 16:23:59 -07:00
user_logged_in.png Organize needles to directories (step 2/2) 2016-05-13 13:43:31 +02:00
user_logged_in_qwerty.json add needle for qwerty user logged into console 2016-06-02 08:23:02 -07:00
user_logged_in_qwerty.png add needle for qwerty user logged into console 2016-06-02 08:23:02 -07:00