Report Refactor 1: Orders & Distributors

This commit is contained in:
Sebastian Castro
2022-03-27 10:05:14 +00:00
committed by Jean-Baptiste Bellet
parent 01be6fb1f3
commit e20c2e3ced
8 changed files with 21 additions and 38 deletions

View File

@@ -80,7 +80,7 @@ describe '
it "delivery report" do
click_link "Delivery Report"
click_button "Search"
click_button "Go"
rows = find("table.report__table").all("thead tr")
table = rows.map { |r| r.all("th").map { |c| c.text.strip } }
expect(table.sort).to eq([