fixes failing team.feature:19 scenario

This commit is contained in:
zmagod 2017-11-09 09:00:00 +01:00
parent e2af987b80
commit f224629259

View file

@ -120,5 +120,6 @@ Then(/^I change "([^"]*)" with "([^"]*)" in "([^"]*)" textarea field$/) do |old_
end
Then(/^I should see "([^"]*)" on "([^"]*)" element$/) do |text, element|
wait_for_ajax
expect(find(element)).to have_content(text)
end