mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
Work around RHBZ #1439429 when running Firefox on X
This commit is contained in:
parent
e79d00500d
commit
654534e694
@ -34,6 +34,8 @@ sub add_user {
|
||||
# it's at a console ready to start Firefox.
|
||||
sub start_webui {
|
||||
my ($user, $password) = @_;
|
||||
# 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";
|
||||
type_string "startx /usr/bin/firefox -width 1024 -height 768 https://ipa001.domain.local\n";
|
||||
wait_still_screen 5;
|
||||
assert_screen "freeipa_webui_login";
|
||||
|
@ -268,6 +268,8 @@ sub start_cockpit {
|
||||
# on localhost) shown. If $login is truth-y, also log in. Assumes
|
||||
# X and Firefox are installed.
|
||||
my $login = shift || 0;
|
||||
# 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";
|
||||
# run firefox directly in X as root. never do this, kids!
|
||||
type_string "startx /usr/bin/firefox -width 1024 -height 768 http://localhost:9090\n";
|
||||
assert_screen "cockpit_login";
|
||||
|
Loading…
Reference in New Issue
Block a user