diff --git a/browser/test/functional/test_multilocus.rb b/browser/test/functional/test_multilocus.rb index e11944d3bf350eb0a4c2bec10d783cd6cb1c70ab..2b2f2979ecbab40a79111648a4825f6736d6d51f 100644 --- a/browser/test/functional/test_multilocus.rb +++ b/browser/test/functional/test_multilocus.rb @@ -199,6 +199,9 @@ class TestMultilocus < BrowserTest name.click $b.until { not $b.tag_item('0')[:name].present? } + # Move the mouse elsewhere + $b.clone_in_scatterplot('77').hover + $b.until {$b.clone_info('25')[:name].style('color') == 'rgba(220, 50, 47, 1)' } end end @@ -374,6 +377,9 @@ class TestMultilocus < BrowserTest $b.clone_info('25')[:star].click $b.element(:id => 'tagElem_0').click + # Move the mouse elsewhere + $b.clone_in_scatterplot('72').hover + $b.until {$b.clone_info('25')[:name].style('color') == 'rgba(220, 50, 47, 1)' } # clone 25 should have changed color assert ( not $b.clone_info('88')[:name].style('color') == 'rgba(220, 50, 47, 1)' ) , "clone 88 (second of the selection) haven't chaged color "