Skip to content
Snippets Groups Projects
Commit 9dd0fccf authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-7160: Update run fules script

parent e01be963
No related branches found
No related tags found
2 merge requests!83ISTWCMS-7160 Fix service content type in testAutomaticListBlocksSettings in...,!81ISTWCMS-7160 Make existing Codeception tests pass
...@@ -50,12 +50,18 @@ for value in "${files[@]}"; do ...@@ -50,12 +50,18 @@ for value in "${files[@]}"; do
echo "*********************************************************" echo "*********************************************************"
echo "Current Test: $value" echo "Current Test: $value"
echo "*********************************************************" echo "*********************************************************"
echo "Setting up site ..." echo "Stopping chrome driver ..."
pgrep chrome | xargs kill -9 pgrep chrome | xargs kill -9
sleep 20s echo "Sleeping ..."
sleep 15s
echo "Dropping database ..."
drush sql-drop -y drush sql-drop -y
echo "Importing database ..."
drush sql-cli < "$sqlfile" drush sql-cli < "$sqlfile"
echo "Starting chrome driver ..."
chromedriver --port=9515 --url-base=/wd/hub & chromedriver --port=9515 --url-base=/wd/hub &
echo "Sleeping ..."
sleep 15s
echo "Done setting up site." echo "Done setting up site."
echo "*********************************************************" echo "*********************************************************"
echo "Starting test ... $value" echo "Starting test ... $value"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment