Commit bb9c812d authored by Mathieu Giraud's avatar Mathieu Giraud

Merge branch 'feature-c/3701-tested-browsers' into 'dev'

browser/test/tested-browsers: tested browsers in a versioned file

Closes #3701

See merge request !400
parents b2bc16c1 02ca0a24
Pipeline #61924 failed with stages
in 1 minute and 16 seconds
# sh launch_functional_tests functional/test_*rb # sh launch_functional_tests functional/test_*rb
FUNCTIONAL_TESTS=$* FUNCTIONAL_TESTS=$*
BROWSER_LIST=./tested-browsers
rename_reports_in() { rename_reports_in() {
dir="$1" dir="$1"
...@@ -21,14 +22,14 @@ EXIT=0 ...@@ -21,14 +22,14 @@ EXIT=0
if [ -z "$FUNCTIONAL_CLIENT_BROWSER_PATH" ]; then if [ -z "$FUNCTIONAL_CLIENT_BROWSER_PATH" ]; then
FUNCTIONAL_CLIENT_BROWSER_PATH="." FUNCTIONAL_CLIENT_BROWSER_PATH="."
fi fi
for browser in $FUNCTIONAL_CLIENT_BROWSER_PATH; do cat $BROWSER_LIST | while read browser ; do
echo echo
echo "\033[1m\033[33m===== Testing browser: " $browser "\033[0m" echo "\033[1m\033[33m===== Testing browser: " $browser "\033[0m"
echo echo
for file in $FUNCTIONAL_TESTS; do for file in $FUNCTIONAL_TESTS; do
echo "\033[34m===" $file "\033[0m" echo "\033[34m===" $file "\033[0m"
if [ ${#browser} -gt 1 ]; then if [ ${#browser} -gt 1 ]; then
export WATIR_BROWSER_PATH="$browser" export WATIR_BROWSER_PATH="$FUNCTIONAL_CLIENT_BROWSER_PATH/$browser"
fi fi
ruby -I functional $file; ruby -I functional $file;
TMP_EXIT=$? TMP_EXIT=$?
......
firefox/v32/firefox
firefox/v45/firefox
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment