mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-29 00:53:09 +00:00
Tweak desktop_notifications to work around #1821499 (again)
...this one should really work! Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
19677de20a
commit
252013fe3a
@ -21,7 +21,8 @@ sub run {
|
|||||||
do_bootloader(postinstall=>0, params=>'3');
|
do_bootloader(postinstall=>0, params=>'3');
|
||||||
}
|
}
|
||||||
boot_to_login_screen;
|
boot_to_login_screen;
|
||||||
$self->root_console(tty=>3);
|
# use tty1 to avoid RHBZ #1821499 on F32 Workstation live
|
||||||
|
$self->root_console(tty=>1);
|
||||||
# ensure we actually have some package updates available
|
# ensure we actually have some package updates available
|
||||||
prepare_test_packages;
|
prepare_test_packages;
|
||||||
if ($desktop eq 'gnome') {
|
if ($desktop eq 'gnome') {
|
||||||
@ -50,7 +51,8 @@ sub run {
|
|||||||
console_login(user=>'root', password=>get_var('ROOT_PASSWORD', 'weakpassword'));
|
console_login(user=>'root', password=>get_var('ROOT_PASSWORD', 'weakpassword'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
assert_script_run 'systemctl isolate graphical.target';
|
# can't use assert_script_run here as long as we're on tty1
|
||||||
|
type_string "systemctl isolate graphical.target\n";
|
||||||
# we trust systemd to switch us to the right tty here
|
# we trust systemd to switch us to the right tty here
|
||||||
if (get_var("BOOTFROM")) {
|
if (get_var("BOOTFROM")) {
|
||||||
assert_screen 'graphical_login';
|
assert_screen 'graphical_login';
|
||||||
|
Loading…
Reference in New Issue
Block a user