os-autoinst-distri-rocky/needles
Adam Williamson e9ce14a891 consolidate login waits, use postinstall not entrypoint for base
Summary:
I started out wanting to fix an issue I noticed today where
graphical upgrade tests were failing because they didn't wait
for the graphical login screen properly; the test was sitting
at the 'full Fedora logo' state of plymouth for a long time,
so the current boot_to_login_screen's wait_still_screen was
triggered by it and the function wound up failing on the
assert_screen, because it was still some time before the real
login screen appeared.

So I tweaked the boot_to_login_screen implementation to work
slightly differently (look for a login screen match, *then* -
if we're dealing with a graphical login - wait_still_screen
to defeat the 'old GPU buffer showing login screen' problem
and assert the login screen again). But while working on it,
I figured we really should consolidate all the various places
that handle the bootloader -> login, we were doing it quite
differently in all sorts of different places. And as part of
that, I converted the base tests to use POSTINSTALL (and thus
go through the shared _wait_login tests) instead of handling
boot themselves. As part of *that*, I tweaked main.pm to not
require all POSTINSTALL tests have the _postinstall suffix on
their names, as it really doesn't make sense, and renamed the
tests.

Test Plan: Run all tests, see if they work.

Reviewers: jskladan, garretraziel

Reviewed By: garretraziel

Subscribers: tflink

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D1015
2016-09-27 11:48:15 -07:00
..
anaconda add missing screenshots for new font needles (whoops) 2016-09-13 21:08:29 -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 consolidate login waits, use postinstall not entrypoint for base 2016-09-27 11:48:15 -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 consolidate login waits, use postinstall not entrypoint for base 2016-09-27 11:48:15 -07:00
kde consolidate login waits, use postinstall not entrypoint for base 2016-09-27 11:48:15 -07:00
.keep Decoupled tools from tests 2015-01-26 14:43:01 +01:00