Commit 63b389c6 authored by Mikaël Salson's avatar Mikaël Salson

browser_test: Test that clone is renamed

Use clone customisation and test it on a real clone in the data.
parent db6fa90f
......@@ -24,6 +24,18 @@ class TestSimple < BrowserTest
assert ($b.graph_x_legend('0').attribute_value('x') > $b.graph_x_legend('1').attribute_value('x'))
end
def test_00_custom_clone
assert ($b.clone_info('0')[:name].text == 'Main ALL clone')
$b.select_tag('0').click
assert (not $b.clone_in_list('0').visible?)
assert (not $b.clone_in_scatterplot('0').visible?)
assert (not $b.clone_in_graph('0').visible?)
$b.select_tag('0').click
end
def test_01_data_loaded
qpcr = $b.external_data('qPCR')
assert (qpcr[:name] == 'qPCR' and qpcr[:value] == 0.83), "qPCR external data not as expected"
......
......@@ -146,8 +146,8 @@ some clones, and added external data (=data=).
"clones": [
{
"id": "clone-845",
"name": "Main LAL clone",
"id": "clone-001",
"tag": "0"
},
{
......
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