Supplier main board section selector

This commit is contained in:
2013-12-11 18:31:32 +01:00
parent 8aede39b27
commit 391c8a7613
15 changed files with 58 additions and 18 deletions
@@ -108,12 +108,12 @@ step "I should see the new list and new order but not the list and order" do
end
step "I select the section in the supplier dashboard" do
find(%|#section_selector option[value="#{@section.id}"]|).select_option
find(%|.section_selector option[value="#{@section.id}"]|).select_option
end
step "I select the new section in the supplier dashboard" do
find(%|#section_selector option[value="#{@new_section.id}"]|).select_option
find(%|.section_selector option[value="#{@new_section.id}"]|).select_option
end
step "I reset the section selector in the supplier dashboard" do
find(%|#section_selector option[value=""]|).select_option
find(%|.section_selector option[value=""]|).select_option
end