features/support/page.rb in druid-ts-1.1.3 vs features/support/page.rb in druid-ts-1.1.4

- old
+ new

@@ -14,10 +14,11 @@ link(:google_search_text, :text => "Google Search") link(:google_search_index, :index => 0) link(:google_search_link, :link => "Google Search") link(:google_search_link_text, :link_text => "Google Search") link(:google_search_css, :css => "a.link_class") + link(:google_search_title, :title => "link_title") link(:hello0, {:text => "Hello", :index => 0}) link(:hello1, {:text => "Hello", :index => 1}) link(:hello2, {:text => "Hello", :index => 2}) text_field(:text_field_id, :id => "text_field_id") @@ -28,10 +29,11 @@ text_field(:text_field_tag_name, :tag_name => "input[type='text']") text_field(:text_field_index, :index => 0) text_field(:text_field_text, :text => "") text_field(:text_field_value, :value => "") text_field(:text_field_title, :title => "text_field_title") + text_field(:text_field_label, :label => "Text Field") text_field(:text_field_class_index, :class => "text_field_class", :index => 0) text_field(:text_field_name_index, :name => "text_field_name", :index => 0) checkbox(:cb_id, :id => "cb_id") checkbox(:cb_name, :name => 'cb_name') @@ -47,10 +49,11 @@ select_list(:select_list_index, :index => 0) select_list(:select_list_name, :name => "sel_list_name") select_list(:select_list_xpath, :xpath => "//select") select_list(:select_list_text, :text => "Test 1") select_list(:select_list_value, :value => "option1") + select_list(:select_list_multiple, :id => "sel_list_multiple") select_list(:select_list_class_index, :class => "sel_list_class", :index => 0) select_list(:select_list_name_index, :name => "sel_list_name", :index => 0) radio_button(:milk_id, :id => 'milk_id') radio_button(:butter_id, :id => 'butter_id') @@ -92,10 +95,11 @@ div(:div_name, :name => "div_name") div(:div_class, :class => 'div_class') div(:div_index, :index => 0) div(:div_xpath, :xpath => '//div') div(:div_text, :text => "page-object rocks!") + div(:div_title, :title => "div_title") div(:div_class_index, :class => "div_class", :index => 0) div(:div_name_index, :name => "div_name", :index => 0) table(:table_id, :id => "table_id") table(:table_class, :class => 'table_class') @@ -118,18 +122,19 @@ span(:span_class, :class => 'span_class') span(:span_index, :index => 0) span(:span_xpath, :xpath => '//span') span(:span_name, :name => 'span_name') span(:span_text, :text => 'My alert') + span(:span_title, :title => 'span_title') span(:span_class_index, :class => "span_class", :index => 0) span(:span_name_index, :name => "span_name", :index => 0) label(:label_id, :id => "label_id") label(:label_name, :name => "label_name") label(:label_class, :class => "label_class") label(:label_text, :text => "page-object is the best!") - label(:label_index, :index => 0) - label(:label_xpath, :xpath => "//label") + label(:label_index, :index => 1) + label(:label_xpath, :xpath => "//label[2]") label(:label_class_index, :class => "label_class", :index => 0) label(:label_name_index, :name => "label_name", :index => 0) image(:image_id, :id => "image_id") image(:image_name, :name => 'image_name')