Skip to content

Commit

Permalink
test: use xvfb-run instead of (broken) init.d script
Browse files Browse the repository at this point in the history
  • Loading branch information
stklcode committed Sep 17, 2024
1 parent 5dbd8f1 commit 3aeff28
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions bin/behat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ wait_for_port() {
sleep $NAP_LENGTH
done
}
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start
sleep 1

#wget -c -nc --retry-connrefused --tries=0 https://bit.ly/2TlkRyu -O selenium-server-standalone.jar
wget -c -nc --retry-connrefused --tries=0 https://chromedriver.storage.googleapis.com/91.0.4472.19/chromedriver_linux64.zip -O driver.zip
Expand Down Expand Up @@ -54,4 +51,4 @@ ls $WORDPRESS_PATH/wp-content/plugins
vendor/bin/wp --path=$WORDPRESS_PATH plugin activate antispam-bee
vendor/bin/wp --path=$WORDPRESS_PATH theme activate twentynineteen

vendor/bin/behat
xvfb-run --auto-servernum vendor/bin/behat

0 comments on commit 3aeff28

Please sign in to comment.