Refactor and implement order buttons on supplier list view

This commit is contained in:
2015-02-22 10:03:53 +01:00
parent 0ccfe07e13
commit 755690131c
24 changed files with 40 additions and 171 deletions
@@ -49,12 +49,12 @@ end
step "I click on the mark list as helped in the section table popup as supplier" do
# btn = page.find(".list-is-helped-button-#{@list.id}")
page.find(".section-table-#{@table.id} .mark_list_as_helped").click
page.find(".section-table-#{@table.id} .mark-list-as-helped-button").click
# btn.click
end
step "the section table popup should no longer have the mark list as helped button" do
page.should_not have_selector(".section-table-#{@table.id} .mark_list_as_helped")
page.should_not have_selector(".section-table-#{@table.id} .mark-list-as-helped-button")
end
step "I click on the close list button in the section table table popup" do