Fixed all specs except signup flow

This commit is contained in:
2015-02-20 20:52:44 +01:00
parent d9e69beb5f
commit 9eb4f8ee9a
18 changed files with 42 additions and 59 deletions
@@ -111,10 +111,13 @@ 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(%|.sections-header-container [data-section="#{@section.id}"] .section-header-title|).click
end
step "I click on the section main board section again" do
step "I select the section in the supplier dashboard"
end
step "I select the other section in the supplier dashboard" do
# find(%|.section_selector option[value="#{@other_section.id}"]|).select_option
find(%|.sections-header-container [data-section="#{@other_section.id}"] .section-header-title|).click
@@ -125,11 +128,6 @@ step "I reset the section selector in the supplier dashboard" do
find(%|.sections-header-container [data-section="all"] .section-header-title|).click
end
step "I click on the section main board section jumper" do
# find('.main-board-section-jumper').click
find(%|.sections-header-container [data-section="#{@section.id}"] .section-jumper|).click
end
step "the active list changes to another table in another section" do
step "the list changes to another table"
end