Commit b2e644e4 authored by flothoni's avatar flothoni

Update functionnal tests; Now the default positon after analysis loading is...

Update functionnal tests; Now the default positon after analysis loading is the first sample of the order list
And not pos 0 as before
Link to #4354
parent 313def56
Pipeline #152509 passed with stages
in 14 minutes and 30 seconds
......@@ -20,6 +20,10 @@ class TestCluster < BrowserTest
end
def test_00_list_clones
# change current sample to start on sample 0 (second in loaded order)
$b.send_keys :arrow_right
$b.update_icon.wait_while(&:present?)
assert ($b.div(:id => 'cluster1').exists? ), '>> cluster1 exist'
assert (not $b.clone_cluster('1').present?), '>> cluster1 is not display'
end
......
......@@ -20,7 +20,10 @@ class TestList < BrowserTest
end
def test_00_list_clones
# change current sample to start on sample 0 (second in loaded order)
$b.send_keys :arrow_right
$b.update_icon.wait_while(&:present?)
# declare variables
$lock = $b.listLock()
$listClone = $b.list()
......
......@@ -15,6 +15,10 @@ class TestLoadingAnalysis < BrowserTest
end
def test_001_name
# change current sample to start on sample 0 (second in loaded order)
$b.send_keys :arrow_right
$b.update_icon.wait_while(&:present?)
assert ($b.graph_x_legend('0').text == '2019-12-17')
assert ($b.graph_x_legend('1').text == '+10')
......
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