From a3ccfff38bea778a0196e99d183b600242121483 Mon Sep 17 00:00:00 2001 From: Ladislav Smola Date: Mon, 27 May 2013 14:02:56 +0200 Subject: [PATCH] Doc added for Running selenium tests in VM - Adding documentation and list of steps for running a selenium test on minimal installation VM via ssh. Fixes: bug 1184541 Change-Id: I3eda98668212bb6764fd6c6e8a6399748859921e --- doc/source/ref/run_tests.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/source/ref/run_tests.rst b/doc/source/ref/run_tests.rst index 2ffdcc0c61..ca7c7ce18d 100644 --- a/doc/source/ref/run_tests.rst +++ b/doc/source/ref/run_tests.rst @@ -40,6 +40,18 @@ Selenium tests by using the ``--with-selenium`` flag:: ./run_tests.sh --with-selenium +If you run horizon in a minimal installation VM, you will probably need +the following (steps for Fedora 18 minimal installation): + + #. Install these packages in the VM: + ``yum install xorg-x11-xauth xorg-x11-fonts-Type1.noarch``. + #. Install firefox in the VM: + ``yum install firefox``. + #. Connect to the VM by ``ssh -X`` + (if you run ``set|grep DISP``, you should see that the DISPLAY is set). + #. Run + ``./run_tests.sh --with-selenium``. + Running a subset of tests -------------------------