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
1 changed files with 0 additions and 3 deletions

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