Merge "QA: Simplify toast notification step some more"

This commit is contained in:
jenkins-bot 2017-08-09 21:59:38 +00:00 committed by Gerrit Code Review
commit 4486bb7ba9

View file

@ -39,9 +39,6 @@ end
Then(/^I should see a toast with message "(.+)"$/) do |msg|
on(ArticlePage) do |page|
page.wait_until_rl_module_ready('mediawiki.notification')
page.wait_until do
page.toast_element.when_present.text.include? msg
end
expect(page.toast_element.when_present.text).to match msg
end
end