summaryrefslogtreecommitdiffstats
path: root/install/ui/test/bin/selenium.sh
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-08-15 09:53:11 +0200
committerMartin Kosek <mkosek@redhat.com>2013-08-15 13:17:40 +0200
commited3791d2f372257a1aab43043ea34d32bc6f610d (patch)
tree699cd2e9e5b01e7f3fce8755688b525249ae7be3 /install/ui/test/bin/selenium.sh
parent1fa0f778786e451a21d78a291cd4e2762f9d028b (diff)
downloadfreeipa.git-ed3791d2f372257a1aab43043ea34d32bc6f610d.tar.gz
freeipa.git-ed3791d2f372257a1aab43043ea34d32bc6f610d.tar.xz
freeipa.git-ed3791d2f372257a1aab43043ea34d32bc6f610d.zip
Removal of deprecated selenium tests
Tests were deprecated by new FreeIPA 3.3 Web UI integration tests (ticket #3744). https://fedorahosted.org/freeipa/ticket/3857
Diffstat (limited to 'install/ui/test/bin/selenium.sh')
-rwxr-xr-xinstall/ui/test/bin/selenium.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/install/ui/test/bin/selenium.sh b/install/ui/test/bin/selenium.sh
deleted file mode 100755
index bd37238e..00000000
--- a/install/ui/test/bin/selenium.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-TEST_SUITE=$1
-TEST_RESULTS=$2
-
-if [ "$TEST_SUITE" = "" -o "$TEST_RESULTS" = "" ]
-then
- echo "Usage: $0 <test suite> <test results>"
- exit 1
-fi
-
-if [ ! -f "$TEST_SUITE" ]
-then
- echo "Error: Test suite $TEST_SUITE not found."
- exit 1
-fi
-
-PROFILE_DIR="$HOME/.mozilla/firefox"
-PROFILE=`ls "$PROFILE_DIR" | grep .default`
-PROFILE_TEMPLATE="$PROFILE_DIR/$PROFILE"
-
-# Run Selenium Test
-java -Djava.util.logging.config.file=conf/logger.properties\
- -jar /usr/share/java/selenium-server-standalone.jar\
- -firefoxProfileTemplate "$PROFILE_TEMPLATE"\
- -htmlSuite "*firefox" "http://localhost" "$TEST_SUITE" "$TEST_RESULTS"
-
-# Kill Firefox
-ps -ef|grep -i firefox|grep '\-profile'|awk '{print $2;}'|xargs kill