Commit ca7bdc30 authored by Mathieu Giraud's avatar Mathieu Giraud

Merge branch...

Merge branch 'feature-c/4466-watir-parametre-pour-laisser-ouvert-le-navigateur-apres-une-serie-de-test' into 'dev'

Resolve "Watir, paramètre pour laisser ouvert le navigateur après une serie de test"

Closes #4466

See merge request !794
parents 26ee05b8 3f349878
Pipeline #168490 failed with stages
in 21 minutes and 11 seconds
......@@ -8,7 +8,7 @@ headless:
HEADLESS=1 $(MAKE) external
functional: ../../doc/analysis-example1.vidjil ../../tools/tests/data/fused_multiple.vidjil
sh launch_functional_tests $(BROWSERS) functional/test_*rb functional/issues/test_*rb
KEEPOPEN=0 sh launch_functional_tests $(BROWSERS) functional/test_*rb functional/issues/test_*rb
external: ../../doc/analysis-example1.vidjil
sh launch_functional_tests $(BROWSERS) functional/external_test_*rb
......
......@@ -99,11 +99,13 @@ class BrowserTest < MiniTest::Test
def close_everything
if defined? $b
if ENV['HEADLESS']
$headless.destroy
else
$b.close
end
if ENV['HEADLESS']
$headless.destroy
else
if ENV['KEEPOPEN'] == "0"
$b.close
end
end
end
end
......
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