mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-30 17:33:07 +00:00
20620236b3
Move the xauth disablement and the disabling of studies into _setup_browser, instead of repeating it in a couple of other places (but *not* doing it in the zezere test, where we should be doing it). Drop some explicit package installs that should no longer be needed as Firefox and/or X.org now depend on those things. Install the current default fonts (Noto), not the old ones (DejaVu). Signed-off-by: Adam Williamson <awilliam@redhat.com>
27 lines
750 B
Perl
27 lines
750 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
# set up appropriate repositories
|
|
repo_setup();
|
|
# install X environment
|
|
assert_script_run "dnf -y groupinstall 'base-x'", 300;
|
|
# install firefox, plus our basic default fonts to try and avoid
|
|
# random weird font selection happening
|
|
assert_script_run "dnf -y install firefox google-noto-sans-vf-fonts google-noto-sans-mono-vf-fonts google-noto-serif-vf-fonts", 180;
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1439429
|
|
assert_script_run "sed -i -e 's,enable_xauth=1,enable_xauth=0,g' /usr/bin/startx";
|
|
disable_firefox_studies;
|
|
}
|
|
|
|
sub test_flags {
|
|
return {fatal => 1, milestone => 1};
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|