diff --git a/lib/installedtest.pm b/lib/installedtest.pm index 0d612174..bbbd271b 100644 --- a/lib/installedtest.pm +++ b/lib/installedtest.pm @@ -67,7 +67,7 @@ sub start_cockpit { my $self = shift; my $login = shift || 0; # run firefox directly in X as root. never do this, kids! - type_string "startx /usr/bin/firefox\n"; + type_string "startx /usr/bin/firefox -width 1024 -height 768\n"; assert_screen "firefox"; # open a new tab so we don't race with the default page load # (also focuses the location bar for us) diff --git a/tests/freeipa_password_change_postinstall.pm b/tests/freeipa_password_change_postinstall.pm index fbdbf816..aff08196 100644 --- a/tests/freeipa_password_change_postinstall.pm +++ b/tests/freeipa_password_change_postinstall.pm @@ -8,7 +8,7 @@ sub run { $self->console_login(user=>'root'); # clear browser data so we don't go back to the 'admin' login assert_script_run 'rm -rf /root/.mozilla'; - type_string "startx /usr/bin/firefox\n"; + type_string "startx /usr/bin/firefox -width 1024 -height 768\n"; assert_screen "firefox"; start_webui("test1", "batterystaple"); assert_and_click "freeipa_webui_actions"; diff --git a/tests/freeipa_webui_postinstall.pm b/tests/freeipa_webui_postinstall.pm index f894d1a5..332e9f77 100644 --- a/tests/freeipa_webui_postinstall.pm +++ b/tests/freeipa_webui_postinstall.pm @@ -8,7 +8,7 @@ sub run { # we're restarting firefox (instead of using the same one from # freeipa_client_postinstall) so Firefox's trusted CA store # refreshes and it trusts the web server cert - type_string "startx /usr/bin/firefox\n"; + type_string "startx /usr/bin/firefox -width 1024 -height 768\n"; assert_screen "firefox"; start_webui("admin", "monkeys123"); add_user("test3", "Three");