smarter testing

This commit is contained in:
2015-08-07 12:44:11 +02:00
parent 74ba0dd27d
commit 3aef45a94e
5 changed files with 37 additions and 6 deletions
@@ -156,8 +156,7 @@ step "the supplier main board list total should be updated" do
end
step "the supplier placed orders counter should be reduced" do
sleep 0.8
find('.supplier-orders-placed-count-number').text.should == "10"
expect_that_eventually selector: '.supplier-orders-placed-count-number', has_text: "10"
end
step "confirm the supplier close list modal" do