|
@@ -29,17 +29,17 @@ if ! kill -0 "$mtpid"; then
|
|
exit $mt_status
|
|
exit $mt_status
|
|
fi
|
|
fi
|
|
|
|
|
|
-echo "Starting Selenium server."
|
|
|
|
-java -jar "./node_modules/selenium-server/lib/runner/selenium-server-standalone-3.141.59.jar" &
|
|
|
|
-seleniumpid=$!
|
|
|
|
-sleep 3
|
|
|
|
|
|
+#echo "Starting Selenium server."
|
|
|
|
+#java -jar "./node_modules/selenium-server/lib/runner/selenium-server-standalone-3.141.59.jar" &
|
|
|
|
+#seleniumpid=$!
|
|
|
|
+#sleep 3
|
|
|
|
|
|
-#check if model transformer is dead
|
|
|
|
-if ! kill -0 "$seleniumpid"; then
|
|
|
|
- wait seleniumpid
|
|
|
|
- se_status=$?
|
|
|
|
- exit $se_status
|
|
|
|
-fi
|
|
|
|
|
|
+#check if selenium server is dead
|
|
|
|
+#if ! kill -0 "$seleniumpid"; then
|
|
|
|
+# wait seleniumpid
|
|
|
|
+# se_status=$?
|
|
|
|
+ # exit $se_status
|
|
|
|
+#fi
|
|
|
|
|
|
|
|
|
|
echo "Starting tests..."
|
|
echo "Starting tests..."
|
|
@@ -48,8 +48,9 @@ nightwatch
|
|
echo "Stopping server and mt script..."
|
|
echo "Stopping server and mt script..."
|
|
kill "$serverpid"
|
|
kill "$serverpid"
|
|
kill "$mtpid"
|
|
kill "$mtpid"
|
|
-kill "$seleniumpid"
|
|
|
|
|
|
+#kill "$seleniumpid"
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
+echo "Finished!"
|
|
|
|
|
|
-echo "Finished!"
|
|
|