Commit 4df0cf0e authored by Téo Vasseur's avatar Téo Vasseur Committed by Mathieu Giraud

test_analysis-example1.rb : add test_01_double_scatterplot

See #2493
parent 1296bd77
......@@ -15,6 +15,12 @@ class TestSimple < BrowserTest
assert ($b.graph().style('height')=='0px'), "Graph should be hidden"
end
def test_00_double_scatterplot
# analysis-example has only one sample, second scatterplot expected
assert ( $b.div(:id => 'visu', :class => 'scatterplot').exists?), "First scatterplot should be found"
assert ( $b.div(:id => 'visu2', :class => 'scatterplot').exists?), "Second scatterplot should be found"
end
def test_01_legend_scatterplot
assert ($b.scatterplot_x_legend(0).text == "TRGV5"), "First legend should be TRGV5"
assert ($b.scatterplot_y_legend(0).text == "TRGJ1"), "First legend should be TRGJ1"
......
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