Commit a452e1f3 authored by Mikael Salson's avatar Mikael Salson

vidjil_browser.rb: Get graph legend

Function to access graph legend (x axis) in the Vidjil browser (for
functional tests)
parent d7e74997
......@@ -73,6 +73,11 @@ class VidjilBrowser < Watir::Browser
return element(extra.merge(:class => 'graph', :id => 'visu2'))
# Return the x legend of the graph (id is a string from 0 to the number of samples - 1)
def graph_x_legend(id, extra = {})
return graph.element(extra.merge(:id => 'time'+id))
def info_segmented
return element(:id => 'info_segmented').span(:index => 1)
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