mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-24 22:25:27 +00:00
Merge "QA: Simplify toast notification step some more"
This commit is contained in:
commit
4486bb7ba9
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue