2019-09-18 10:31:54 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
2019-10-09 17:31:31 +00:00
|
|
|
#sudo apt update
|
2019-09-18 10:31:54 +00:00
|
|
|
|
|
|
|
# Install the X virtual framebuffer, which is required for selenium
|
|
|
|
# tests of the horizon dashboard.
|
|
|
|
sudo apt install -y xvfb npm libfontconfig1
|
2019-10-09 17:31:31 +00:00
|
|
|
phantomjs -v || sudo npm install -g phantomjs-prebuilt
|
2019-09-18 10:31:54 +00:00
|
|
|
# Verify that PhantomJS, our selenium web driver, works.
|
|
|
|
phantomjs -v
|