Attention une mise à jour du serveur va être effectuée le vendredi 16 avril entre 12h et 12h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit d4a7c238 authored by Mikaël Salson's avatar Mikaël Salson

vidjil_browser.rb: Rename scatteplot in scatterplot_axis

The name makes more sense. Another function scatterplot will allow
to get the scatterplot itself.
parent 48b53b40
......@@ -172,7 +172,7 @@ class VidjilBrowser < Watir::Browser
# Return the element corresponding to the x axis of the scatterplot
def scatterplot_x
return scatterplot('x')
return scatterplot_axis('x')
end
# Return the element corresponding to the legend of the x axis of the scatterplot
......@@ -182,7 +182,7 @@ class VidjilBrowser < Watir::Browser
# Return the element corresponding to the x axis of the scatterplot
def scatterplot_y
return scatterplot('y')
return scatterplot_axis('y')
end
# Return the element corresponding to the legend of the y axis of the scatterplot
......@@ -302,12 +302,12 @@ class VidjilBrowser < Watir::Browser
return 'bot-container'
end
def scatterplot(axis)
def scatterplot_axis(axis)
return element(:id => scatterplot_id+'_'+axis+'_container')
end
def scatterplot_legend(axis, index)
return scatterplot(axis).element(:class => 'sp_legend', :index => index)
return scatterplot_axis(axis).element(:class => 'sp_legend', :index => index)
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