Commit fb79d8cc authored by Aaron Barnes's avatar Aaron Barnes
Browse files

test/behat/mahara_behat.sh: Revert addition of xvfb

This made writing and debugging Behat scripts difficult
as Firefox is hidden from view while the tests run

Change-Id: I18615cc2a5f355f7a65dd14a32d27427f7ddf347
parent 86c2e304
......@@ -61,11 +61,7 @@ then
echo "Downloaded"
fi
# we want to run selenium headless on a different display - this allows for that ;)
echo "Starting Xvfb ..."
Xvfb :10 -ac > /dev/null 2>&1 & echo "PID [$!]"
DISPLAY=:10 nohup java -jar $SELENIUM_PATH > /dev/null 2>&1 & echo $!
java -jar $SELENIUM_PATH &> /dev/null &
sleep 5
if is_selenium_running; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment